Error occurs while compiling with xcode 12.1. Full descriptionns are as follows:
ld: in
/Volumes/E/AppDev/Project/iOS/platforms/ios/sdk/libHiP2PSDK.a(HIPPP4Compatible_API.o), building for iOS, but linking in object file built for macOS, file '/Volumes/E/AppDev/Project/iOS/platforms/ios/sdk/libHiP2PSDK.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried many other possible solutions found for this related error but still won't work. Hope someone could help, thanks in advance.