braze-inc / braze-swift-sdk

https://www.braze.com
Other
48 stars 19 forks source link

[Bug]: Build failed #133

Closed sergey-shablenko closed 3 weeks ago

sergey-shablenko commented 3 weeks ago

Platform

iOS

Platform Version

IOS 14

Braze SDK Version

9.0.0

Xcode Version

15.01

Computer Processor

Apple (M1)

Repro Rate

100%

Steps To Reproduce

podfile has following

platform :ios, '14'

use_frameworks! :linkage => :static

pod 'BrazeKit' pod 'BrazeUI'

Expected Behavior

App builds

Actual Incorrect Behavior

App does not build in github macos-14-xlarge runner

Undefined symbols for architecture arm64: Error: "_$s11ActivityKit0A0C23pushToStartTokenUpdatesAC04PushfG0VyxGvgZ", referenced from: Warning: $s8BrazeKit0A0C14LiveActivitiesC19registerPushToStart7forType4nameScTyyts5NeverOG08ActivityB00M0CyxGm_SStAL0M10AttributesRzAA0acmN0RzlFyyYaYbcfU0TY0 in BrazeKit(BrazeKit-arm64-master.o) Error: ld: symbol(s) not found for architecture arm64 Error: clang: error: linker command failed with exit code 1 (use -v to see invocation)

Verbose Logs

No response

Additional Information

Build from my laptop works just fine, which is confusing as Im running build on M2 Macos 14.5 xcode 15.4 which is not that different from github runner