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

App built with Xcode 15 crashes on iOS less than 17 with EXC_BAD_ACCESS when using the Networking framework #4195

Closed
2 of 14 tasks
stam0912 opened this issue Dec 2, 2023 · 25 comments
Assignees
Labels
duplicate This issue or pull request already exists not-reproducible Issues that cannot be reproduced using the steps provided pending-close-response-required The issue will be closed if details necessary to reproduce the issue are not provided within 7 days. pending-response Issue is pending response from the issue requestor

Comments

@stam0912
Copy link

stam0912 commented Dec 2, 2023

Description

The app will crash every time I call datastore.start(). I run the same code on the iOS15 device and the iOS17 simulator, but it only happens on iOS15. I think I start seeing this after upgrading Xcode 15.0.1, not sure if it's the reason or just a coincidence.

flutter doctor --verbose
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.5.2 22G91 darwin-arm64, locale en-GB)
• Flutter version 3.13.4 on channel stable at /Users/xxx/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 367f9ea16b (3 months ago), 2023-09-12 23:27:53 -0500
• Engine revision 9064459a8b
• Dart version 3.1.2
• DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/xxx/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
• CocoaPods version 1.14.3

[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.84.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.76.0

flutter run -v
[ +2 ms] Syncing files to device iPhone...
[ +1 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ ] <- recompile package:sample_project/main.dart 4069e6b5-b6f2-4068-9b86-1876404d02b4
[ ] <- 4069e6b5-b6f2-4068-9b86-1876404d02b4
[ +156 ms] Bundle processing done.
[ ] Process 11712 stopped
[ +2 ms] Amplify configured with DataStore plugin
[ ] flutter: Connected to WiFi
[ ] flutter: User granted permission
[ ] [Amplify] Configuring
[ ] [awsAPIPlugin] Configure finished
[ ] [Amplify] No plugin found for configuration key awsS3StoragePlugin. Add a plugin for that key.
[ ] DataStorePlugin successfully initialized
[ ] Successfully started datastore cloud syncing
[ ] [IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[ ] [IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[ ] [IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[ ] [IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[ ] [IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[ ] * thread #9, queue = 'com.amazonaws.amplify.AWSSubscriptionConnectionFactory', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
[ ] frame #0: 0x0000000000000000
[ ] error: memory read failed for 0x0
[ ] Target 0: (Runner) stopped.
[ +4 ms] thread backtrace all
[ ] Debugger state set to detached.
[ ] process detach
[ +3 ms] flutter: Connected to WiFi
[ ] flutter: User granted permission
[+1940 ms] Updating files.
[ +1 ms] DevFS: Sync finished
[ +2 ms] Syncing files to device iPhone... (completed in 2,113ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[+9781 ms] thread #1, queue = 'com.apple.main-thread'
[ +98 ms] frame #0: 0x00000001bbed1aac libsystem_kernel.dylibmach_msg_trap + 8 [ ] frame #1: 0x00000001bbed207c libsystem_kernel.dylibmach_msg + 72
[ ] frame #2: 0x0000000181573c88 CoreFoundation__CFRunLoopServiceMachPort + 368 [ ] frame #3: 0x0000000181577f90 CoreFoundation__CFRunLoopRun + 1160
[ ] frame #4: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572 [ ] frame #5: 0x00000001a20be988 GraphicsServicesGSEventRunModal + 160
[ ] frame #6: 0x0000000183d8da88 UIKitCore-[UIApplication _run] + 1080 [ ] frame #7: 0x0000000183b26f78 UIKitCoreUIApplicationMain + 336
[ ] frame #8: 0x00000001006d0acc Runnermain at AppDelegate.swift:6:13 [ ] frame #9: 0x0000000101d244d0 dyldstart + 444
[ ] thread #2, queue = 'AWSGraphQLSubscriptionOperation.subscriptionQueue'
[ ] frame #0: 0x00000001bbed2134 libsystem_kernel.dylibkevent_id + 8 [ +2 ms] frame #1: 0x000000018127e4b4 libdispatch.dylib_dispatch_kq_poll + 228
[ +51 ms] frame #2: 0x000000018127eebc libdispatch.dylib_dispatch_event_loop_wait_for_ownership$VARIANT$mp + 440 [ ] frame #3: 0x000000018126dbdc libdispatch.dylibDISPATCH_WAIT_FOR_QUEUE + 288
[ ] frame #4: 0x000000018126d820 libdispatch.dylib_dispatch_sync_f_slow + 136 [ +146 ms] frame #5: 0x0000000199bcbe18 libswiftDispatch.dylibmerged implicit closure #2 (() -> ()) -> () in implicit closure #1
(__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 152
[ +22 ms] frame #6: 0x0000000199bcb0ac libswiftDispatch.dylibpartial apply forwarder for implicit closure #2 (() -> ()) -> () in implicit closure #1 (__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 40 [ +2 ms] frame #7: 0x0000000199bcbbb0 libswiftDispatch.dylib__C.OS_dispatch_queue._syncHelper<τ_0_0>(fn: (() -> ()) -> (), execute: () throws ->
τ_0_0, rescue: (Swift.Error) throws -> τ_0_0) throws -> τ_0_0 + 256
[ +4 ms] frame #8: 0x0000000199bcb140 libswiftDispatch.dylib__C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 140 [ +1 ms] frame #9: 0x0000000102cf3744 AmplifyPluginsAWSSubscriptionConnectionFactory.getOrCreateConnection(endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @
0x0000000280c34ad8, urlRequest=Foundation.URLRequest @ 0x0000000280c34b28, authService=0x0000000283c07490, authType=nil,
apiAuthProviderFactory=0x0000000283e476a0, self=0x0000000283e44e20) at AWSSubscriptionConnectionFactory.swift:33:37
[ +39 ms] frame #10: 0x0000000102cf4858 AmplifyPluginsprotocol witness for SubscriptionConnectionFactory.getOrCreateConnection(for:urlRequest:authService:authType:apiAuthProviderFactory:) in conformance AWSSubscriptionConnectionFactory at <compiler-generated>:0 [ +1 ms] frame #11: 0x0000000102ccb694 AmplifyPluginsclosure #1 in AWSGraphQLSubscriptionOperation.main(self=0x0000000103660090,
endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @ 0x0000000280c34ad8, urlRequest=Foundation.URLRequest @
0x0000000280c34b28, pluginOptions=some) at AWSGraphQLSubscriptionOperation.swift:102:22
[ ] frame #12: 0x0000000102cb06d8 AmplifyPluginsthunk for @callee_guaranteed () -> () at <compiler-generated>:0 [ ] frame #13: 0x0000000102cb06fc AmplifyPluginsthunk for @escaping @callee_guaranteed () -> () at :0
[ ] frame #14: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16 [ ] frame #15: 0x000000018126d964 libdispatch.dylib_dispatch_lane_barrier_sync_invoke_and_complete + 52
[ ] frame #16: 0x0000000102ccae4c AmplifyPluginsAWSGraphQLSubscriptionOperation.main(self=0x0000000103660090) at AWSGraphQLSubscriptionOperation.swift:99:27 [ ] frame #17: 0x0000000102ccc224 AmplifyPlugins@objc AWSGraphQLSubscriptionOperation.main() at :0
[ ] frame #18: 0x0000000102848834 AmplifyAsynchronousOperation.start(self=0x0000000103660090) at AsychronousOperation.swift:71:9 [ ] frame #19: 0x000000010284886c Amplify@objc AsynchronousOperation.start() at :0
[ ] frame #20: 0x0000000182ccd498 Foundation__NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20 [ ] frame #21: 0x0000000182cdaccc Foundation__NSOQSchedule_f + 180
[ ] frame #22: 0x000000018126d544 libdispatch.dylib_dispatch_block_async_invoke2 + 104 [ ] frame #23: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16
[ ] frame #24: 0x0000000181262bb8 libdispatch.dylib_dispatch_continuation_pop$VARIANT$mp + 440 [ ] frame #25: 0x00000001812622e0 libdispatch.dylib_dispatch_async_redirect_invoke + 588
[ ] frame #26: 0x000000018126fb94 libdispatch.dylib_dispatch_root_queue_drain + 340 [ ] frame #27: 0x000000018127039c libdispatch.dylib_dispatch_worker_thread2 + 172
[ ] frame #28: 0x00000001dc96cdc4 libsystem_pthread.dylib_pthread_wqthread + 224 [ ] thread #3 [ ] frame #0: 0x00000001bbed2014 libsystem_kernel.dylib__workq_kernreturn + 8
[ ] thread #4, queue = 'AWSGraphQLSubscriptionOperation.subscriptionQueue'
[ ] frame #0: 0x00000001bbed2134 libsystem_kernel.dylibkevent_id + 8 [ ] frame #1: 0x000000018127e4b4 libdispatch.dylib_dispatch_kq_poll + 228
[ ] frame #2: 0x000000018127eebc libdispatch.dylib_dispatch_event_loop_wait_for_ownership$VARIANT$mp + 440 [ ] frame #3: 0x000000018126dbdc libdispatch.dylibDISPATCH_WAIT_FOR_QUEUE + 288
[ ] frame #4: 0x000000018126d820 libdispatch.dylib_dispatch_sync_f_slow + 136 [ +6 ms] frame #5: 0x0000000199bcbe18 libswiftDispatch.dylibmerged implicit closure #2 (() -> ()) -> () in implicit closure #1
(__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 152
[ +3 ms] frame #6: 0x0000000199bcb0ac libswiftDispatch.dylibpartial apply forwarder for implicit closure #2 (() -> ()) -> () in implicit closure #1 (__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 40 [ ] frame #7: 0x0000000199bcbbb0 libswiftDispatch.dylib__C.OS_dispatch_queue._syncHelper<τ_0_0>(fn: (() -> ()) -> (), execute: () throws ->
τ_0_0, rescue: (Swift.Error) throws -> τ_0_0) throws -> τ_0_0 + 256
[ ] frame #8: 0x0000000199bcb140 libswiftDispatch.dylib__C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 140 [ ] frame #9: 0x0000000102cf3744 AmplifyPluginsAWSSubscriptionConnectionFactory.getOrCreateConnection(endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @
0x0000000280c34b68, urlRequest=Foundation.URLRequest @ 0x0000000280c34bb8, authService=0x0000000283c07490, authType=nil,
apiAuthProviderFactory=0x0000000283e476a0, self=0x0000000283e44e20) at AWSSubscriptionConnectionFactory.swift:33:37
[ ] frame #10: 0x0000000102cf4858 AmplifyPluginsprotocol witness for SubscriptionConnectionFactory.getOrCreateConnection(for:urlRequest:authService:authType:apiAuthProviderFactory:) in conformance AWSSubscriptionConnectionFactory at <compiler-generated>:0 [ ] frame #11: 0x0000000102ccb694 AmplifyPluginsclosure #1 in AWSGraphQLSubscriptionOperation.main(self=0x000000010366e050,
endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @ 0x0000000280c34b68, urlRequest=Foundation.URLRequest @
0x0000000280c34bb8, pluginOptions=some) at AWSGraphQLSubscriptionOperation.swift:102:22
[ +4 ms] frame #12: 0x0000000102cb06d8 AmplifyPluginsthunk for @callee_guaranteed () -> () at <compiler-generated>:0 [ ] frame #13: 0x0000000102cb06fc AmplifyPluginsthunk for @escaping @callee_guaranteed () -> () at :0
[ ] frame #14: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16 [ ] frame #15: 0x000000018126d964 libdispatch.dylib_dispatch_lane_barrier_sync_invoke_and_complete + 52
[ ] frame #16: 0x0000000102ccae4c AmplifyPluginsAWSGraphQLSubscriptionOperation.main(self=0x000000010366e050) at AWSGraphQLSubscriptionOperation.swift:99:27 [ ] frame #17: 0x0000000102ccc224 AmplifyPlugins@objc AWSGraphQLSubscriptionOperation.main() at :0
[ ] frame #18: 0x0000000102848834 AmplifyAsynchronousOperation.start(self=0x000000010366e050) at AsychronousOperation.swift:71:9 [ ] frame #19: 0x000000010284886c Amplify@objc AsynchronousOperation.start() at :0
[ ] frame #20: 0x0000000182ccd498 Foundation__NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20 [ ] frame #21: 0x0000000182cdaccc Foundation__NSOQSchedule_f + 180
[ ] frame #22: 0x000000018126d544 libdispatch.dylib_dispatch_block_async_invoke2 + 104 [ ] frame #23: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16
[ ] frame #24: 0x0000000181262bb8 libdispatch.dylib_dispatch_continuation_pop$VARIANT$mp + 440 [ ] frame #25: 0x00000001812622e0 libdispatch.dylib_dispatch_async_redirect_invoke + 588
[ ] frame #26: 0x000000018126fb94 libdispatch.dylib_dispatch_root_queue_drain + 340 [ ] frame #27: 0x000000018127039c libdispatch.dylib_dispatch_worker_thread2 + 172
[ ] frame #28: 0x00000001dc96cdc4 libsystem_pthread.dylib_pthread_wqthread + 224 [ ] thread #5, name = 'com.apple.uikit.eventfetch-thread' [ ] frame #0: 0x00000001bbed1aac libsystem_kernel.dylibmach_msg_trap + 8
[ ] frame #1: 0x00000001bbed207c libsystem_kernel.dylibmach_msg + 72 [ ] frame #2: 0x0000000181573c88 CoreFoundation__CFRunLoopServiceMachPort + 368
[ ] frame #3: 0x0000000181577f90 CoreFoundation__CFRunLoopRun + 1160 [ ] frame #4: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572
[ ] frame #5: 0x0000000182c97eac Foundation-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 [ ] frame #6: 0x0000000182cd6fd0 Foundation-[NSRunLoop(NSRunLoop) runUntilDate:] + 88
[ ] frame #7: 0x0000000183d0cef4 UIKitCore-[UIEventFetcher threadMain] + 512 [ ] frame #8: 0x0000000182ce4bdc FoundationNSThread__start + 792
[ ] frame #9: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ +4 ms] thread #6 [ ] frame #0: 0x00000001dc96c924 libsystem_pthread.dylibstart_wqthread
[ ] thread #7
[ ] frame #0: 0x00000001bbed2014 libsystem_kernel.dylib__workq_kernreturn + 8 [ ] thread #8 [ ] frame #0: 0x00000001bbed2014 libsystem_kernel.dylib__workq_kernreturn + 8
[ ] * thread #9, queue = 'com.amazonaws.amplify.AWSSubscriptionConnectionFactory', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
[ ] * frame #0: 0x0000000000000000
[ ] frame #1: 0x00000001024f33f8 AppSyncRealTimeClientNetworkMonitor.start(connectivityUpdatesQueue=0x0000000281033200, onConnectivityUpdates=0x00000001025065d8 AppSyncRealTimeClientpartial apply forwarder for implicit closure #2 (AppSyncRealTimeClient.ConnectivityPath)
-> () in implicit closure #1 (AppSyncRealTimeClient.RealtimeConnectionProvider) -> (AppSyncRealTimeClient.ConnectivityPath) -> () in
AppSyncRealTimeClient.RealtimeConnectionProvider.init(urlRequest: Foundation.URLRequest, websocket: AppSyncRealTimeClient.AppSyncWebsocketProvider,
connectionQueue: __C.OS_dispatch_queue, serialCallbackQueue: __C.OS_dispatch_queue, connectivityMonitor: AppSyncRealTimeClient.ConnectivityMonitor) ->
AppSyncRealTimeClient.RealtimeConnectionProvider at , self=0x0000000282b13080) at ConnectivityMonitor.swift:69:23
[ +1 ms] frame #2: 0x00000001024f2c84 AppSyncRealTimeClientConnectivityMonitor.start(onUpdates=0x00000001025065d8 AppSyncRealTimeClientpartial
apply forwarder for implicit closure #2 (AppSyncRealTimeClient.ConnectivityPath) -> () in implicit closure #1
(AppSyncRealTimeClient.RealtimeConnectionProvider) -> (AppSyncRealTimeClient.ConnectivityPath) -> () in
AppSyncRealTimeClient.RealtimeConnectionProvider.init(urlRequest: Foundation.URLRequest, websocket: AppSyncRealTimeClient.AppSyncWebsocketProvider,
connectionQueue: __C.OS_dispatch_queue, serialCallbackQueue: __C.OS_dispatch_queue, connectivityMonitor: AppSyncRealTimeClient.ConnectivityMonitor) ->
AppSyncRealTimeClient.RealtimeConnectionProvider at , self=0x0000000282b12b00) at ConnectivityMonitor.swift:39:21
[ +3 ms] frame #3: 0x0000000102502078 AppSyncRealTimeClientRealtimeConnectionProvider.init(urlRequest=Foundation.URLRequest @ 0x000000016fb91320, websocket=0x0000000282b2be00, connectionQueue=0x0000000281033400, serialCallbackQueue=0x0000000281033300, connectivityMonitor=0x0000000282b12b00, self=0x0000000280528000) at RealtimeConnectionProvider.swift:88:29 [ +1 ms] frame #4: 0x0000000102501bac AppSyncRealTimeClientRealtimeConnectionProvider.__allocating_init(urlRequest:websocket:connectionQueue:serialCallbackQueue:connectivityMonitor:) at
RealtimeConnectionProvider.swift:0
[ ] frame #5: 0x0000000102501884 AppSyncRealTimeClientRealtimeConnectionProvider.__allocating_init(urlRequest=Foundation.URLRequest @ 0x000000016fb913d0, websocket=0x0000000282b2be00) at RealtimeConnectionProvider.swift:62:14 [ +3 ms] frame #6: 0x00000001024f1a50 AppSyncRealTimeClientstatic
ConnectionProviderFactory.createConnectionProvider(urlRequest=Foundation.URLRequest @ 0x000000016fb916a0, authInterceptor=(payload_data_0 =
0x0000000283e49360 -> 0x0000000102534d78 type metadata for AppSyncRealTimeClient.APIKeyAuthInterceptor, payload_data_1 = 0x00000001100da510,
payload_data_2 = 0x000000016fb91928, metadata = AppSyncRealTimeClient.APIKeyAuthInterceptor, wtable = 0x0000000102530e00 AppSyncRealTimeClientprotocol witness table for AppSyncRealTimeClient.APIKeyAuthInterceptor : AppSyncRealTimeClient.AuthInterceptor in AppSyncRealTimeClient), connectionType=appSyncRealtime, self=AppSyncRealTimeClient.ConnectionProviderFactory) at ConnectionProviderFactory.swift:23:24 [ +2 ms] frame #7: 0x0000000102cf3b10 AmplifyPluginsclosure #1 in
AWSSubscriptionConnectionFactory.getOrCreateConnection(endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @
0x000000016fb91d40, self=0x0000000283e44e20, authType=nil, authService=0x0000000283c07490, apiAuthProviderFactory=0x0000000283e476a0,
urlRequest=Foundation.URLRequest @ 0x000000016fb91d90) at AWSSubscriptionConnectionFactory.swift:42:116
[ +12 ms] frame #8: 0x0000000102cf3d14 AmplifyPluginspartial apply for closure #1 in AWSSubscriptionConnectionFactory.getOrCreateConnection(for:urlRequest:authService:authType:apiAuthProviderFactory:) at <compiler-generated>:0 [ ] frame #9: 0x0000000199bcb83c libswiftDispatch.dylibpartial apply forwarder for reabstraction thunk helper <τ_0_0> from
@callee_guaranteed () -> (@out τ_0_0, @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out τ_0_0, @error @owned Swift.Error) + 20
[ ] frame #10: 0x0000000199bcb854 libswiftDispatch.dylibreabstraction thunk helper <τ_0_0> from @callee_guaranteed () -> (@out τ_0_0, @error @owned Swift.Error) to @escaping @callee_guaranteed () -> (@out τ_0_0, @error @owned Swift.Error)partial apply forwarder with unmangled suffix ".39" + 12 [ +17 ms] frame #11: 0x0000000199bcc9ac libswiftDispatch.dylibclosure #1 () -> () in closure #1 (() throws -> τ_0_0) -> () in
__C.OS_dispatch_queue._syncHelper<τ_0_0>(fn: (() -> ()) -> (), execute: () throws -> τ_0_0, rescue: (Swift.Error) throws -> τ_0_0) throws -> τ_0_0 + 120
[ ] frame #12: 0x0000000199bcca74 libswiftDispatch.dylibpartial apply forwarder for reabstraction thunk helper from @callee_guaranteed () -> () to @escaping @callee_guaranteed () -> () + 20 [ ] frame #13: 0x0000000199bcc478 libswiftDispatch.dylibreabstraction thunk helper from @escaping @callee_guaranteed () -> () to
@callee_unowned @convention(block) () -> () + 20
[ ] frame #14: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16 [ ] frame #15: 0x000000018126d964 libdispatch.dylib_dispatch_lane_barrier_sync_invoke_and_complete + 52
[ ] frame #16: 0x0000000199bcbe18 libswiftDispatch.dylibmerged implicit closure #2 (() -> ()) -> () in implicit closure #1 (__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 152 [ ] frame #17: 0x0000000199bcb0ac libswiftDispatch.dylibpartial apply forwarder for implicit closure #2 (() -> ()) -> () in implicit closure
#1 (__C.OS_dispatch_queue) -> (() -> ()) -> () in __C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 40
[ ] frame #18: 0x0000000199bcbbb0 libswiftDispatch.dylib__C.OS_dispatch_queue._syncHelper<τ_0_0>(fn: (() -> ()) -> (), execute: () throws -> τ_0_0, rescue: (Swift.Error) throws -> τ_0_0) throws -> τ_0_0 + 256 [ ] frame #19: 0x0000000199bcb140 libswiftDispatch.dylib__C.OS_dispatch_queue.sync<τ_0_0>(execute: () throws -> τ_0_0) throws -> τ_0_0 + 140
[ ] frame #20: 0x0000000102cf3744
AmplifyPluginsAWSSubscriptionConnectionFactory.getOrCreateConnection(endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @ 0x0000000280c34a48, urlRequest=Foundation.URLRequest @ 0x0000000280c34a98, authService=0x0000000283c07490, authType=nil, apiAuthProviderFactory=0x0000000283e476a0, self=0x0000000283e44e20) at AWSSubscriptionConnectionFactory.swift:33:37 [ ] frame #21: 0x0000000102cf4858 AmplifyPluginsprotocol witness for
SubscriptionConnectionFactory.getOrCreateConnection(for:urlRequest:authService:authType:apiAuthProviderFactory:) in conformance
AWSSubscriptionConnectionFactory at :0
[ ] frame #22: 0x0000000102ccb694 AmplifyPluginsclosure #1 in AWSGraphQLSubscriptionOperation.main(self=0x0000000103750f80, endpointConfig=AmplifyPlugins.AWSAPICategoryPluginConfiguration.EndpointConfig @ 0x0000000280c34a48, urlRequest=Foundation.URLRequest @ 0x0000000280c34a98, pluginOptions=some) at AWSGraphQLSubscriptionOperation.swift:102:22 [ ] frame #23: 0x0000000102cb06d8 AmplifyPluginsthunk for @callee_guaranteed () -> () at :0
[ ] frame #24: 0x0000000102cb06fc AmplifyPluginsthunk for @escaping @callee_guaranteed () -> () at <compiler-generated>:0 [ ] frame #25: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16
[ ] frame #26: 0x000000018126d964 libdispatch.dylib_dispatch_lane_barrier_sync_invoke_and_complete + 52 [ ] frame #27: 0x0000000102ccae4c AmplifyPluginsAWSGraphQLSubscriptionOperation.main(self=0x0000000103750f80) at
AWSGraphQLSubscriptionOperation.swift:99:27
[ ] frame #28: 0x0000000102ccc224 AmplifyPlugins@objc AWSGraphQLSubscriptionOperation.main() at <compiler-generated>:0 [ ] frame #29: 0x0000000102848834 AmplifyAsynchronousOperation.start(self=0x0000000103750f80) at AsychronousOperation.swift:71:9
[ ] frame #30: 0x000000010284886c Amplify@objc AsynchronousOperation.start() at <compiler-generated>:0 [ ] frame #31: 0x0000000182ccd498 FoundationNSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 20
[ ] frame #32: 0x0000000182cdaccc Foundation__NSOQSchedule_f + 180 [ ] frame #33: 0x000000018126d544 libdispatch.dylib_dispatch_block_async_invoke2 + 104
[ ] frame #34: 0x00000001812c0094 libdispatch.dylib_dispatch_client_callout + 16 [ ] frame #35: 0x0000000181262bb8 libdispatch.dylib_dispatch_continuation_pop$VARIANT$mp + 440
[ ] frame #36: 0x00000001812622e0 libdispatch.dylib_dispatch_async_redirect_invoke + 588 [ ] frame #37: 0x000000018126fb94 libdispatch.dylib_dispatch_root_queue_drain + 340
[ ] frame #38: 0x000000018127039c libdispatch.dylib_dispatch_worker_thread2 + 172 [ ] frame #39: 0x00000001dc96cdc4 libsystem_pthread.dylib_pthread_wqthread + 224
[ ] thread #10, name = 'io.flutter.1.ui'
[ ] frame #0: 0x000000018bccf58c libsystem_c.dylib__vfprintf + 5024 [ ] frame #1: 0x000000018bccdfd4 libsystem_c.dylib_vsnprintf + 220
[ ] frame #2: 0x000000010629bf6c Flutterdart::Utils::SNPrint(char*, unsigned long, char const*, ...) + 36 [ ] frame #3: 0x00000001065cda40 Flutterdart::kernel::BaseFlowGraphBuilder::MakeTemporary(char const*) + 100
[ ] frame #4: 0x00000001065f066c Flutterdart::kernel::StreamingFlowGraphBuilder::TranslateConditionForControl() + 1764 [ ] frame #5: 0x00000001065e2b3c Flutterdart::kernel::StreamingFlowGraphBuilder::BuildConditionalExpression(dart::TokenPosition*) + 60
[ ] frame #6: 0x00000001065ee12c Flutterdart::kernel::StreamingFlowGraphBuilder::BuildVariableDeclaration(dart::TokenPosition*) + 424 [ ] frame #7: 0x00000001065e9bf0 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 5828
[ ] frame #8: 0x00000001065e9650 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 4388 [ ] frame #9: 0x00000001065e9bf0 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 5828
[ ] frame #10: 0x00000001065e8864 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 824 [ ] frame #11: 0x00000001065e9bf0 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 5828
[ ] frame #12: 0x00000001065e8864 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 824 [ ] frame #13: 0x00000001065e9bf0 Flutterdart::kernel::StreamingFlowGraphBuilder::BuildStatement(dart::TokenPosition*) + 5828
[ ] frame #14: 0x0000000106606aec Flutterdart::kernel::FlowGraphBuilder::BuildGraph() + 34184 [ ] frame #15: 0x00000001064867bc Flutterdart::DartCompilationPipeline::BuildFlowGraph(dart::Zone*, dart::ParsedFunction*,
dart::ZoneGrowableArray<dart::ICData const*>, long, bool) + 60
[ ] frame #16: 0x000000010648af74 Flutterdart::CompileParsedFunctionHelper::Compile(dart::CompilationPipeline*) + 1768 [ ] frame #17: 0x000000010648d75c Flutterdart::CompileFunctionHelper(dart::CompilationPipeline
, dart::Function const&, bool, long) + 1760
[ ] frame #18: 0x000000010648cfd4 Flutterdart::Compiler::CompileFunction(dart::Thread*, dart::Function const&) + 544 [ ] frame #19: 0x00000001063a1a8c Flutterdart::Function::EnsureHasCode() const + 84
[ ] frame #20: 0x0000000106435254 Flutterdart::TrySwitchInstanceCall(dart::Thread*, dart::StackFrame*, dart::Code const&, dart::Function const&, dart::ICData const&, dart::Function const&) + 404 [ ] frame #21: 0x0000000106434abc Flutterdart::PatchableCallHandler::ResolveSwitchAndReturn(dart::Object const&) + 1760
[ ] frame #22: 0x0000000106435804 Flutterdart::InlineCacheMissHandler(dart::Thread*, dart::Zone*, dart::GrowableArray<dart::Instance const*> const&, dart::ICData const&, dart::NativeArguments) + 340 [ ] frame #23: 0x000000010642e7cc Flutterdart::DRT_InlineCacheMissHandlerOneArg(dart::NativeArguments) + 508
[ ] frame #24: 0x000000010b502f5c
[ ] frame #25: 0x000000010b50441c
[ ] frame #26: 0x0000000120170604
[ ] frame #27: 0x0000000120170254
[ ] frame #28: 0x000000012016df9c
[ ] frame #29: 0x000000012016daa8
[ ] frame #30: 0x000000012016d8a4
[ ] frame #31: 0x000000012016d500
[ ] frame #32: 0x000000012016d028
[ ] frame #33: 0x000000012016cd38
[ ] frame #34: 0x000000012016b748
[ ] frame #35: 0x000000012016997c
[ ] frame #36: 0x0000000120169750
[ ] frame #37: 0x0000000120169548
[ ] frame #38: 0x0000000120160bcc
[ ] frame #39: 0x000000012015c3a4
[ ] frame #40: 0x000000012013d550
[ ] frame #41: 0x00000001192d13b0
[ ] frame #42: 0x00000001192d120c
[ ] frame #43: 0x00000001192d4604
[ ] frame #44: 0x00000001192d420c
[ ] frame #45: 0x0000000110d6d360
[ ] frame #46: 0x0000000110d6bbf8
[ ] frame #47: 0x00000001192d9204
[ ] frame #48: 0x00000001192cc8d4
[ ] frame #49: 0x00000001192cc464
[ ] frame #50: 0x00000001192cc35c
[ ] frame #51: 0x000000010b5034e4
[ ] frame #52: 0x00000001062f49f4 Flutterdart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&) + 476 [ ] frame #53: 0x00000001066c7580 FlutterDart_InvokeClosure + 1144
[ ] frame #54: 0x00000001060b11ec Fluttertonic::DartMicrotaskQueue::RunMicrotasks() + 212 [ ] frame #55: 0x0000000105f9067c Flutterfml::MessageLoopImpl::FlushTasks(fml::FlushType) + 1676
[ ] frame #56: 0x0000000105f94498 Flutterfml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 [ ] frame #57: 0x00000001816141b4 CoreFoundationCFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 28
[ ] frame #58: 0x000000018159da38 CoreFoundation__CFRunLoopDoTimer + 1008 [ ] frame #59: 0x00000001815985e8 CoreFoundation__CFRunLoopDoTimers + 316
[ ] frame #60: 0x00000001815782b4 CoreFoundation__CFRunLoopRun + 1964 [ ] frame #61: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572
[ ] frame #62: 0x0000000105f94584 Flutterfml::MessageLoopDarwin::Run() + 88 [ ] frame #63: 0x0000000105f93128 Fluttervoid*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig
const&)::$_0>>(void*) + 208
[ ] frame #64: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #11, name = 'io.flutter.1.raster' [ ] frame #0: 0x00000001bbed1aac libsystem_kernel.dylibmach_msg_trap + 8
[ ] frame #1: 0x00000001bbed207c libsystem_kernel.dylibmach_msg + 72 [ ] frame #2: 0x0000000181573c88 CoreFoundation__CFRunLoopServiceMachPort + 368
[ ] frame #3: 0x0000000181577f90 CoreFoundation__CFRunLoopRun + 1160 [ ] frame #4: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572
[ ] frame #5: 0x0000000105f94584 Flutterfml::MessageLoopDarwin::Run() + 88 [ ] frame #6: 0x0000000105f93128 Fluttervoid*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig
const&)::$_0>>(void*) + 208
[ ] frame #7: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #12, name = 'io.flutter.1.io' [ ] frame #0: 0x00000001bbed1aac libsystem_kernel.dylibmach_msg_trap + 8
[ ] frame #1: 0x00000001bbed207c libsystem_kernel.dylibmach_msg + 72 [ ] frame #2: 0x0000000181573c88 CoreFoundation__CFRunLoopServiceMachPort + 368
[ ] frame #3: 0x0000000181577f90 CoreFoundation__CFRunLoopRun + 1160 [ ] frame #4: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572
[ ] frame #5: 0x0000000105f94584 Flutterfml::MessageLoopDarwin::Run() + 88 [ ] frame #6: 0x0000000105f93128 Fluttervoid*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig
const&)::$_0>>(void*) + 208
[ ] frame #7: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #13, name = 'io.flutter.1.profiler' [ ] frame #0: 0x00000001bbed1aac libsystem_kernel.dylibmach_msg_trap + 8
[ ] frame #1: 0x00000001bbed207c libsystem_kernel.dylibmach_msg + 72 [ ] frame #2: 0x0000000181573c88 CoreFoundation__CFRunLoopServiceMachPort + 368
[ ] frame #3: 0x0000000181577f90 CoreFoundation__CFRunLoopRun + 1160 [ ] frame #4: 0x000000018158b174 CoreFoundationCFRunLoopRunSpecific + 572
[ ] frame #5: 0x0000000105f94584 Flutterfml::MessageLoopDarwin::Run() + 88 [ ] frame #6: 0x0000000105f93128 Fluttervoid*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig
const&)::$_0>>(void*) + 208
[ ] frame #7: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #14, name = 'io.worker.1' [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8
[ ] frame #1: 0x00000001dc974bc4 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1240 [ ] frame #2: 0x0000000105d07040 Flutterstd::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lockstd::_LIBCPP_ABI_NAMESPACE::mutex&) + 20
[ ] frame #3: 0x0000000105f8ce0c Fluttervoid* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 352 [ ] frame #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
[ ] thread #15, name = 'io.worker.2'
[ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8 [ ] frame #1: 0x00000001dc974bc4 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1240
[ ] frame #2: 0x0000000105d07040
Flutterstd::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20 [ ] frame #3: 0x0000000105f8ce0c Fluttervoid*
std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 352
[ ] frame #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #16, name = 'dart:io EventHandler' [ ] frame #0: 0x00000001bbed3294 libsystem_kernel.dylibkevent + 8
[ ] frame #1: 0x000000010624f9b8 Flutterdart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 416 [ ] frame #2: 0x000000010627da5c Flutterdart::bin::ThreadStart(void*) + 88
[ ] frame #3: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #17, name = 'Dart Profiler ThreadInterrupter' [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8
[ ] frame #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284 [ ] frame #2: 0x00000001063e359c Flutterdart::Monitor::WaitMicros(long long) + 128
[ ] frame #3: 0x0000000106472b24 Flutterdart::ThreadInterrupter::ThreadMain(unsigned long) + 440 [ ] frame #4: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312
[ ] frame #5: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #18, name = 'Dart Profiler SampleBlockProcessor' [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8
[ ] frame #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284 [ ] frame #2: 0x00000001063e6a68 Flutterdart::SampleBlockProcessor::ThreadMain(unsigned long) + 256
[ ] frame #3: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312 [ ] frame #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
[ ] thread #19, name = 'DartWorker'
[ ] frame #0: 0x00000001063f10ac Flutter`dart::UntaggedObjectPool::VisitObjectPoolPointers(dart::ObjectPoolPtr, dart::ObjectPointerVisitor*)

  • 80
    [ ] frame Initial Commit #1: 0x00000001064a50dc Flutterdart::ConcurrentMarkTask::Run() + 488 [ ] frame #2: 0x00000001064739dc Flutterdart::ThreadPool::Worker::Main(unsigned long) + 396
    [ ] frame feat(amplify_auth_cognito): initial commit for amplify_auth_cognito and amplify_auth_plugin_interface #3: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312 [ ] frame #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
    [ ] thread Update GettingStarted #20, name = 'io.worker.1'
    [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8 [ ] frame #1: 0x00000001dc974bc4 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1240
    [ ] frame feat(amplify_core): initial commit for amplify-flutter #2: 0x0000000105d07040
    Flutterstd::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 20 [ ] frame #3: 0x0000000105f8ce0c Fluttervoid*
    std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA
    CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_deletestd::_LIBCPP_ABI_NAMESPACE::__thread_struct>,
    fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 352
    [ ] frame Amplify analytics #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #21, name = 'io.worker.2' [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8
    [ ] frame Initial Commit #1: 0x00000001dc974bc4 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1240 [ ] frame #2: 0x0000000105d07040 Flutterstd::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lockstd::_LIBCPP_ABI_NAMESPACE::mutex&) + 20
    [ ] frame feat(amplify_auth_cognito): initial commit for amplify_auth_cognito and amplify_auth_plugin_interface #3: 0x0000000105f8ce0c Fluttervoid* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPA CE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 352 [ ] frame #4: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
    [ ] thread fix(amplify_auth_cognito) adding credentials code #22, name = 'DartWorker'
    [ ] frame #0: 0x00000001064a5dcc Flutterdart::MarkingVisitorBase<true>::VisitPointers(dart::ObjectPtr*, dart::ObjectPtr*) + 132 [ ] frame #1: 0x00000001063f10c0 Flutterdart::UntaggedObjectPool::VisitObjectPoolPointers(dart::ObjectPoolPtr, dart::ObjectPointerVisitor*)
  • 100
    [ ] frame feat(amplify_core): initial commit for amplify-flutter #2: 0x00000001064a50dc Flutterdart::ConcurrentMarkTask::Run() + 488 [ ] frame #3: 0x00000001064739dc Flutterdart::ThreadPool::Worker::Main(unsigned long) + 396
    [ ] frame Amplify analytics #4: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312 [ ] frame #5: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
    [ ] thread feat(amplify_auth_cognito): resendSignUpCode #23, name = 'DartWorker'
    [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8 [ ] frame #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284
    [ ] frame feat(amplify_core): initial commit for amplify-flutter #2: 0x00000001063e359c Flutterdart::Monitor::WaitMicros(long long) + 128 [ ] frame #3: 0x0000000106473aec Flutterdart::ThreadPool::Worker::Main(unsigned long) + 668
    [ ] frame Amplify analytics #4: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312 [ ] frame #5: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
    [ ] thread refactor(amplify_auth_cognito): suggestions from interface review #24, name = 'DartWorker'
    [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8 [ ] frame #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284
    [ ] frame feat(amplify_core): initial commit for amplify-flutter #2: 0x00000001063e359c Flutterdart::Monitor::WaitMicros(long long) + 128 [ ] frame #3: 0x000000010630dbe0 Flutterdart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 480
    [ ] frame Amplify analytics #4: 0x0000000106473b20 Flutterdart::ThreadPool::Worker::Main(unsigned long) + 720 [ ] frame #5: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312
    [ ] frame feat(amplify_analytics): initial commit #6: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116 [ ] thread #25, name = 'DartWorker' [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8
    [ ] frame Initial Commit #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284 [ ] frame #2: 0x00000001063e359c Flutterdart::Monitor::WaitMicros(long long) + 128
    [ ] frame feat(amplify_auth_cognito): initial commit for amplify_auth_cognito and amplify_auth_plugin_interface #3: 0x000000010630dbe0 Flutterdart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 480 [ ] frame #4: 0x0000000106473b20 Flutterdart::ThreadPool::Worker::Main(unsigned long) + 720
    [ ] frame [RFC]: Amplify Flutter #5: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312 [ ] frame #6: 0x00000001dc96e338 libsystem_pthread.dylib_pthread_start + 116
    [ ] thread Format all code using dartfmt #26, name = 'DartWorker'
    [ ] frame #0: 0x00000001bbed2484 libsystem_kernel.dylib__psynch_cvwait + 8 [ ] frame #1: 0x00000001dc974bf0 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$mp + 1284
    [ ] frame feat(amplify_core): initial commit for amplify-flutter #2: 0x00000001063e359c Flutterdart::Monitor::WaitMicros(long long) + 128 [ ] frame #3: 0x000000010630dbe0 Flutterdart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 480
    [ ] frame Amplify analytics #4: 0x0000000106473b20 Flutterdart::ThreadPool::Worker::Main(unsigned long) + 720 [ ] frame #5: 0x00000001063e2f58 Flutterdart::ThreadStart(void*) + 312
    [ ] frame feat(amplify_analytics): initial commit #6: 0x00000001dc96e338 libsystem_pthread.dylib`_pthread_start + 116
    [ ] (lldb) (lldb) Process 11712 detached
    [ +66 ms] ios-deploy exited with code 0

Categories

  • Analytics
  • API (REST)
  • API (GraphQL)
  • Auth
  • Authenticator
  • DataStore
  • Notifications (Push)
  • Storage

Steps to Reproduce

I configure amplify as below. The App always crash when I call datastore.start();

Future _configureAmplify() async {
print("Configuring amplify");
try {
// Add plugins

  await Future.wait([
    Amplify.addPlugin(AmplifyDataStore(
      modelProvider: ModelProvider.instance,
      conflictHandler: (ConflictData data) {
        return const ConflictResolutionDecision.applyRemote();
      },
    )),
    Amplify.addPlugin(AmplifyAPI()),
    Amplify.addPlugin(AmplifyAuthCognito()),
    Amplify.addPlugin(AmplifyStorageS3()),
  ]);
  
  // Configure Amplify

  await Amplify.configure(amplifyconfig);
  observeAuthHubEvent();

  await Amplify.DataStore.start();

  setState(() {
    _isAmplifyConfigured = true;
  });
} catch (e) {
  print("*****Add plugin failed*****");
  print(e);
}

}

Screenshots

No response

Platforms

  • iOS
  • Android
  • Web
  • macOS
  • Windows
  • Linux

Flutter Version

3.13.4

Amplify Flutter Version

^1.6.0

Deployment Method

Amplify CLI

Schema

No response

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 4, 2023

@stam0912 thanks for reporting this issue, can you please clarify

  • does this issue only happens on iOS15 device or does it also happen on iOS15 simulator?
  • does this issue happens on iOS17 device?
  • we've seen customer facing issues after upgrading to Xcode 15, if possible can you test with Xcode 14 and see if the issue might be related to upgrading xCode?

@NikaHsn NikaHsn self-assigned this Dec 4, 2023
@NikaHsn NikaHsn added datastore Issues related to the DataStore Category pending-response Issue is pending response from the issue requestor labels Dec 4, 2023
@stam0912
Copy link
Author

stam0912 commented Dec 4, 2023

I tested it on iOS15 simulator, it's not working as well. It crashed once syncing files to device.

[+2479 ms] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
[ +533 ms] VM Service URL on device: http://127.0.0.1:50409/YjR7dYR1L8I=/
[ +3 ms] Caching compiled dill
[ +109 ms] Connecting to service protocol: http://127.0.0.1:50409/YjR7dYR1L8I=/
[ +77 ms] remote notifications are not supported in the simulator
[ +190 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:50409/YjR7dYR1L8I=/.
[ +87 ms] DDS is listening at http://127.0.0.1:50412/Q7LvGhJVhPM=/.
[ +34 ms] Successfully connected to service protocol: http://127.0.0.1:50409/YjR7dYR1L8I=/
[ +12 ms] DevFS: Creating new filesystem on the device (null)
[ +21 ms] DevFS: Created new filesystem on the device
(file:///Users/user/Library/Developer/CoreSimulator/Devices/23375968-4A8F-451F-A4D3-CC38A5055135/data/Containers/Data/Application/145756D1-D744-440B
-AE9C-BE7C919D9A79/tmp/sample_projectcUGlzw/sample_project/)
[ +2 ms] Updating assets
[+1553 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[ +1 ms] Syncing files to device iPhone 7...
[ +1 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ ] <- recompile package:sample_project/main.dart b42958e3-9eb5-4c6a-b64e-4f85736ea458
[ ] <- b42958e3-9eb5-4c6a-b64e-4f85736ea458
[ +114 ms] Bundle processing done.
[ +8 ms] flutter: Setting notification listener done
[ ] flutter: Configuring amplify
[ ] flutter: FCM init
[ ] flutter: Connected to WiFi
[ ] flutter: User granted permission
[ +124 ms] Updating files.
[ ] DevFS: Sync finished
[ +1 ms] Syncing files to device iPhone 7... (completed in 249ms)
[ ] Synced 0.0MB.
[ ] <- accept
[ +1 ms] Connected to _flutterView/0x7fd44d862620.
[ +6 ms] Flutter run key commands.
[ ] r Hot reload. 🔥🔥🔥
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] A Dart VM Service on iPhone 7 is available at: http://127.0.0.1:50412/Q7LvGhJVhPM=/
[ +331 ms] The Flutter DevTools debugger and profiler on iPhone 7 is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:50412/Q7LvGhJVhPM=/
[ +616 ms] Service protocol connection closed.
[ ] Lost connection to device.
[ ] DevFS: Deleting filesystem on the device
(file:///Users/user/Library/Developer/CoreSimulator/Devices/23375968-4A8F-451F-A4D3-CC38A5055135/data/Containers/Data/Application/145756D1-D744-440B
-AE9C-BE7C919D9A79/tmp/sample_projectcUGlzw/sample_project/)
[ +253 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed

I don't have an iOS17 device I can test on at the moment but it works fine on the iOS17 simulator. I will try go back to Xcode 14 and see how it goes.

@stam0912
Copy link
Author

stam0912 commented Dec 4, 2023

Problem fixed by downgrading xcode to 14.3.1.

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 5, 2023

@stam0912 thanks for the update and glad the problem is fixed by downgrading to xcode 14.
I think flutter/flutter#136060 might be relevent to the problem you are facing when upgrading to xcode 15.

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 7, 2023

@stam0912 what version of connectivity_plus package do you use in your app? if using connectivity_plus v4 updating to connectivity_plus v5 may reslove this issue for xcode 15 based on comments on flutter/flutter#136060 and connectivity_plus v5 change log

@stam0912
Copy link
Author

stam0912 commented Dec 8, 2023

@stam0912 what version of connectivity_plus package do you use in your app? if using connectivity_plus v4 updating to connectivity_plus v5 may reslove this issue for xcode 15 based on comments on flutter/flutter#136060 and connectivity_plus v5 change log

I'm using 5.0.2

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 11, 2023

Thanks for confirming. I'm going to close this issue as it is related to upgrading to xcode 15 and maybe relevant to flutter/flutter#136060.

@NikaHsn NikaHsn closed this as completed Dec 11, 2023
@fabriquetonvoyage
Copy link

Why are you closing this issue ? Do we have to downgrade to xcode 14 ? It's not a long term solution.
Thanks.

@haverchuck haverchuck reopened this Dec 14, 2023
@haverchuck
Copy link
Contributor

@fabriquetonvoyage This does indeed seem to be related to an issue with Flutter and XCode, but we are seeing what we can do on our end.

@cwomack cwomack added pending-response Issue is pending response from the issue requestor and removed pending-response Issue is pending response from the issue requestor labels Dec 14, 2023
@haverchuck
Copy link
Contributor

haverchuck commented Dec 14, 2023

@fabriquetonvoyage This underlying issue with XCode and Flutter, as reported in other forums, seems to be related to older IOS deployment targets (11 or below). We already require above 11.0, but older versions of connectivity_plus were allowing this. So, could you please provide:

  • Your app's ios deployment target?
  • Your version of connectivity_plus from your pub lock?

@fabriquetonvoyage
Copy link

fabriquetonvoyage commented Dec 15, 2023

Thanks @haverchuck ,
Here is my configuration :

  • ios deployment target : 13.0
  • connectivity_plus version : 5.0.2
  • ios version on device : 15.8
  • XCode : 15.1

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 15, 2023

@fabriquetonvoyage I created an example app with Amplify DataStore and was not able to reproduce this issue. I ran the app on iOS 15.5 simulator with Xcode 15.1 and Flutter 3.16.3. here is the flutter doctor -v output. can you please run flutter doctor -v and check if the versions are same as mine.

% flutter doctor -v
[✓] Flutter (Channel stable, 3.16.3, on macOS 13.6.2 22G320 darwin-arm64, locale en-US)
    • Flutter version 3.16.3 on channel stable at /Users/nikaws/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (10 days ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nikaws/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (3 available)
    • iPhone 13 Pro (mobile) • 8938F234-01AC-4A61-B6A8-F5E73C7849E2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.6.2 22G320 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@NikaHsn NikaHsn added the not-reproducible Issues that cannot be reproduced using the steps provided label Dec 15, 2023
@fabriquetonvoyage
Copy link

fabriquetonvoyage commented Dec 16, 2023

Here is my flutter doctor output :

[✓] Flutter (Channel stable, 3.16.3, on macOS 14.2 23C64 darwin-arm64, locale fr-FR)
    • Flutter version 3.16.3 on channel stable at /Users/cletetour/devhome/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (11 days ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/cletetour/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 14.2 23C64 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.109

[✓] Network resources
    • All expected network resources are available.

• No issues found!

The issue happen only when Datastore.start() is called in runtime.

@NikaHsn
Copy link
Contributor

NikaHsn commented Dec 18, 2023

@fabriquetonvoyage can you please share your schema and a code sample to reproduce this issue?

@christianflying
Copy link

Have the same problem now.
It is not reproducible with simulator.

It is only reproduceable with iPhone.
I have:
iPhone 7
IOS: 15.7.8
Xcode 15.x

Do I have to downgrade to Xcode 14.x ?
The problem is, Xcode 14.x is not installable on Sonoma :-(
Have to downgrade my Mac mini to Ventura

@NikaHsn
Copy link
Contributor

NikaHsn commented Jan 10, 2024

@christianflying sorry that you are facing this issue. would you please share

  • the error message you get
  • the schema and reproducting steps so that we can reproduce the issue.

@NikaHsn
Copy link
Contributor

NikaHsn commented Jan 18, 2024

@stam0912 @fabriquetonvoyage @christianflying the flutter/flutter#136060 is fixed and released in flutter 3.16.6. please upgrade to 3.16.6 or above and let us know if you still experience this issue.

@NikaHsn NikaHsn added the pending-close-response-required The issue will be closed if details necessary to reproduce the issue are not provided within 7 days. label Jan 18, 2024
@NikaHsn NikaHsn changed the title App crashes when calling datastore.start(), stop reason = EXC_BAD_ACCESS (code=1, address=0x0) App built with Xcode 15 crashes on iOS less than 17 with EXC_BAD_ACCESS when using the Networking framework Jan 25, 2024
@NikaHsn
Copy link
Contributor

NikaHsn commented Jan 25, 2024

I'm closing this as a duplicate of flutter/flutter#136060 with the fix released in flutter 3.16.6.

@NikaHsn NikaHsn closed this as completed Jan 25, 2024
@NikaHsn NikaHsn removed the datastore Issues related to the DataStore Category label Jan 25, 2024
@NikaHsn NikaHsn added the duplicate This issue or pull request already exists label Jan 25, 2024
@christianflying
Copy link

It is not fixed. I installed newest Xcode and upgraded flutter to 3.16.9

still getting in Terminal:

Successfully started datastore cloud syncing
[IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject
[IncomingAsyncSubscriptionEventToAnyModelMapper] Received subscription: PassthroughSubject

  • thread Amplify analytics #7, queue = 'com.amazonaws.amplify.AWSSubscriptionConnectionFactory', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
    error: memory read failed for 0x0
    Target 0: (Runner) stopped.

@jbarszczewski
Copy link

I'm having the same issue. I've updated xcode and flutter to newest versions.

@christianflying
Copy link

Temporary Fix:
Install xCode 14.3.1 in Sonoma by downloading the .ZIP
Extract it
Drag and drop xCode into the Program Folder.

Run:
flutter build iOS

@fabriquetonvoyage
Copy link

fabriquetonvoyage commented Feb 6, 2024

Hi @NikaHsn ,
Is there a plan for a fix with xCode 15.X ?
Thanks a lot, Clément.
PS : Flutter 3.16.6 and other (beta channel) does'nt fix the issue for me.

@fabriquetonvoyage
Copy link

@fabriquetonvoyage can you please share your schema and a code sample to reproduce this issue?

To repoduce, juste call Amplify.DataStore.start(); in a Widget.

Here is my configuration :
`[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale fr-FR)
• Flutter version 3.16.9 on channel stable at /Users/cletetour/devhome/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (12 days ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/cletetour/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.15.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.86.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.82.0

[✓] Connected device (4 available)
• iPhone 6S LFAV (mobile) • 2238c3bebcebc7bb1695a57fe368bf7ab06418f9 • ios • iOS 15.8 19H370
• macOS (desktop) • macos • darwin-arm64 • macOS 14.2.1 23C71 darwin-arm64`

@jbarszczewski
Copy link

Temporary Fix: Install xCode 14.3.1 in Sonoma by downloading the .ZIP Extract it Drag and drop xCode into the Program Folder.

Run: flutter build iOS

I think soon that workaround will not be possible:
ITMS-90725: SDK version issue - This app was built with the iOS 16.4 SDK. Starting April 29, 2024, all iOS and iPadOS apps must be built with the iOS 17 SDK or later, included in Xcode 15 or later, in order to be uploaded to App Store Connect or submitted for distribution.

Why is this issue closed if it's clearly still an open issue for many people?

@Mohammadwabeel
Copy link

Same issue on Xcode 15, Flutter 3.19.4, however on simulator its working but still datastore throws -

The 'com.amazonaws.amplify/datastore' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.

And data is not synced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists not-reproducible Issues that cannot be reproduced using the steps provided pending-close-response-required The issue will be closed if details necessary to reproduce the issue are not provided within 7 days. pending-response Issue is pending response from the issue requestor
Projects
None yet
Development

No branches or pull requests

8 participants