Xcode 14.3.1build 报错整理

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:

Xcode 14.3.1build 报错整理_第1张图片

step2:

Xcode 14.3.1build 报错整理_第2张图片

step3:完全删除VALID_ARCHS

Xcode 14.3.1build 报错整理_第3张图片

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

你可能感兴趣的:(xcode,macos,react,native,ios)