【发布时间】:2016-04-03 09:33:51
【问题描述】:
我有一个使用 Swift 2.1.1 和 Xcode 7.2 开发的 iOS 应用程序。该应用程序运行完美,Xcode 毫无问题地创建了一个存档,但在将其上传到应用商店 (iTunes Connect) 后,我收到以下错误:
错误 ITMS-90207:“捆绑包无效。'My App Name.app' 处的捆绑包 不包含捆绑可执行文件。”
我尝试了任何我能找到的建议,但没有任何改进。我该如何解决这个问题?我怎样才能找到原因?有解决办法吗?
我在 CocoaPods 中使用了几个库,我的 Podfile:
platform :ios, '8.0'
use_frameworks!
target 'My App Name' do
pod 'RealmSwift'
pod 'SwiftDateExtension'
pod "JDFTooltips"
end
target 'My App NameTests' do
pod 'RealmSwift'
end
我的 Info.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Text removed</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Text removed</string>
<key>UILaunchStoryboardName</key>
<string>Launch Screen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
我尝试了我能找到的任何建议,包括:
【问题讨论】:
-
有趣好玩。做了一个全新的项目,小心地将所有文件移到其中,然后在 podfile 的副本上运行另一个
pod install。存档和上传后出现同样的问题,因此不太可能是配置错误。现在考虑我的下一步,可能会创建另一个新项目,只需将其发送到 iTunes Connect 以查看是否是 Xcode 7.2、CocoaPods 或其他问题。
标签: ios xcode app-store app-store-connect