 |
| Dear Developer, We identified one or more issues with a recent delivery for your app, "智能库房". Please correct the following issues, then upload again. Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it. |
本来是纯OC写的项目,不知道为什么会出现要求swift支持库。
经过几天的查找资料和测试,发现swift的支持库都是dylib文件。
项目里的target的embedded binaries里加了第三方动态库dylib。
所以这次出现这个报错的原因就是在embedded binaries加了dylib文件。在这里加,会在生成的ipa里的Frameworks目录下出现这些库文件。可能是被苹果认为这些库和swift有关所以才要求swift support。
最后的解决办法是让厂家那边重新生成动态库,以framework的方式打包,而不是用dylib来。 |