ERROR ITMS-90207 Apple Store Submisson

Bog*_*ogy 9 xcode publishing ios

当我在模拟器或设备上运行它时,我的应用程序运行正常(用于调试和发布构建配置).但是当我尝试将我的应用程序提交到Apple Store时,我收到以下错误:

ERROR ITMS-90207:"无效的捆绑包.'APPNAME.app'的捆绑包不包含捆绑可执行文件."

我尝试使用Xcode和Application Loader上传档案,但没有成功.

在此输入图像描述

我已经尝试了本主题中的一些解决方案(Xcode App Submisson ERROR ITMS-90207:"无效的捆绑包")但它们都不适用于我的项目:

  • CFBundleExecutable在我的plist文件中声明为$(EXECUTABLE_NAME)
  • 我试图禁用Bitcode
  • 我试图删除所有CFBundleExecutable表单Pods plist文件(只保留目标的plist中的一个)

也许这个错误与Xcode版本有关...我的mac正在运行macOS Sierra版本10.12.6 Beta(16G8c),Xcode版本8.3.2(8E2002)和Application Loader版本3.0(620).

欢迎任何帮助.

UDPATE:

我尝试使用Xcode 8.2,我有同样的错误.

这是我的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>CFBundleAllowMixedLocalizations</key>
    <true/>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleDisplayName</key>
    <string>APPNAME</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>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb000000</string>
            </array>
        </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>639</string>
    <key>FacebookAppID</key>
    <string>000000</string>
    <key>FacebookDisplayName</key>
    <string>APPNAME</string>
    <key>FirebaseAppDelegateProxyEnabled</key>
    <false/>
    <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>fbapi</string>
        <string>fb-messenger-api</string>
        <string>fbauth2</string>
        <string>fbshareextension</string>
    </array>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSCameraUsageDescription</key>
    <string>Description...</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Description...</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Description...</string>
    <key>UIBackgroundModes</key>
    <array>
        <string>location</string>
    </array>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
    </array>
    <key>UIStatusBarTintParameters</key>
    <dict>
        <key>UINavigationBar</key>
        <dict>
            <key>Style</key>
            <string>UIBarStyleDefault</string>
            <key>Translucent</key>
            <false/>
        </dict>
    </dict>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
</dict>
</plist>
Run Code Online (Sandbox Code Playgroud)

UDPATE 2:

我设法使用Xcode 8.2.1从另一个mac发布存档.我在我的Mac上尝试使用Xcode版本8.2和8.2.1,但我仍然有同样的错误.我也尝试过Application Loader版本3.0和3.6,没有成功......所以看起来,问题来自我的mac.我不知道该怎么做.

Bog*_*ogy 3

我已经联系了 Apple 开发者技术支持,正如 @Larme 在上面的评论中建议的那样,该错误是由于我的 macOS 测试版造成的。

\n\n

以下是完整的 Apple 支持答案:

\n\n
\n

我查看了您提供的出现问题的 .ipa,并将其与提交到 App Store 的那个 \xc2\xa0successively\xc2\xa0 进行了比较。给您带来麻烦的版本是在 macOS 测试版上构建的,\n 不支持分发。发布到 App Store 的应用程序需要针对 GM 版本的 macOS 进行构建,并使用 GM 版本的 Xcode,并使用 GM 版本的 iOS SDK。

\n\n

通常,使用任何测试版软件提交的应用程序都会收到一条消息,\n 表明存在此问题,而您收到的消息\n 是\xc2\xa0completely\xc2\xa0misleading。

\n
\n\n

我将填写错误报告者表格来报告此错误。
\n感谢大家的帮助。

\n