当我使用 react-native-onesignal 库在 xcode 12.4 上运行项目时,它正在工作。但是当我将项目移动到 xcode 12.5 时,它给了我这个问题。
ld: in /Users/client/Documents/xcode_projects/project/project/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal(OneSignal-arm64-master.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/client/Documents/xcode_projects/project/project/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/OneSignal'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请帮我解决这个问题。我花了大约 5-6 个小时来解决这个问题,但没有运气:(