Error building ios with cordova

后端 未结 17 1582
-上瘾入骨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:32

    It's likely that your resources haven't been run.

    Run:

    npm i -g cordova-ionic platform rm ios
    ionic platform rm ios // You want to do this just so when you recreate you have necessary resouces
    ionic cordova resources
    ionic cordova build --release 
    

    There should be more answers with this solution, since ionic is a project based on npm and this command will install the necessary libraries.

提交回复
热议问题