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

Does not work with Xcode 16 #394

Closed
mlukasik-dev opened this issue Sep 19, 2024 · 2 comments
Closed

Does not work with Xcode 16 #394

mlukasik-dev opened this issue Sep 19, 2024 · 2 comments

Comments

@mlukasik-dev
Copy link

Summary

After upgrading my MacOS and Xcode to the latest versions my ios build fails with the following errors:

[RUN_FASTLANE] ▸ ** ARCHIVE FAILED **
[RUN_FASTLANE] ▸ The following build commands failed:
[RUN_FASTLANE] ▸ 	CompileC /Users/me/Library/Developer/Xcode/DerivedData/Pray4UANext-cmvhhahuyyuagjfmjittidgfzzce/Build/Intermediates.noindex/ArchiveIntermediates/Pray4UANext/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Sentry.build/Objects-normal/arm64/SentryCrashMonitor_CPPException.o /var/folders/29/ysj4vr6j2xj_01_h7kgy7g3w0000gq/T/eas-build-local-nodejs/3feb9da2-3c2d-4718-8f36-d365af4cfea5/build/apps/pray4ua-app/ios/Pods/Sentry/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Sentry' from project 'Pods')
[RUN_FASTLANE] ▸ 	Archiving workspace Pray4UANext with scheme Pray4UANext
[RUN_FASTLANE] ▸ (2 failures)
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE]
[RUN_FASTLANE]
[RUN_FASTLANE] The following build commands failed:
[RUN_FASTLANE] 	CompileC /Users/me/Library/Developer/Xcode/DerivedData/Pray4UANext-cmvhhahuyyuagjfmjittidgfzzce/Build/Intermediates.noindex/ArchiveIntermediates/Pray4UANext/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Sentry.build/Objects-normal/arm64/SentryCrashMonitor_CPPException.o /var/folders/29/ysj4vr6j2xj_01_h7kgy7g3w0000gq/T/eas-build-local-nodejs/3feb9da2-3c2d-4718-8f36-d365af4cfea5/build/apps/pray4ua-app/ios/Pods/Sentry/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'Sentry' from project 'Pods')
[RUN_FASTLANE] 	Archiving workspace Pray4UANext with scheme Pray4UANext
[RUN_FASTLANE] (2 failures)
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +---------------------------------------+
[RUN_FASTLANE] |           Build environment           |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path  | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.222.0                 |
[RUN_FASTLANE] | sdk         | iPhoneOS18.0.sdk        |
[RUN_FASTLANE] +-------------+-------------------------+

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

51

Environment

expo-env-info 1.2.0 environment info:
System:
OS: macOS 15.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
Yarn: 1.22.22 - ~/Library/pnpm/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm
Managers:
CocoaPods: 1.15.2 - /Users/me/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12169540
Xcode: 16.0/16A242d - /usr/bin/xcodebuild
Expo Workflow: bare

Reproducible demo or steps to reproduce from a blank project

Update your macOS to version 15.0 and Xcode to version 16, then run expo run:ios.

@mlukasik-dev
Copy link
Author

Sorry, I've just noticed that repo is deprecated.

@grifotv
Copy link

grifotv commented Oct 21, 2024

@mlukasik-dev try upgrading @sentry/react-native getsentry/sentry-react-native#4095 (comment)

In my case it solved by having this version:

  • @sentry/react-native = 5.34.0
  • sentry-expo = 7.2.0

I'm on macOS 15.0.1 with Xcode 16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants