Skip to content

Conversation

dkimitsa
Copy link
Contributor

@dkimitsa dkimitsa commented Jun 6, 2022

Problem: linker error like this:

ld: .../swift/iphoneos/libswiftCompatibilityConcurrency.a(CompatibilityConcurrency.cpp.o), building for iOS Simulator,
but linking in object file built for iOS, for architecture arm64

Root case: old code that was targeting device if arch is arm. But should also check environment for simulator

Problem: linker error like this:
> ld: .../swift/iphoneos/libswiftCompatibilityConcurrency.a(CompatibilityConcurrency.cpp.o), building for iOS Simulator,
> but linking in object file built for iOS, for architecture arm64

Root case: old code that was targeting device if arch is `arm`. But should also check `environment` for simulator
@Tom-Ski Tom-Ski merged commit b8cd7f6 into MobiVM:master Jun 11, 2022
@dkimitsa dkimitsa deleted the fix/swiftSupport_arm_sim branch June 12, 2022 13:45
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

Successfully merging this pull request may close these issues.

2 participants