Open natetyler opened 1 year ago
Thank you for reporting. Can you tell me more about what you exactly mean by building for 14.4?
The @available
check prevents runtime crashes while running on iOS lower than 15. A minimum deployment target of 12.0
is supported.
@michalchudziak After just installation of react-native-geolocation
throw same error for me as well.
I am facing the same issue could you please provide any solution?
I am facing the same issue could you please provide any solution?
Just buy new macbook.(atleast macbook pro 2016 ). Because old models doesn't support ios 15 build.
@michalchudziak Sorry for the delay in responding but looks like others are having the same problem above. If you see my full environment list, I am using an older macbook with Catalina, so I am using XCode 12.4 and targeteting iOS v14.4.
as @Asmatchd shared in the screenshot, I am getting the same error
Having the same problem (on 2015 Macbook Air, Big Sur, XCode 12.5, targeting IOS 14.5). Any suggested workarounds?
same error
Environment
System: OS: macOS 10.15.7 CPU: (8) x64 Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz Memory: 725.22 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 18.9.0 - /usr/local/bin/node Yarn: Not Found npm: 8.19.1 - /usr/local/bin/npm Watchman: 2022.09.05.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 12.4/12D4e - /usr/bin/xcodebuild Languages: Java: Not Found npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.0 => 0.70.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Platforms
iOS
Versions
Description
After installing react-native-geolocation and running pod install, I get the following build error:
In file RNCGeolocation.mm
I see that the call is wrapped in @available but I don't know enough about Objective C to know why this would or wouldn't work:
I am building for iOS 14.4 which does not have the CLLocation.sourceInformation property
Reproducible Demo
None at this time but I can provide if necessary