Can't build with Xcode 16.0 Beta 1
enricenrich opened this issue ยท 12 comments
Platform
iOS, iPadOS
Environment
Develop
Installed
CocoaPods
Version
8.28.0
Xcode Version
16.0 (Beta 1)
Did it work on previous versions?
15.4
Steps to Reproduce
- Install Xcode 16.0 (Beta 1).
- Build the app.
Expected Result
The app builds and runs as in Xcode 15.4.
Actual Result
The process fails with multiple errors in Sentry's SDK. Concretely, the SentryCrashMonitor_CPPException.cpp
file.
Are you willing to submit a PR?
No response
Updating to 8.28.0 fixed this compilation issue for me. Based on release notes 8.27.0 likely compiles as well.
@josh150 I tried compiling my app for iOS 18 with Sentry 8.28.0 and got the same compilation issue as OP.
@Zandor300 This did not work for me either.
@Brett-Best Thanks!
Thanks @Brett-Best. Please, let us know when a new release is made for us to update.
It is failing to me using React native..
[!] CocoaPods could not find compatible versions for pod "Sentry/HybridSDK":
In Podfile:
RNSentry (from ../node_modules/@sentry/react-native
) was resolved to 5.23.1, which depends on
Sentry/HybridSDK (= 8.27.0)
Trying to install 8.28 as well directly and says cocoapods cannot find such version.
@andrescala we will release the fix for sentry-cocoa today, our React Native SDK then needs to bump the dependency and release the fix separately. Please refer to getsentry/sentry-react-native#3883 to check the status of this issue for our React Native SDK.
New version (8.29.0) available with the solution for this problem.
Thank you all for bringing this up.
Thanks, @brustolin!
i fix it:
class: SentryCrashMonitor_CPPException
add: #include
include exception
try it. hope help