gpt4 book ai didi

ios - 提交 App Store 时 Xcode 8 崩溃

转载 作者:可可西里 更新时间:2023-11-01 03:34:07 24 4
gpt4 key购买 nike

我遇到了一个以前从未发生过的奇怪问题。当我尝试将我的 Xcode8 (Swift3) 项目提交到 AppStore 时,在我选择并确认组织后,Xcode 崩溃并出现奇怪的问题报告:

2016-09-17 12:32:29.604 xcodebuild[4347:14903] [MT] IDEDistribution: - [IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at   path '/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/Degoo-iOS_2016-09- 17_12-32-29.600.xcdistributionlogs'.
2016-09-17 12:32:31.335 xcodebuild[4347:14903] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks- 11246/IDEFoundation/Distribution/IDEDistributionSummaryStep.m:213
Details: A method claimed to have succeeded but provided an error!
Object: <IDEDistributionSummaryStep>
Method: +_distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:ar chive:withError:
Thread: <NSThread: 0x7ff94ac07fe0>{number = 1, name = main}
Hints: None
Backtrace:
0 -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:message Format:arguments:] (in DVTFoundation)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 +[IDEDistributionSummaryStep _distributionItemsWithoutBitcodeForPlatforms:flattenedDistributionItems:archive:withError:] (in IDEFoundation)
4 -[IDEDistributionSummaryStep distributionItemsWithoutBitcodeForPlatforms:withError:] (in IDEFoundation)
5 -[IDEDistributionSummaryStep loadFromPropertyList:error:] (in IDEFoundation)
6 -[IDEDistributionDriver runWithDestinationPath:error:] (in IDEFoundation)
7 -[Xcode3CommandLineBuildTool _distributeArchiveAndExit] (in Xcode3Core)
8 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
9 0x00000001047bb202 (in xcodebuild)
10 start (in libdyld.dylib)

我也尝试过使用 bitrise 上传应用程序,但我也失败了,但至少我知道了更多。在上面的崩溃日志之前的 xcodebuild 回溯下方:

** ARCHIVE SUCCEEDED **


Generating exportOptionsPlist...
Using plist 3.1.0
Using bundler 1.13.1
Bundle complete! 1 Gemfile dependency, 2 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

Configs:
* export_options_path: /Users/vagrant/deploy/export_options.plist
* archive_path: /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise- xcarchive.akKFUHmn/MyApp-iOS.xcarchive
* export_method: app-store
* upload_bitcode: yes
* compile_bitcode: yes
* team_id:
* plist_content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>uploadBitcode</key>
<true/>
</dict>
</plist>

Exporting IPA from generated Archive...
$ xcodebuild -exportArchive -archivePath "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise- xcarchive.akKFUHmn/MyApp-iOS.xcarchive" -exportPath "/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/bitrise-xcarchive.Jj61X7yX" -exportOptionsPlist "/Users/vagrant/deploy/export_options.plist"

最佳答案

我在这个问题上花了几个小时,没有任何线索。我决定从一个空白项目重新开始,向后移植我的所有文件(项目文件除外)+重做配置。我花了 2 个小时,但问题现在已经解决了。

关于ios - 提交 App Store 时 Xcode 8 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39551073/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com