Error building ios with cordova

后端 未结 17 1581
-上瘾入骨i
-上瘾入骨i 2021-02-03 22:32

I have a problem when I build the ios platform with cordova. I have all the certificates for the app and device, but when I try to run in my ios device, doing ionic run ios, the

17条回答
  •  不知归路
    2021-02-03 23:24

    You just need to update the cordova to fix this error: to update the cordova run below command

    $sudo npm install -g cordova@6.2.0
    

    once you update the cordova type below command to remove the platform

    $sudo ionic cordova platform rm ios --save
    

    And then add platform again using below command

    $sudo ionic cordova platform add ios --save
    

    I hope this will help you.

提交回复
热议问题