building for iOS-armv7 but attempting to link with file built for iOS-arm64

先删除所有的armv7 换成只有arm64


1、去掉armv7架构支持: Xcode –> Build Settings –>valid Architectures去掉armv7。

2、Debug环境,设置只支持当前测试设备的架构:Xcode-> Project –> Build Settings,把Build Active Architectures Only -> Debug的值设置为YES。


然后运行pod install 然后再打包

你可能感兴趣的:(building for iOS-armv7 but attempting to link with file built for iOS-arm64)