當試圖建立我的離子應用的iOS版本,它一直與下面的消息無法建立離子/科爾多瓦的iOS由於與權利文件或供應曲線
=== BUILD TARGET tlpApp OF PROJECT tlpApp WITH CONFIGURATION Debug ===
Check dependencies
Automatic signing is unable to resolve an issue with the "tlpApp" target's
entitlements file. Remove the entitlements or switch to manual signing and
resolve the issue by downloading a provisioning profile from the developer
website.
Provisioning profile "iOS Team Provisioning Profile: com.ionicframework.tlpapp360156"
doesn't include the aps-environment entitlement.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/kenkern/Workspaces/tlp/tlp2/tlp-ionic/platforms/ios/cordova/build-debug.xcconfig,-workspace,tlpApp.xcworkspace,-scheme,tlpApp,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,tlpApp.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/kenkern/Workspaces/tlp/tlp2/tlp-ionic/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/kenkern/Workspaces/tlp/tlp2/tlp-ionic/platforms/ios/build/sharedpch
此消息出現失敗的問題當運行「ion build ios」或「cordova build ios」命令時。我可以模擬應用程序就好(「離子模擬ios」)。當我嘗試將其構建到實際設備時(例如連接到我的mac的ipad),我也會在XCode中收到相同的消息。
首先,我不知道我理解這意味着什麼或者「刪除的權利」或「切換到手動簽署和通過下載從開發商網站供應配置文件解決問題」。
更大的問題我也就是爲什麼我能當我創建像這樣的模板簡單離子的應用程序建立到iOS就好了?
ionic start cutePuppyPics --v2
cd cutePuppyPics
ionic build ios --prod
你有沒有解決這個問題?我遇到了這個問題。看起來,因爲我使用的是推送,自動簽名不起作用(儘管它正在爲另一個項目工作,因爲在某個位置爲應用程序ID指定了一個特定的團隊配置文件)。同樣,即使我在build.json中指定了配置文件GUID,cordova仍會創建啓用了自動簽名的項目。 –