build swift and oc dylib link issues

swift_getFunctionReplacement, referenced from:
      _swift_getFunctionReplacement50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o)
      _swift_getFunctionReplacement50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o)
  _swift_getOrigOfReplaceable, referenced from:
      _swift_getOrigOfReplaceable50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o)
      _swift_getOrigOfReplaceable50 in libswiftCompatibilityDynamicReplacements.a[x86_64][6](DynamicReplaceable.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

the env is Xcode 15.1 in Mac 14.2.1

There’s not enough info here for me to offer any opinion as to what’s failing. What are you trying to do when you see this failure?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

build swift and oc dylib link issues
 
 
Q