一、Error信息
libCGDrawView.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
二、可以尝试的解决方案
1.方案1:
#if DEBUG
区分加载.a静态库是正式库还是测试库的
#endif
- 此处若Edit Scheme中Build Configuration中选择了Release非Debug时,
用模拟器运行程序会跑错。所以用模拟器运行程序的时候务必选择Debug模式··
网友评论