我在 Swift 2.0 for iOS 9 上的项目(Xcode build 7A220)我尝试将构建上传到 iTunesConnect 以进行 TestFlight,但上传几分钟后我收到一封电子邮件:
Invalid Swift Support - The files libswiftCoreAudio.dylib, libswiftCoreMedia.dylib, libswiftAVFoundation.dylib don’t match /Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib, /Payload/MyApp.app/Frameworks/libswiftAVFoundation.dylib. Make sure the files are correct, rebuild your app, and resubmit it. Don’t apply post-processing to /Payload/MyApp.app/Frameworks/libswiftCoreAudio.dylib, /Payload/MyApp.app/Frameworks/libswiftCoreMedia.dylib, /Payload/MyApp.app/Frameworks/libswiftAVFoundation.dylib. Once these issues have been corrected, you can then redeliver the corrected binary.
这是什么意思?请帮忙。
你使用 CocoaPods 吗?
如果您使用的是 Swift pod,问题可能来自它。要修复它,您可以编辑 Pods/Target Support Files/Pods/Pods-frameworks.sh 并在之后评论 block
# Embed linked Swift runtime libraries
更多信息:
问题:github.com/CocoaPods/CocoaPods/issues/4188
关于ios - 无效的 Swift 支持 - 适用于 iOS 9 的 Swift 2.0 项目,(Xcode build 7A220),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32709845/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |