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

Unsafe build flags in 8.14.0 - cannot build #3347

Closed
nemecek-filip opened this issue Oct 18, 2023 · 9 comments · Fixed by #3348
Closed

Unsafe build flags in 8.14.0 - cannot build #3347

nemecek-filip opened this issue Oct 18, 2023 · 9 comments · Fixed by #3348

Comments

@nemecek-filip
Copy link

Platform

iOS

Installed

Swift Package Manager

Version

8.14.0

Steps to Reproduce

Install 8.14.0 with SPM
Start build in Xcode 15

Expected Result

Builds

Actual Result

Build error:

The package product 'Sentry' cannot be used as a dependency of this target because it uses unsafe build flags.
image

Are you willing to submit a PR?

No response

@nemecek-filip
Copy link
Author

I am sorry for the minimal amount of detail, but this is first time I am seeing build error like this and there isn't anything more specific in Xcode

@gabors
Copy link
Contributor

gabors commented Oct 18, 2023

@nemecek-filip I just ran into the very same issue. Also scratching my head :)

@gabors
Copy link
Contributor

gabors commented Oct 18, 2023

https://forums.swift.org/t/override-for-unsafeflags-in-swift-package-manager/45273

@kahest
Copy link
Member

kahest commented Oct 18, 2023

Thanks for reporting, we'll investigate!

@getsantry getsantry bot removed the status in GitHub Issues with 👀 Oct 18, 2023
@kahest kahest moved this from Needs Discussion to Needs Investigation in Mobile & Cross Platform SDK Oct 18, 2023
@twprzybysz
Copy link

+1

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 Oct 18, 2023
@mmaetzler
Copy link

mmaetzler commented Oct 18, 2023

+1, Also tried 8.14.0 and get the same result. I can currently not include Sentry in my product anymore since XCode 15 will not allow me to build because of Sentry. Version 8.13.0 works

@armcknight
Copy link
Member

I just encountered this myself on an unrelated demo app. A fix is in the works now!

@getsantry getsantry bot removed the status in GitHub Issues with 👀 Oct 18, 2023
@kahest kahest moved this from Needs Investigation to In Progress in Mobile & Cross Platform SDK Oct 18, 2023
@kahest kahest moved this from In Progress to Needs Review in Mobile & Cross Platform SDK Oct 18, 2023
@github-project-automation github-project-automation bot moved this from Needs Review to Done in Mobile & Cross Platform SDK Oct 18, 2023
@armcknight
Copy link
Member

@mmaetzler @nemecek-filip @gabors We just released the hotfix in 8.14.1, please let us know if that gets you back to normal again!

@mmaetzler
Copy link

I can confirm that 8.14.1 works. Thanks for the quick fix!

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

Successfully merging a pull request may close this issue.

6 participants