Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 9 does not support building or migrating Swift 2.x targets #8

Closed
tensafefrogs opened this issue Sep 30, 2017 · 3 comments
Closed

Comments

@tensafefrogs
Copy link
Contributor

After High Sierra upgrade, I'm seeing this with a project (which built successfully before the upgrade). This is when opening the Runner.xcworspace file in XCode.

The target “location” contains source code developed with Swift 2.x. Xcode 9 does not support building or migrating Swift 2.x targets.

Use Xcode 8.x to migrate the code to Swift 3.

Any chance we could get a quick upgrade to Swift 3?

@Lyokone
Copy link
Owner

Lyokone commented Oct 6, 2017

Hi !
Do you have this error when building the actual app for deployment or just when you run your app on a device ? I cannot reproduce this error when using flutter run on iOS simulator.

@tensafefrogs
Copy link
Contributor Author

This is just when opening the Runner.xcworkspace in my project which includes this plugin.

I'll try cloning the example app here and see if it happens there as well.

@tensafefrogs
Copy link
Contributor Author

Ok, the example app opens and builds, must be something in my project.

I do see a red flutter error view when running it on an iPhone X simulator, something about an assert failing about children not being null, but perhaps that's another issue.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants