Xcode 7.0.1 – 无效的快速支持 – cocoapods如何修复?
不幸的是升级了xcode,现在被困在地狱里。
Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
我猜cocoapods是罪魁祸首,因为我已成功将另一个应用程序上传到不使用cocoapods的testflight。
这是如何解决的?
- 我将嵌入式内容包含Swift代码设置为是
- 我已经尝试了一个建议的解决方案,在Pods-frameworks.sh中注释了几行,这里提出了无效的Swift支持/ swift的无效实现
那没用
我的Podfile内容:
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'Alamofire', '~> 2.0' pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
好吧,在Apple开发者论坛上,我找到了这篇文章。 基本上,有些人发现在他们的.plist文件中添加这些东西修复了这个问题:
ApplicationProperties ApplicationPath Applications/<>.app CFBundleIdentifier <> CFBundleShortVersionString <> CFBundleVersion <> SigningIdentity iPhone Distribution: <> (<>)
如果您有一个旧的,有效的存档,您可以从那里复制值,只需更改营销版本和内部版本号。
然后,重新启动Xcode。
如果这没有帮助,有关此 开发者表格post的更多信息。