Hi,
I'm trying to compile the app with Xcode version 12.0 beta 6 on a simulator with iOS 14.0 and then I get this error:
"ld: building for iOS Simulator, but linking in dylib built for iOS, file ‘../Lib/Framework-dynamic/PDFNet.framework/PDFNet’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
I have attached you the error.
Can you please guide us on how to solve this issue.
Thanks in advance.
Best Regards, Walid
I'm trying to compile the app with Xcode version 12.0 beta 6 on a simulator with iOS 14.0 and then I get this error:
"ld: building for iOS Simulator, but linking in dylib built for iOS, file ‘../Lib/Framework-dynamic/PDFNet.framework/PDFNet’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
I have attached you the error.
Can you please guide us on how to solve this issue.
Thanks in advance.
Best Regards, Walid
I faced this same issue in the following configuration
Xcode 13.1 + Monterey OS 12.0.1 + Intel chip
I had to go tot he Architectures section and replace $(ARCHS_STANDARD) by x86_64.
I hope this helps.
@qamon can I get your help? I have the same setup and can't get it to work. I have been on this for 6 days now and its getting tiring :)