<IOS><Xcode>解决Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)问题!
来源:互联网 发布:数据恢复 mac osx 编辑:程序博客网 时间:2024/06/06 09:41
今天在引入一个静态framework库时候,编译遇到了“Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)”问题!
起因是我在主项目中,build setting-----》other linker flags 中-force_load了该framework库
网上有以下几种办法:
1,找到引用项目的build setting----》build active architecture only ----》设置成NO
我原本就是no,所以结果没啥用
2,最后尝试了这一种办法
将主项目中other linker flages 中的-force_load "XXX.framework"改成“-force_load "XXX.framework/XXX”其中XXX是静态库名
就ok了!
具体啥原因我也不知道,知道的可以分享一下
阅读全文
0 0
- <IOS><Xcode>解决Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)问题!
- iOS 打包所遇到的问题:can't link with a main executable file ‘XXX’for architecture armv7
- iOS——bug错误:can't link with a main executable file for architecture armv7
- can't open output file for writing: outfield, errno = 21 for architecture x86_64
- can't link with a main executable file for architecture armv7
- can't link with a main executable file for architecture armv7错误解决办法
- Xcode报错:can't locate file for: -xxxx 解决
- ERROR:can't locate file for xxx
- warning: no rule to process file 'xxx.h' of type sourcecode.c.h for architecture armv7
- Can't lock file (errno: 170) 错误
- 加载VxWorks时提示:Error loading file:errno = 0xd0003. Can't load boot file!
- ld: file too small for architecture armv7 mac
- 解决SVN Can’t open file ‘/XXX/xxx/db/txn-current-lock’错误
- Can't find file: './mysql/plugin.frm' (errno: 13)[mysql数据目录迁移错位]错误解决
- xcode下出现Undefined symbols for architecture arm64或者armv7: “_OBJC_CLASS_$_XXX
- xcode下出现Undefined symbols for architecture arm64或者armv7: “_OBJC_CLASS_$_XXX
- MySQL Can't create/write to file 问题的解决
- MySQL Can't create/write to file 问题的解决
- test1
- [Lintcode] #700 杆子分割
- 阿里云总裁胡晓明:未来和合作伙伴一起_服务1000万家企业
- MyBatis
- 变量的作用域
- <IOS><Xcode>解决Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)问题!
- Python基础小笔记《2017-10-17》
- JavaScript的对象,赋值,即用等号赋值如x=y,也想Java类一样(Java基本数据类型不是这样的)是满足“箭头”黄金定律,如果修改x,y的值也随之改变
- 测试用例设计方法
- Dockerfile中如何自动回答标准输入的问题
- 学习心得
- 大数据在营销和销售中的十大应用
- android 应用跳应用
- 通信协议TCP/IP协议