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

Crash on Xcode 15 RC #422

Open
adamivancza opened this issue Sep 15, 2023 · 0 comments
Open

Crash on Xcode 15 RC #422

adamivancza opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@adamivancza
Copy link

Environment

OS: macOS 13.5.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 52.49 MB / 32.00 GB
Shell:
version: 3.2.57
path: /bin/bash
Binaries:
Node:
version: 18.17.1
path: ~/.nvm/versions/node/v18.17.1/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.1/bin/npm
Watchman:
version: 2023.08.07.00
path: /usr/local/bin/watchman
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode:
version: 15.0/15A240d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 15.0.1
path: /usr/bin/javac
Ruby:
version: 3.2.1
path: /Users/adamivancza/.rvm/rubies/ruby-3.2.1/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Platforms

iOS

Versions

Please add the used versions/branches

  • Android:
  • iOS: 17.0
  • react-native-geolocation-service: 5.3.1
  • react-native: 0.72.4
  • react: 18.2.0

Description

Our app crashes when built with Xcode 15 RC and ran on iOS 17. After invoking the Geolocation.getCurrentPosition function on the JS side the app crashes with EXC_BAD_ACCESS issue. In Xcode it highlights this line:

if let clErr = error as? CLError {

and the as? is underlined with red. I tried to wrap this in do/catch but that did not prevent the crash either.

Reproducible Demo

Provide a detailed list of steps that reproduce the issue.

Expected Results

The app should not crash

@adamivancza adamivancza added the bug Something isn't working label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant