iOS——bug错误:can't link with a main executable file for architecture armv7
来源:互联网 发布:百度清风算法 编辑:程序博客网 时间:2024/06/05 05:31
在真机上(5s和6p)跑的时候遇到了这么一个错误:ld can't link with a main executable file for architecture armv7,然后就各种改啊改啊,因为我明明已经把arm64加入了豪华午餐阵容了呀,为啥还提示我不允许在64位处理器上跑啊?这不科学!
然后就是各种Google呗,唔,搜到了两个解决方案:
一、 http://stackoverflow.com/questions/26031932/cant-link-with-a-main-executable-file
简单说下方法:
1. 选中你的项目
2. 然后选中你的测试target
3. 将右边的Host Application设置为你的项目名
二、http://blog.csdn.net/ggbb190/article/details/41701343
如果上面那个还不行,你可以参考这个,将Architectures下,Build Active Architecture Only选项,设置为no
然后重新清理一下,再次运行就可以了。
0 0
- iOS——bug错误:can't link with a main executable file for architecture armv7
- can't link with a main executable file for architecture armv7错误解决办法
- can't link with a main executable file for architecture armv7
- iOS 打包所遇到的问题:can't link with a main executable file ‘XXX’for architecture armv7
- <IOS><Xcode>解决Can't map file, errno=22 file 'xxx' for architecture arm64(armv7)问题!
- Undefined symbols for architecture armv7:错误解决方法
- Undefined symbols for architecture armv7错误解决方案
- duplicate symbols for architecture armv7错误
- 错误:Undefined symbols for architecture armv7
- can't open output file for writing: outfield, errno = 21 for architecture x86_64
- ld: file too small for architecture armv7 mac
- 今天碰到个错误,ile was built for unsupported file format which is not the architecture being linked (armv7)
- can't locate file for: xxxx file: -xxxx is not an object file (not allowed in a library)错误的解决办法
- ld: 3 duplicate symbols for architecture armv7 错误处理
- Executable UML: A Foundation for Model-Driven Architecture
- BUG解决 —— error: can't exec 'codesign' (No such file or directory)
- iOS之Undefined symbols for architecture armv7问题解决方法
- iOS之Undefined symbols for architecture armv7问题解决方法
- Leetcode56: Invert Binary Tree
- DML、DDL、DCL区别
- 腾讯Bugly干货分享:Android机型适配之痛
- C# 对象销毁和垃圾回收
- 一文读懂卷积神经网络
- iOS——bug错误:can't link with a main executable file for architecture armv7
- aop概念
- C语言字符串反转实现【采用头指针和尾指针方法完成】
- c# lua 简单交互
- 移动开发涉及的方面
- 孩子上网最易中招的4个陷阱
- java序列化/反序列化之xml、protobuf、protostuff 的比较与使用例子
- 探索性数据分析与可视化
- App推送java服务端_小米推送