Error building ios with cordova

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

    If you are missing the icon you can run the command

    ionic resources --icon
    

    This will generate all the icons with the pixels needed to run on any device.

    To simulate on the device you first need to

    ionic build ios
    

    and then

    ionic simulate ios
    

    It is also a good practice to have xcode up to date.

    If you are still getting the error you can paste this line

    "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
    

    on Build Settings > Header Search Paths. Do not remove the similar line, just add it at the end.

提交回复
热议问题