Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70445

How to build Ionic 4 app on iOS with Xcode 10.2?

$
0
0

@fortunella wrote:

When I try to build my Ionic 4 app on iOS with Xcode 10.2 I get an error:

The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for the targets which use Swift. Supported values are: 4.0, 4.2, 5.0. This setting can be set in the build settings editor.

Does this mean that the Xcode project generated during ionic build uses old settings?

I tried to change the language settings in the build settings editor, but then I get compile error from the project. Maybe because some plugins do not support newer versions of Swift?

The only way I got my app built is to downgrade Xcode to version 10.1 which supports Swift 3. But with this Xode version I cannot run the app on my iPhone, because this is already on iOS 12.2 and I get an error when I try to run the app.

What is the recommended way to solve these version problems?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>