Missinig provisoning profile error when building an ios ionic app using xcode 10 Missinig provisoning profile error when building an ios ionic app using xcode 10 xcode xcode

Missinig provisoning profile error when building an ios ionic app using xcode 10


Currently the best workaround is to opt-out of the new build system:

If you're building on the command-line, you can specify --buildFlag="-UseModernBuildSystem=0":

Cordova CLI

cordova run ios --buildFlag='-UseModernBuildSystem=0'cordova build ios --buildFlag='-UseModernBuildSystem=0'

Ionic CLI

ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0"ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"

If you're building with a build.json config file, you can add the following under the iOS release or debug config:

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

If you are opening the project in the Xcode IDE, you need to change the build system in Workspace Settings to "Legacy Build System"enter image description hereenter image description here

Solution from hereWorked For Me. Cheers.


https://github.com/apache/cordova-ios/issues/407 has an answer, \just build with the --buildFlag="-UseModernBuildSystem=0" and adjust project settings to build using legacy mode.


It seems like this issue has been resolved with the release of cordova ios 5.0.0 ( https://cordova.apache.org/announcements/2019/02/09/cordova-ios-release-5.0.0.html ) - they added compatibility with the modern build system