ios - iTunes 连接 : Invalid Swift Support - framework doesn’t have the correct file type for this location

标签 ios swift cocoapods

我目前正在使用 Xcode 7.1.1 将我的应用上传到应用商店

但是当我上传我的应用程序时,我收到了来自 Apple 的电子邮件。

Dear developer,
We have discovered one or more issues with your recent delivery for "****".     
To process your delivery, the following issues must be corrected:
Invalid Swift Support - The file     
****.app/Frameworks/JSQSystemSoundPlayer.framework, 
****.app/Frameworks/JLToast.framework, 
****.app/Frameworks/SwiftyJSON.framework,         
****.app/Frameworks/JSQMessagesViewController.framework doesn’t have the
correct file type for this location. Ensure you’re using the correct
file,rebuild your app using the current public (GM) version of Xcode, and resubmit it.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team

我正在使用 Cocoapods。这是我的播客文件

platform :ios, '8.0'
use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'

target 'TwinsChauffeur' do
pod 'GoogleMaps'
use_frameworks! pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
use_frameworks! pod 'JLToast', '~> 1.3'
pod 'Google/CloudMessaging'
use_frameworks! pod 'JSQMessagesViewController'
pod 'IgaworksCore'
pod 'AdPopcornOfferwall'
end

我的项目是 Swift

还有 pods 框架名称为红色 正常吗?

red framework image

最佳答案

自己解决。 太愚蠢了。 更改产品名称后只有英文。 解决所有问题。 标记为红色的 pod 框架是正常的。

关于ios - iTunes 连接 : Invalid Swift Support - framework doesn’t have the correct file type for this location,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33969268/

相关文章:

升级 Mac OS X EL Capitan 后 CocoaPods 无法工作

ios - 如何从我的 podfile 中找到 GitHub 项目?

ios - 使用参数生成 NSString 时在 Release模式下崩溃

ios - 通过 POST 方法的 Alamofire NSURLRequest 不起作用

ios - 如何从单个tableViewcell中获取多个按钮?

swift:通过引用传递

ios - UINavigationBar的完全自定义

ios - El Capitan 和 Xcode 7.1 的更新给了我可怕的默认转换

ios - Swift 3 操纵 UICollectionViewCell 大小?

xcode - Pods 作为 'libPods.a' 的隐式依赖项被拒绝,因为其架构 'XXX' 不包含所有必需的架构