Xcode not generating app with latest changes

2019-08-24 02:34发布

My latest changes in Ionic app are not reflected on simulator or in ipa file which i am generating with xcode 10.

I tried many solution like removed build folder, remove ios folder from platform and add it again but none of works.

Any one has idea what might be problem is ?

2条回答
Melony?
2楼-- · 2019-08-24 03:06

For Xcode 10 you likely will need to force the use of the legacy build system. This is described in this blog post.

Summary: Create a build.json file in the root of your project with the following contents:

{
  "ios": {
    "debug": {
      "buildFlag": [
        "-UseModernBuildSystem=0"
      ]
    },
    "release": {
      "buildFlag": [
        "-UseModernBuildSystem=0"
      ]
    }
  }
}
查看更多
▲ chillily
3楼-- · 2019-08-24 03:09

Only use these commands

cordova clean 

and

npm run clean
查看更多
登录 后发表回答