2
我在爲Ad Hoc發佈導出iPhone存檔時遇到問題。 閱讀另一個討論,它似乎是證書或分發配置文件問題。所以我創建了一個新的證書和一個新的發佈配置文件並刪除了舊的,但它沒有解決問題:Xcode仍然崩潰。Xcode 6.1.1崩潰導出Ad Hoc ipa
這裏的問題的第一線:
Process: Xcode [380]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1.1 (6611)
Build Info: IDEFrameworks-6611000000000000~4
App Item ID: 497799835
App External ID: 810788292
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [380]
User ID: 501
Date/Time: 2015-01-06 17:57:35.836 +0100
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Anonymous UUID: 80C884D6-4BDC-3E20-850A-44F38C3E5491
Time Awake Since Boot: 260 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A2008a
ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-6611/IDEFoundation/Distribution/IDEDistributionProvisioning.m:34
Details: Assertion failed: [rootDistributionItems count] > 0
Object: <IDEDistributionProvisioning: 0x7fbdb6ed49d0>
Method: -initWithRootDistributionItems:distributionMethod:teamID:codesignableDevicesOrNil:logging:
Thread: <NSThread: 0x7fbdb24389c0>{number = 1, name = main}
Hints: None
的 「斷言失敗:[rootDistributionItem計數> 0」 暗示我,Xcode是無法找到的分佈形狀。有人遇到同樣的問題嗎?
而且,我試圖在終端使用命令導出IPA:
xcodebuild -exportArchive -archivePath 'AppName 06-01-15 17.49.xcarchive' -exportPath AppName -exportFormat ipa -exportProvisioningProfile "AppName_AdHoc"
國際音標成功生成,但如果我嘗試使用iTunes在我的iPhone安裝,它一直在「安裝...」
任何幫助,將不勝感激 謝謝你提前