-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
[iOS] Error on Xcode 16 #2303
Comments
Same issue. Any temporary fix? |
Same issue |
Have you tried the mentioned fix above? Using sentry dart version 8.8.0 or higher |
I'm using 8.9.0 from pub.dev |
@denrase It works starting from 8.8.0 |
So i cannot reproduce this, building works for me with the current Xcode This is my
@Klucherev Could you try the following:
flutter upgrade
rm -rf ~/Library/Developer/Xcode/DerivedData/*
flutter pub get
flutter run Please report back if this resolves your issue. Thank you. |
After cleaning project it's working now! |
@Klucherev Nice, so it was probably the usual Xcode hickups, glad it's working for you. |
is there any fix for SDK 6.22.0 ?
|
@dilraj007 I haven't tried it or checked it out but the only thing that comes to my mind is if you somehow manage to override the Sentry Cocoa pod dependency to the latest version (if even possible). Even if you successfully do that, there's no guarantee for any stability in the SDK |
@buenaflor I see, thanks for the reply. If it's breaks on Xcode 16, does it mean right now my app that are using this Sentry SDK version is not running on IOS 18? |
No, it only reports an error when compiling with xcode 16 because apple changed things although I cannot tell you which exact changes were relevant - thats why we had to make adjustments in our Sentry Cocoa SDK. Your existing apps in prod using the SDK are fine. Those two are unrelated |
So, what is the solution for this? |
Update the pods. If not working Sentry package. Or update your flutter version 😁 |
Platform
Flutter Mobile
Obfuscation
Disabled
Debug Info
Enabled
Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.12, on macOS 14.5 23F79 darwin-arm64, locale en-VN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run
path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run
flutter doctor --android-licenses
to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/macos#android-setup for more
details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[!] Android Studio (version 2023.2)
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.93.1)
[✓] Connected device (4 available)
! Error: Browsing on the local area network for iPhone 12pro max test kvonline
😁😁😁_|~}qẻ1. Ensure the device is unlocked and attached with a cable or
associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] HTTP Host Availability
! Doctor found issues in 2 categories.
Version
6.22.0
Steps to Reproduce
Expected Result
Run IOS success
Actual Result
Are you willing to submit a PR?
None
The text was updated successfully, but these errors were encountered: