Comments (4)
Hi @CJblaze2022, thanks for opening this issue.
From what I found online, this crash happens when attempting to use NWPathMonitor
on builds created using Xcode 15 and targeting iOS versions lower than 12, and it only seems to affect CocoaPods.
As a quick fix, you can update both AppSyncRealTimeClient
and AWSAppSync
targets in your Pods project to use iOS 12.0 as the Minimum Deployment version:
Note that this will be overwritten every time you do a pod install
or pod update
, so if you wish to avoid that you can instead add a post-install
script to your Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "AWSAppSync" || target.name == "AppSyncRealTimeClient"
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end
end
We're already working on bumping the minimum deployments for these pods to iOS 12:
Once these are merged and released, you won't need to manually update anything.
We'll post an update here once that's done.
from aws-mobile-appsync-sdk-ios.
hi @ruisebas so sorry for the late response, we were testing you solution (it is not easy to find iOS 15 and 16 devices 😅), we changed our minimum deployment
from 11.4 to 12.0 and it solved the issue. Many thanks for your support! 🙌🏼
from aws-mobile-appsync-sdk-ios.
AppSync SDK 3.7.0 and AppSyncRealTimeClient 3.2.0 have been released bumping the minimum deployment target to iOS 12. Please upgrade your dependencies to the latest versions.
Thanks!
from aws-mobile-appsync-sdk-ios.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
from aws-mobile-appsync-sdk-ios.
Related Issues (20)
- Crash: AWSAppSyncClient.sync HOT 5
- Removing pods from source control HOT 2
- AWSMobileClient Crash when app starts HOT 3
- Completion Handler on AWSAppSyncClient.perform called more than once. HOT 1
- Enabling retry for custom scenarios HOT 1
- Update SQLite dependency to match Amplify.DataStore's SQLite version
- Make public constructor for GraphQLError HOT 2
- SPM dependency conflict with Amplify library HOT 6
- Using AWSAppSync with Amplify DataStore HOT 5
- App crashes: AWSAppSync $s10AWSAppSync36AWSCognitoUserPoolsAuthProviderAsyncPAAE09getLatestF5TokenSSyF HOT 1
- SPM dependency resolution failure using aws-mobile-appsync-sdk-ios 3.6.2 and amplify-swift 2.6.0 HOT 2
- AWS subscriptions - subscribe function is not thread safe and causes crashes HOT 1
- Version incompability with other amplify packages HOT 2
- Unknow TCP connection process keep running even when all subscriptions are unsubscribed HOT 1
- How to avoid duplicate mutations when the app is backgrounded/quit before the mutation is finished? HOT 1
- AppSync retry mechanism HOT 3
- For iOS App, We are using this SDK, We are getting ITMS-91053: Missing API declaration recently because PrivacyInfo needs to be included for 3rd party SDK. HOT 9
- Crash on APIKeyBasedConnectionPool HOT 12
- Xcode 16 build error "Missing argument label 'value'" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-mobile-appsync-sdk-ios.