Cordova 打包 iOS APP 時遇到 Check dependencies 錯誤


錯誤訊息:Check dependencies
XXX has conflicting provisioning settings. XXX is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor. Code signing is required for product type 'Application' in SDK 'iOS 10.2'



解決方法
  1. 點一下左側專案
  2. General > Automatically manage signing(取消選取)
  3. Build Settings > Code Signing Identity 選擇 iOS Developer
  4. 開啟上方工具列的 Product > Clean (按下後, 錯誤就消失了)
  5. General > Automatically manage signing(選取)

留言

這個網誌中的熱門文章

Android WebView 發生跑版

Entity Delete 因為實體未公開其關聯性的外部索引鍵屬性而發生錯誤

OS X Yosemite 10.10.1 + Apache + PHP + MariaDB