Open Mathias-seemyapps opened 5 years ago
Build the app itself is successful ionic cordova build ios --aot --prod --release But when I open the project in xcode I get this error:
ionic cordova build ios --aot --prod --release
Unsupported Swift Version The target “my app” contains source code developed with Swift 2.x. This version of Xcode does not support building or migrating Swift 2.x targets. Use Xcode 8.x to migrate the code to Swift 3.
Unsupported Swift Version
The target “my app” contains source code developed with Swift 2.x. This version of Xcode does not support building or migrating Swift 2.x targets.
Use Xcode 8.x to migrate the code to Swift 3.
I've tried to update the swift file from this repo like some other suggest and it still not working. I have no clue what to do, can someone help.
Thank You
Ionic:
ionic (Ionic CLI) : 4.5.0 (/Users/dev/.nvm/versions/node/v8.11.3/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0 Cordova Platforms : ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 10 other plugins)
System:
NodeJS : v8.11.3 (/Users/dev/.nvm/versions/node/v8.11.3/bin/node) npm : 5.6.0 OS : macOS Mojave Xcode : Xcode 10.1 Build version 10B61
Same issue here
Build the app itself is successful
ionic cordova build ios --aot --prod --release
But when I open the project in xcode I get this error:I've tried to update the swift file from this repo like some other suggest and it still not working. I have no clue what to do, can someone help.
Thank You
Ionic:
ionic (Ionic CLI) : 4.5.0 (/Users/dev/.nvm/versions/node/v8.11.3/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0 Cordova Platforms : ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 10 other plugins)
System:
NodeJS : v8.11.3 (/Users/dev/.nvm/versions/node/v8.11.3/bin/node) npm : 5.6.0 OS : macOS Mojave Xcode : Xcode 10.1 Build version 10B61