Hello together,
i’m having trouble while creating an IPA of an IONIC4 Angular App.
ng build works
ionic cordova build ios works
ionic cordova build ios --prod --release works
I Have two build machines, machineA creates a IPA with --prod --release and the other one creates just a emulator app-bundle
machineA:
Ionic:
Ionic CLI : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 21 other plugins)
Utility:
cordova-res (update available: 0.9.0) : 0.6.0
native-run : 0.3.0
System:
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v10.15.3 (/usr/local/bin/node)
npm : 6.11.2
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C504
machineB:
Ionic:
Ionic CLI : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 21 other plugins)
Utility:
cordova-res : not installed
native-run : 0.3.0
System:
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v12.16.1 (/usr/local/bin/node)
npm : 6.14.1
OS : macOS Catalina
Xcode : Xcode 11.3.1 Build version 11C505
On both machines i selected the certificates in xcode and i can archive the app with generic device and generic device is selected.
The Problem: while ionic cordova build ios --prod --release its only working on machineA.
After ng build phase there is a small difference
machineA
building project: /Users/…xcworkspace
Configuration: Release
Platform: device
Target:
machineB
No simulator found for ". Falling back to the default target
building project: /Users/…xcworkspace
Configuration: Release
Platform: emulator
Target: iPhone 11 Pro Max
Does anybody know how to change this or why this is happening?
Kind regards