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

Can not build release 8.39.0 with Xcode 15.1 #4476

Open
embassem opened this issue Oct 28, 2024 · 4 comments · May be fixed by #4483
Open

Can not build release 8.39.0 with Xcode 15.1 #4476

embassem opened this issue Oct 28, 2024 · 4 comments · May be fixed by #4483

Comments

@embassem
Copy link

Platform

iOS

Environment

Other

Installed

Carthage

Version

8.39.0

Xcode Version

15.1

Did it work on previous versions?

yes,

Steps to Reproduce

Update sentry cocoa in cart file to 8.39.0

run carthage update --platform iOS --cache-builds --no-use-binaries --use-xcframeworks

Expected Result

Carthage should be able to build sentry and generate xcframeworks.

Actual Result

failed to build the new release

xcodebuild: error: Unable to read project 'SwiftUITestSample.xcodeproj' from folder '~/my-repo-ios/Carthage/Checkouts/sentry-cocoa/TestSamples/SwiftUITestSample'.
	Reason: The project ‘SwiftUITestSample’ is damaged and cannot be opened. Examine the project file for invalid edits or unresolved source control conflicts.

Image

Are you willing to submit a PR?

No response

@brustolin
Copy link
Contributor

Hello @embassem, sorry about the trouble.
I’m wondering whether, even without the samples, you’d be able to use Carthage since the SDK project itself is also developed in Xcode 16. However, I’m not sure if we’ve updated the project.

Is there any particular reason you haven’t updated to Xcode 16?

@lancefu-eventbase
Copy link

Hello @embassem, sorry about the trouble. I’m wondering whether, even without the samples, you’d be able to use Carthage since the SDK project itself is also developed in Xcode 16. However, I’m not sure if we’ve updated the project.

Is there any particular reason you haven’t updated to Xcode 16?

Not the OP, but we're also having the same issue unfortunately with Carthage.

At my company, based on our development timeline, we're not going to be able to update to Xcode 16 for another month or two. However, even then, we need to support existing projects on Xcode 15 still for couple months more after it.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Oct 28, 2024
philipphofmann added a commit that referenced this issue Oct 29, 2024
Set compatibilityVersion for SwiftUITestSample.xcodeproj to 14.0
instead of 15.3 so users can compile the SDK from source on Xcode 14.0
and above.

Fixes GH-4476
@embassem
Copy link
Author

embassem commented Oct 30, 2024

Is there any particular reason you haven’t updated to Xcode 16?

Same here, updating the stack takes time and Company will not update till the end of 2024.

@brustolin
Copy link
Contributor

@embassem No worries.
We're fixing this issue. A solution is coming soon.

@brustolin brustolin moved this from Needs Discussion to In Progress in Mobile & Cross Platform SDK Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants