ld: building for iOS Simulator, but linking in dylib built for iOS

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

@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 :)

Firstly I had to go tot he Architectures section and replace $(ARCHS_STANDARD) by x86_64. Then reinstall pods .  I hope this helps

ld: building for iOS Simulator, but linking in dylib built for iOS
 
 
Q