Description:
On a brand new generated ionic app, I can't deploy it on a real iOS device : the build passes, but in the end I get a pop-up saying
The executable was signed with invalid entitlements.
Steps to Reproduce:
Launch :
ionic start myApp tabs
cordova build ios --buildFlag='-UseModernBuildSystem=0'
Then try to launch it on an iOS device
Output:
The executable was signed with invalid entitlements.
The entitlements specified in your application鈥檚 Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
My ionic info:
Ionic:
ionic (Ionic CLI) : 4.2.1 (/Users/engu/.nvm/versions/node/v9.4.0/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 ([email protected])
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 4 other plugins)
System:
ios-deploy : 2.0.0
NodeJS : v9.4.0 (/Users/engu/.nvm/versions/node/v9.4.0/bin/node)
npm : 6.4.1
OS : macOS
Xcode : Xcode 10.0 Build version 10A255
This is linked to XCode 10 not being supported.
It can be solved by choosing "Legacy build system" in XCode project's settings, see here: https://github.com/apache/cordova-ios/issues/407
Most helpful comment
This is linked to XCode 10 not being supported.
It can be solved by choosing "Legacy build system" in XCode project's settings, see here: https://github.com/apache/cordova-ios/issues/407