Skip to content

the target 'SentrySwift' in product 'SentrySPM' contains unsafe build flags #7738

@gabors

Description

@gabors

Platform

iOS

Environment

Production

Installed

Swift Package Manager

Other Error Monitoring Solution

No

Other Error Monitoring Solution Name

No response

Version

9.8.0

Xcode Version

26.4

Did it work on previous versions?

No response

Steps to Reproduce

I was trying out the "build from source" option again, excluding UI framework using traits: ["NoUIFramework"].
Followed instructions here https://docs.sentry.io/platforms/apple/install/swift-package-manager/

Unable to build:

the target 'SentrySwift' in product 'SentrySPM' contains unsafe build flags

Expected Result

Expect to build

Actual Result

the target 'SentrySwift' in product 'SentrySPM' contains unsafe build flags

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions