0
我正在使用腳本來構建和存檔iOS應用程序。xcode 9在exportOptions中強制自動簽名方法
2017-10-20 12:56:12.322 xcodebuild[25449:77625] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fc927c861b0>: Error Domain=IDEDistributionSigningAssetStepErrorDomain Code=0 "Locating signing assets failed." UserInfo={NSLocalizedDescription=Locating signing assets failed., IDEDistributionSigningAssetStepUnderlyingErrors=(
"Error Domain=IDEProvisioningErrorDomain Code=9 \"\"CC.app\" requires a provisioning profile with the Push Notifications and App Groups features.\" UserInfo={NSLocalizedDescription=\"CC.app\" requires a provisioning profile with the Push Notifications and App Groups features., NSLocalizedRecoverySuggestion=Add a profile to the \"provisioningProfiles\" dictionary in your Export Options property list.}",
我使用以下exportOptions.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>method</key>
<string>ad-hoc</string>
<key>teamID</key>
<string>xxxxxxx</string>
<key>uploadBitcode</key>
<false/>
<key>uploadSymbols</key>
<false/>
</dict>
</plist>
,我不想指定供應配置文件,自動:因爲Xcode的9 現在,我收到以下錯誤所有工作正常功能工作正常,如果我存檔使用xcode,而不是命令行。
有什麼建議嗎? 謝謝