debug报错
錯(cuò)誤代碼:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64,VALID_ARCHS=armv7 armv7s)
錯(cuò)誤:VALID_ARCHS=armv7 armv7s
低版本Xcode用了高版本的levels,改下設(shè)置
錯(cuò)誤:?active arch=x86_
不屑分類的森亮航行
解決 XCODE4編譯出現(xiàn)[NO ARCHITECTURES TO COMPILE FOR (ARCHS=I386, VALID_ARCHS=] BY 船長(zhǎng)@XCODE修理
2011/03/18?船長(zhǎng)森哥?
一項(xiàng)目在xcode3里編譯正常,但是在xcode4就是編譯不出來(lái)
,提示無(wú)法
Check dependencies
;[BEROR]No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=).
最終解決了
在項(xiàng)目設(shè)置里-architectures- 有個(gè)vaild Architectures選項(xiàng) .默認(rèn)是空白 所以編譯的時(shí)候無(wú)法匹配(這里對(duì)應(yīng)的是VALID_ARCHS),將其修改成armv6 armv7,然后再編譯.問(wèn)題解決
或者一個(gè)更簡(jiǎn)單的方法:直接刪掉vaild Architecture
錯(cuò)誤: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/
錯(cuò)誤:?iOS7-解決 "The document “XXXX.xib/storyboard" could not be opened. Could not read archive"
當(dāng)我的Project用Xcode5打開(kāi)過(guò)后,然后又用Xcode4.x打開(kāi),選中XXXX.xib/storyboard文件時(shí),有時(shí)會(huì)彈出?"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?打開(kāi)?Project?;
2、選中問(wèn)題所在的?XXXX.xib/storyboard?文件,打開(kāi)?"Show File Inspector"選中Localizable.strings 點(diǎn)擊 XCode-> View-> Utilities ->show?File?Inspector,即右側(cè)欄第二項(xiàng)。
3、找到?"Interface Builder Document" ,編輯?"Open in"為?Xcode4.x?保存即可。
(Xcode4.x?下沒(méi)有?"Open in" ,是?"Document Versioning"?)
4、再次用?Xcode4.x?打開(kāi),就會(huì)發(fā)現(xiàn)原來(lái)不能打開(kāi)的?XXXX.xib/storyboard?已恢復(fù)正常。
原文地址-----http://blog.csdn.net/wwmusic/article/details/12618967
?Receiver type 'CALayer' for instance message is a forward declaration編譯錯(cuò)誤解決辦法
解決辦法
在你的.m文件中引入
#import<QuartzCore/QuartzCore.h>
轉(zhuǎn)載于:https://www.cnblogs.com/fanjinlong/p/3834269.html
總結(jié)
- 上一篇: [itint5]棋盘漫步
- 下一篇: Git 什么时候用什么指令