getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
813 stars 329 forks source link

Can not build release 8.39.0 with Xcode 15.1 #4476

Open embassem opened 3 weeks ago

embassem commented 3 weeks ago

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 commented 3 weeks ago

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 commented 3 weeks ago

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.

embassem commented 3 weeks ago

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 commented 3 weeks ago

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