Reputation: 11
I am facing issues in generating .IPA using ionic v4 with below command:
ionic cordova build ios --prod --release --provisioningProfile=“****” --developmentTeam="***" --codeSignIdentity=“iPhone Distribution” --packageType=“enterprise”
Its creating .app file inside /Users/project/platforms/ios/build/emulator , but not .ipa
version installed: ionic : 4.2.1 cordova : 8.1.2 ([email protected])
Any suggestions would be highly appreciated.
Upvotes: 1
Views: 300
Reputation: 2435
Please follow the next checklist:
You may try forcing to use the old one by:
ionic cordova build ios --prod --release --provisioningProfile=“****” --developmentTeam="***" --codeSignIdentity=“iPhone Distribution” --packageType=“enterprise” --buildFlag='-UseModernBuildSystem=0'
However it has failed for me due the lack of support of Cordova and own XCODE bugs.
My recommendation is to issue:
ionic cordova build ios --prod --buildFlag='-UseModernBuildSystem=0'
Open the .xcodeproject generated in XCODE.
Try using XCODE from that point. You'll find several Pitfalls, most of them answered here.
Hope it helps!
Upvotes: 1