Closed PedroEstevesPT closed 3 years ago
I have the same error....
Experiencing the same problem on a m1 mac running v2.2.3.
It's an issue with the M1 chip's Xcode, how do I avoid it by just force quiet Xcode after setting up the project and then use flutter build ipa
from vs code and open the file from build/ios then upload it.
@rawquesh I did what you suggested, even changing the version number. Basically closed xCode, buillt the app using "flutter build ipa", uploaded the app to testflight but I still get the same error when i download the app to an iphone and try to run it in on the iphone
etc...
Do you know if you did anything else ?
Hi @Muradean
Can you please upgrade to the latest stable
and try again
Execute the following commands to upgrade
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the problem persists, can you please reduce the test case and provide your flutter doctor -v
with the upgrade, a complete reproducible minimal code sample, and complete flutter run --verbose
logs running the minimal code sample?
Thank you
Hi, thanks a lot for answering.
I will try that right now, can you just clarify what you mean with a reproducible minimal code sample ?
Hi @Muradean
The app uses google_sign_in, but once again, I had no problems using the signin on the emulators (for android and IOs) and on a real android.
Perhaps google_sign_In
code sample or whatever code that reproduces the issue
You @TahaTesser are a god among men! I was using flutter 2.2.3, i just upgraded to the new version (I think it is 2.5.1) using the commands you gave. Built the ipa like @rawquesh said, without using xCode (only using it to upload the ipa to app store connect) and voilá it worked! Thanks a LOT!
Hi @Muradean Given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it. Thank you
Sorry to bother @TahaTesser , but I spoke too soon.
It is a fact that by upgrading to Flutter 2.5.1 I can now run the app on ios physical devices, however, this is a flicker when changing menus that previously (on version 2.2.3) did not occur:
You can also see that it looks like there is one screen on top of the other.
I confirm that the flicker has to do with updating flutter because I downgraded it to 2.2.3 and it worked without problems. The issue is that with 2.2.3 I won't be able to release the app on testflight...
Is there any way to remove the flickers on 2.5.1?
@Muradean The issue you describing is unrelated to this iOS-specific issue, please file a new issue for this bug with minimal code sample
I will do that.
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 flutter doctor -v
and a minimal reproduction of the issue.
Hi,
I have made a app in flutter. It works fine on android emulators and on real android phones. I also managed to run the app without problems in iOS simulators. However, when releasing the app on App Store Connect it crashes.
I am able to install it, but when I open the app it crashes. Does anyone have any idea why ?
The app uses google_sign_in, but once again, I had no problems using the signin on the emulators (for android and IOs) and on a real android.
I am building the app on a Mac M1.
Thanks a lot for the attention
Here is the crash log from the testFlight:
logs
```console Incident Identifier: 202549C2-5ED6-4434-9DFB-9201061CC98A Hardware Model: iPhone9,3 Process: Runner [1080] Path: /private/var/containers/Bundle/Application/F6CE911B-54B9-4F7B-9A2E-19316D4BD89F/Runner.app/Runner Identifier: com.trash4goods.trash4goods Version: 1 (20.0.3) AppStoreTools: 13A227 AppVariant: 1:iPhone9,3:14 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.trash4goods.trash4goods [488] Date/Time: 2021-09-16 13:02:24.3789 +0100 Launch Time: 2021-09-16 13:02:24.0420 +0100 OS Version: iPhone OS 14.4.2 (18D70) Release Type: User Baseband Version: 5.01.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001af6f984c __pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001cbfe09e8 pthread_kill + 212 (pthread.c:1392) 2 libsystem_c.dylib 0x000000018c4b88f4 abort + 100 (abort.c:110) 3 Flutter 0x0000000102e4ec00 0x102b60000 + 3075072 4 Flutter 0x0000000102e4ed30 0x102b60000 + 3075376 5 Flutter 0x000000010304a550 0x102b60000 + 5154128 6 Flutter 0x0000000102f275ac 0x102b60000 + 3962284 7 Flutter 0x0000000102b738a8 0x102b60000 + 80040 8 Flutter 0x0000000102b87fec 0x102b60000 + 163820 9 Flutter 0x0000000102b87e28 0x102b60000 + 163368 10 UIKitCore 0x0000000185c6b398 -[UINib instantiateWithOwner:options:] + 2284 (UINib.m:389) 11 UIKitCore 0x000000018619a948 -[UIStoryboard __reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 280 (UIStoryboard.m:233) 12 UIKitCore 0x000000018619a7e4 -[UIStoryboard _instantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 124 (UIStoryboard.m:212) 13 UIKitCore 0x000000018602d03c -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 180 (UIApplication.m:4396) 14 UIKitCore 0x000000018602d5d4 -[UIApplication _loadMainInterfaceFile] + 272 (UIApplication.m:0) 15 UIKitCore 0x000000018602be54 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1000 (UIApplication.m:4155) 16 UIKitCore 0x0000000185701164 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 148 (_UISceneLifecycleMultiplexer.m:436) 17 UIKitCore 0x0000000185c2a2b0 _UIScenePerformActionsWithLifecycleActionMask + 100 (_UISceneLifecycleState.m:109) 18 UIKitCore 0x0000000185701c4c __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 196 (_UISceneLifecycleMultiplexer.m:549) 19 UIKitCore 0x0000000185701754 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 472 (_UISceneLifecycleMultiplexer.m:501) 20 UIKitCore 0x0000000185701a78 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 740 (_UISceneLifecycleMultiplexer.m:548) 21 UIKitCore 0x0000000185701334 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 336 (_UISceneLifecycleMultiplexer.m:454) 22 UIKitCore 0x0000000185708fe0 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... + 188 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:72) 23 UIKitCore 0x0000000185b431c4 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 812 (BSAnimationSettings+UIKit.m:50) 24 UIKitCore 0x0000000185c419d8 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 244 (_UISceneSettingsDiffAction.m:23) 25 UIKitCore 0x0000000185708cd4 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 356 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:57) 26 UIKitCore 0x00000001855479b8 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 772 (UIScene.m:1413) 27 UIKitCore 0x0000000185546458 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 248 (UIScene.m:1134) 28 UIKitCore 0x0000000185547604 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 220 (UIScene.m:1380) 29 UIKitCore 0x000000018602a120 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 548 (UIApplication.m:3681) 30 UIKitCore 0x0000000185b69ab8 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 360 (UIApplicationSceneClientAgent.m:45) 31 FrontBoardServices 0x0000000192ae4704 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 404 (FBSScene.m:435) 32 FrontBoardServices 0x0000000192b0c130 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.176 + 100 (FBSWorkspaceScenesClient.m:365) 33 FrontBoardServices 0x0000000192af1e60 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 232 (FBSWorkspace.m:355) 34 FrontBoardServices 0x0000000192b0be44 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 312 (FBSWorkspaceScenesClient.m:364) 35 libdispatch.dylib 0x00000001833f6280 _dispatch_client_callout + 16 (object.m:559) 36 libdispatch.dylib 0x000000018339b930 _dispatch_block_invoke_direct$VARIANT$mp + 224 (queue.c:468) 37 FrontBoardServices 0x0000000192b30e60 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40 (FBSSerialQueue.m:184) 38 FrontBoardServices 0x0000000192b30b28 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 404 (FBSSerialQueue.m:227) 39 FrontBoardServices 0x0000000192b30ffc -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:258) 40 CoreFoundation 0x000000018373dbf0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1967) 41 CoreFoundation 0x000000018373daf0 __CFRunLoopDoSource0 + 204 (CFRunLoop.c:2011) 42 CoreFoundation 0x000000018373ce38 __CFRunLoopDoSources0 + 256 (CFRunLoop.c:2048) 43 CoreFoundation 0x00000001837373e0 __CFRunLoopRun + 776 (CFRunLoop.c:2925) 44 CoreFoundation 0x0000000183736ba0 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 45 GraphicsServices 0x000000019a49c598 GSEventRunModal + 160 (GSEvent.c:2259) 46 UIKitCore 0x00000001860282f4 -[UIApplication _run] + 1052 (UIApplication.m:3253) 47 UIKitCore 0x000000018602d874 UIApplicationMain + 164 (UIApplication.m:4707) 48 Runner 0x000000010262e7a8 main + 64 (AppDelegate.swift:5) 49 libdyld.dylib 0x0000000183415568 start + 4 Thread 1: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 3: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 4 name: Thread 4: 0 libsystem_kernel.dylib 0x00000001af6d6644 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001af6d5a48 mach_msg + 72 (mach_msg.c:103) 2 CoreFoundation 0x000000018373d0fc __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000183737570 __CFRunLoopRun + 1176 (CFRunLoop.c:2974) 4 CoreFoundation 0x0000000183736ba0 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 5 Foundation 0x00000001849567f8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228 (NSRunLoop.m:374) 6 Foundation 0x00000001849566d8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 88 (NSRunLoop.m:421) 7 UIKitCore 0x00000001860d4054 -[UIEventFetcher threadMain] + 504 (UIEventFetcher.m:838) 8 Foundation 0x0000000184ab34bc __NSThread__start__ + 848 (NSThread.m:724) 9 libsystem_pthread.dylib 0x00000001cbfdfc9c _pthread_start + 288 (pthread.c:881) 10 libsystem_pthread.dylib 0x00000001cbfe4880 thread_start + 8 Thread 5: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 6: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 7: 0 libsystem_pthread.dylib 0x00000001cbfe486c start_wqthread + 0 Thread 8 name: Thread 8: 0 libsystem_kernel.dylib 0x00000001af6d6644 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001af6d5a48 mach_msg + 72 (mach_msg.c:103) 2 CoreFoundation 0x000000018373d0fc __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000183737570 __CFRunLoopRun + 1176 (CFRunLoop.c:2974) 4 CoreFoundation 0x0000000183736ba0 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 5 Flutter 0x0000000102e534b8 0x102b60000 + 3093688 6 Flutter 0x0000000102e52c78 0x102b60000 + 3091576 7 libsystem_pthread.dylib 0x00000001cbfdfc9c _pthread_start + 288 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001cbfe4880 thread_start + 8 Thread 9 name: Thread 9: 0 libsystem_kernel.dylib 0x00000001af6d6644 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001af6d5a48 mach_msg + 72 (mach_msg.c:103) 2 CoreFoundation 0x000000018373d0fc __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000183737570 __CFRunLoopRun + 1176 (CFRunLoop.c:2974) 4 CoreFoundation 0x0000000183736ba0 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 5 Flutter 0x0000000102e534b8 0x102b60000 + 3093688 6 Flutter 0x0000000102e52c78 0x102b60000 + 3091576 7 libsystem_pthread.dylib 0x00000001cbfdfc9c _pthread_start + 288 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001cbfe4880 thread_start + 8 Thread 10 name: Thread 10: 0 libsystem_kernel.dylib 0x00000001af6d6644 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001af6d5a48 mach_msg + 72 (mach_msg.c:103) 2 CoreFoundation 0x000000018373d0fc __CFRunLoopServiceMachPort + 376 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000183737570 __CFRunLoopRun + 1176 (CFRunLoop.c:2974) 4 CoreFoundation 0x0000000183736ba0 CFRunLoopRunSpecific + 572 (CFRunLoop.c:3242) 5 Flutter 0x0000000102e534b8 0x102b60000 + 3093688 6 Flutter 0x0000000102e52c78 0x102b60000 + 3091576 7 libsystem_pthread.dylib 0x00000001cbfdfc9c _pthread_start + 288 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001cbfe4880 thread_start + 8 Thread 11 name: Thread 11: 0 libsystem_kernel.dylib 0x00000001af6f961c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001cbfd945c _pthread_cond_wait$VARIANT$mp + 1180 (pthread_cond.c:636) 2 libc++.1.dylib 0x0000000197bdce0c std::__1::condition_variable::wait(std::__1::unique_lockHere is the output of my: flutter doctor -v
flutter doctor -v
```console [✓] Flutter (Channel stable, 2.2.3, on macOS 11.5.1 20G80 darwin-arm, locale en-PT) • Flutter version 2.2.3 at /Users/trashforgoods/Desktop/flutter • Framework revision f4abaa0735 (3 months ago), 2021-07-01 12:46:11 -0700 • Engine revision 241c87ad80 • Dart version 2.13.4 [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at /Users/trashforgoods/Library/Android/sdk • Platform android-31, build-tools 31.0.0 • Java binary at: /Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home/bin/java • Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 13.0, Build version 13A233 • CocoaPods version 1.11.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (not installed) • Android Studio not found; download from https://developer.android.com/studio/index.html (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). [✓] Connected device (1 available) • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82 ! Doctor found issues in 1 category. ```