1、Command PhaseScriptExecution failed with a nonzero exit code
2、In /Users/XX/XX/XX/fayuan-mediator-app-rn/ios/Pods/CocoaLibEvent/lib/libevent.a(buffer.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/XX/XX/XX/fayuan-mediator-app-rn/ios/Pods/CocoaLibEvent/lib/libevent.a' for architecture arm64
step1:
step2:
step3:完全删除VALID_ARCHS
3、Framework not found TXFFmpeg
Build Phases --> Link Binary With Libraries
中添加TXFFmpeg、TXSoundTouch
参考链接:
https://khushwanttanwar.medium.com/xcode-12-compilation-errors-while-running-with-ios-14-simulators-5731c91326e9