-
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
工程里面同样的位置这样加一条。
iOS Building for ‘iOS-simulator‘, but linking in object file xxx
于 2024-12-09 10:31:27 首次发布