我有一個奇怪的問題,從來沒有發生過我之前。當我嘗試提交我的Xcode8(Swift3)項目的AppStore後,我選擇和確認的組織,Xcode的碰撞與奇怪的問題報告,上面寫着:Xcode 8在提交App Store時崩潰
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"
同樣的問題,我轉換爲swift 3和xcode 8的項目。你是否也在你的項目中使用Carthage或其他框架? – Bjarte
@Bjarte我使用Cocoapods –
我用修正更新了我的答案 –