一、Building for iOS, but the linked and embedded framework '.framework' was built for iOS + iOS Simu...
报错:Building for iOS, but the linked and embedded framework '.framework' was built for iOS + iOS Simulator.
将Validate Workspace改为Yes,重新编译
二、The linked and embedded framework 'xxx.framework' is missing on
开端:
在iPhone上运行正常的app在iPad上旋转屏幕时,页面适配没做好,但手头上又没有iPad,只能用模拟器,但是 CocoaAsyncSocket.framework
是真机下使用的,没办法下载 CocoaAsyncSocket
源码,编译模拟器环境下framework使用。
结果又遇到下面问题:
The linked and embedded framework "CocoaAsyncSocket.framework" is missing one or more architectures required by this target arm64.
解决方案:
在 Bulid Setting
中的 User-Defined
下 VALID_ARCHS
添加 x86_64
添加模拟器架构即可。