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

Build error on version 3.6.9 - unsafe build flags #580

Open
SoKamil opened this issue Nov 3, 2023 · 5 comments
Open

Build error on version 3.6.9 - unsafe build flags #580

SoKamil opened this issue Nov 3, 2023 · 5 comments

Comments

@SoKamil
Copy link

SoKamil commented Nov 3, 2023

Xcode 15.0.1
macOS 13.5.1

I updated library version to 3.6.9 and got the following error when building the project:

❌ the target 'ZXingObjC' in product 'ZXingObjC' contains unsafe build flags.

I believe this issue was introduced in PR #569 by those changes:

linkerSettings: [
.unsafeFlags(["-fprofile-instr-generate"])
]

Library is linked with the exact version.

.package(
    url: "https://github.com/zxingify/zxingify-objc",
    exact: "3.6.9"
)

I know there are some workarounds like providing commit hash but it doesn't cut it for me.

@valeriy-kolodiy
Copy link

Are there any updates regarding this issue?

@AdAvAn
Copy link

AdAvAn commented May 1, 2024

+1

@bunoza
Copy link

bunoza commented May 15, 2024

Any updates?

@joergbirkhold
Copy link

with Xcode 15.4 even the commit workaround does not work...
is there a way to remove the flag? would be willing to help if somebody points me in the right direction

@salvatoreboemia
Copy link

Hi, news on this issue? Of course is still present on Xcode 16

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

6 participants