-
iOS开发运行模拟器时报错:Building for 'iOS-simulator', but linking in object file (/Users/dengzemiao/Downloads/uniapp_ios_4.36/SDK/SDK/Libs/DCUniRecord.framework/DCUniRecord[arm64][3](PGRecord.o)) built for 'iOS' -
打开
TARGET -> 项目 -> Build Settings搜索Excluded Architectures,给Debug、Release都添加一个Any iOS Simulator SDK=arm64:修改好后
Command + Shift + K清理重新编译下,然后在运行到设备。如果使用
cocoapod也需要在cocoapod的Pods工程里面同样的位置这样加一条。