3
由於我已從Cordova 6.0.0升級到6.4.0的最新版本,因此我無法成功構建。在使用cordova-cli構建iOS平臺時出現錯誤
我的過程如下:
cordova platform rm ios
cordova platform add https://github.com/apache/cordova-ios.git
cordova build --buildConfig=build.json ios --device
我不能因爲我的項目不支持插件的一個建設一個仿真器。
我build.json文件看起來如下:
{
"ios": {
"debug": {
"codeSignIdentity": "iPhone Developer",
"provisioningProfile": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"developmentTeam": "xxxxxxxxxx",
"packageType": "development"
}
}
}
我得到的錯誤是:
Check dependencies
Bio-Oil Verify requires a provisioning profile. Select a provisioning profile for the "Debug" build configuration in the project editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.1'
至於我的調查顯示,我這是建立正確的方法與最新版本的cordova-ios。
我的設置如下:
sw_vers -productVersion(Mac version) 10.12.1
cordova -v 6.4.0
ios-deploy -V 1.9.0
cordova platform list 4.4.0-dev
/usr/bin/xcodebuild -version Xcode 8.1
任何人都可以揭示什麼我失蹤這裏一些輕?
據我所知,讓xcode自動簽署你的應用程序意味着你的構建配置將被忽略? – skepticscript
你可以提供給我你的構建過程和您正在使用的版本,就像我上面展示的那樣? – skepticscript