debug报错
錯誤代碼:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64,VALID_ARCHS=armv7 armv7s)
錯誤:VALID_ARCHS=armv7 armv7s
低版本Xcode用了高版本的levels,改下設置
錯誤:?active arch=x86_
不屑分類的森亮航行
解決 XCODE4編譯出現[NO ARCHITECTURES TO COMPILE FOR (ARCHS=I386, VALID_ARCHS=] BY 船長@XCODE修理
2011/03/18?船長森哥?
一項目在xcode3里編譯正常,但是在xcode4就是編譯不出來
,提示無法
Check dependencies
;[BEROR]No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=).
最終解決了
在項目設置里-architectures- 有個vaild Architectures選項 .默認是空白 所以編譯的時候無法匹配(這里對應的是VALID_ARCHS),將其修改成armv6 armv7,然后再編譯.問題解決
或者一個更簡單的方法:直接刪掉vaild Architecture
錯誤:Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architecture 'armv7
解決方法:
Change your compiler for C/C++/ObjectiveC Go to Build Settings->Build OPtions->compiler for C/C++/ObjectiveC; select Default(Apple LLVM5.0)
原文鏈接http://linglong117.blog.163.com/blog/static/27714547201381814624239/
錯誤:?iOS7-解決 "The document “XXXX.xib/storyboard" could not be opened. Could not read archive"
當我的Project用Xcode5打開過后,然后又用Xcode4.x打開,選中XXXX.xib/storyboard文件時,有時會彈出?"The document “XXXX.xib/storyboard" could not be opened. Could not read archive"?,Xcode已給出解決方式?"Please use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility."?所以步驟如下:
1、用?Xcode5?打開?Project?;
2、選中問題所在的?XXXX.xib/storyboard?文件,打開?"Show File Inspector"選中Localizable.strings 點擊 XCode-> View-> Utilities ->show?File?Inspector,即右側欄第二項。
3、找到?"Interface Builder Document" ,編輯?"Open in"為?Xcode4.x?保存即可。
(Xcode4.x?下沒有?"Open in" ,是?"Document Versioning"?)
4、再次用?Xcode4.x?打開,就會發現原來不能打開的?XXXX.xib/storyboard?已恢復正常。
原文地址-----http://blog.csdn.net/wwmusic/article/details/12618967
?Receiver type 'CALayer' for instance message is a forward declaration編譯錯誤解決辦法
解決辦法
在你的.m文件中引入
#import<QuartzCore/QuartzCore.h>
轉載于:https://www.cnblogs.com/fanjinlong/p/3834269.html
總結
- 上一篇: [itint5]棋盘漫步
- 下一篇: Git 什么时候用什么指令