The ReactiveSwift project has started failing to build for watchOS after the Xcode update on our CI nodes to 15.2 The error seen in the log is
Undefined symbols for architecture armv7k:
"___llvm_profile_runtime", referenced from:
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
___llvm_profile_runtime_user in ReactiveSwift_vers.o
___llvm_profile_runtime_user in Optional.o
___llvm_profile_runtime_user in Disposable.o
___llvm_profile_runtime_user in Event.o
___llvm_profile_runtime_user in Scheduler.o
___llvm_profile_runtime_user in ResultExtensions.o
___llvm_profile_runtime_user in ValidatingProperty.o
...
...
(maybe you meant: ___llvm_profile_runtime_user)
ld: symbol(s) not found for architecture armv7k
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Description
The ReactiveSwift project has started failing to build for watchOS after the Xcode update on our CI nodes to 15.2 The error seen in the log is
Reproduction
Expected behavior
Expected the project to build fine
Environment
Apple Swift version 5.11-dev (LLVM 8cc8bcbcb386d23, Swift https://github.com/apple/swift/commit/556a9b1ff2010f8eeb95a5e9543a71fbaa658a66) Target: x86_64-apple-macosx10.13
Additional information
No response