uniapp打包的程序在Xcode中运行到模拟器报错的解决方法
问题描述:
bash
Building for 'iOS-simulator', but linking in object file (/Users/hori/Documents/SDK/SDK/Libs/DCUniRecord.framework/DCUniRecord[arm64][3](PGRecord.o)) built for 'iOS'
Linker command failed with exit code 1 (use -v to see invocation)
问题截图:
解决方法:
找到Build Settings >> (Basic +++ Combined) >> Excluded Architectures 给其赋值arm64,如下图所示:
再次运行到模拟器,即可正常运行。