Amplitude-iOS icon indicating copy to clipboard operation
Amplitude-iOS copied to clipboard

Amplitude will not build as a Swift Package in Xcode

Open pmurphyjam opened this issue 3 years ago • 9 comments
trafficstars

Expected Behavior

Should build

Current Behavior

Showing Recent Messages The package product 'Amplitude' cannot be used as a dependency of this target because it uses unsafe build flags.

Possible Solution

Use prior version

Steps to Reproduce

Just try to build it as a Swift Package

Environment

  • SDK Version: Latest 8.10.1
  • Device: iPhone 13, 2020 MacBook Pro 16-inch
  • OS Version: . iOS 15.4, MacOS 12.4

pmurphyjam avatar Jun 16 '22 00:06 pmurphyjam

Same issue here. Please fix it ASAP we want to submit new version to the store.

roimulia2 avatar Jun 16 '22 07:06 roimulia2

Same issue with 8.10.1:

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

8.10.0 works fine.

vvbutko avatar Jun 16 '22 10:06 vvbutko

Same issue. 8.10.0 works for me.

larryonoff avatar Jun 17 '22 10:06 larryonoff

Same here

LaurentiuUngur avatar Jun 17 '22 10:06 LaurentiuUngur

Also having this issue, specifying 8.10.0 for now works but hope this can be resolved and avoided in future.

roryprior avatar Jun 20 '22 14:06 roryprior

I also see this issue

lewis-smith avatar Jun 20 '22 14:06 lewis-smith

Same here

georgbachmann avatar Jun 20 '22 15:06 georgbachmann

Same here ☹️

BastienPenalba avatar Jun 21 '22 15:06 BastienPenalba

Thanks for reporting this! We have reverted the unsafeFlags change and published a new version v8.10.2.

liuyang1520 avatar Jun 21 '22 20:06 liuyang1520