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
Getting Error when Run flutter app on iOS 12 device with Xcode 10 beta #19241
Comments
When I switch Xcode 10 to Xcode 9, the App successful launch on the iOS 11 |
Please add the output of
Did you check what the permissions are there? |
The Flutter.framework permissions
it run successful in the Simulator |
Testing with |
I have try with dev channel, get the same error. |
I'm using the master channel and getting the same error. Flutter doctor [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 10.0) [✓] Android Studio (version 3.1) [✓] VS Code (version 1.25.0) [✓] Connected devices (2 available) • No issues found! |
cc @cbracken looks possibly 32-bit related? |
@pacoyang @ajzuse would one of you mind providing the full log output of I haven't yet tested with Xcode 10 beta 3 and the latest iOS 12 beta (which is what's being run in both cases), but I've definitely seen reports of deprecation warnings for i386 host (engine) builds starting with beta 2. Last I tested (Xcode 10 beta 1, first iOS 12 beta), things were working alright, so could be something's changed recently. I'll take a quick look tomorrow. |
@cbracken Here is the
|
@cbracken here is the the result of
|
I can confirm the bug exists when using Flutter (0.5.7-pre.105) with latest beta of Xcode (10.0 beta 3). As you can read from build log,
If there is no I think the issue could be a bug in "New build system" that comes with Xcode 10 (that would mean it's independent from Flutter), or it could be a problem with build configuration for |
It works! I change the build system to "Legacy build system" and the problem disappear! |
@darrarski It works for me! Thanks a lot! Hope more people had the same error see this. That saved my whole day! |
I got the same error and changing to "Legacy Build System" fixed it for me as well. Thanks! |
thanks a lot ....You save my time :) |
Running this in the terminal switches to Xcode 10 beta build toolchain if you have both v9 and v10 beta installed:
After running this command, my projects build and launch just fine from vs-code. Edit: my test-device is running latest iOS beta too. |
still need 'legacy build system' trick/hack on xcode10 beta4, downloading beta6 to check now. |
I've also grabbed b6 and will be spending a little time on this over the next few days. Thanks to everyone who's contributed reports on this bug. |
Same issue with the new iOS 12 update on MacOS. If you're running in this issue for emulators running on iOS 12, just switch to "Legacy build system" (thanks @darrarski ) |
Closing as dupe of #20685 -- the bug itself is slightly different, but the fix is the same (and has now landed on dev channel). To pick up the fix, you can run |
For me the issue was solved when I changed the Target version to 11.0 |
I solved that issue by creating a very fresh project , Then build that empty project with Xcode, Then move my lib folder to new project,,, All Working now ! Hope this will work for any who facing Xcode Build ISSUE, |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
The error print
The text was updated successfully, but these errors were encountered: