Ionic ios build fails, error archive not found

后端 未结 6 752
礼貌的吻别
礼貌的吻别 2020-12-07 15:44

I\'ve been trying to figure this out, but there doesn\'t seem to be any light at the end of the tunnel, thus trying it here...hope you can help.

I have an Ionic proj

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 16:14

    Currently cordova-ios is not compatible with Xcode 10

    You can try to disable the new build system that Xcode 10 uses and use the old one by adding this to your build.json file

    "buildFlag": [
      "-UseModernBuildSystem=0"
    ]
    

    or adding --buildFlag="-UseModernBuildSystem=0" to the build command

    The full command should be cordova build ios --buildFlag="-UseModernBuildSystem=0".

    Or for Ionic ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

提交回复
热议问题