Xcode编译错误__NSCFConstantString】的更多相关文章

__NSCFConstantString:主要错误就是数据类型造成的,然后就是检查哪个地方造成的数据类型调用错误 错误一:'-[__NSCFConstantString _imageThatSuppressesAccessibilityHairlineThickening]: unrecognized selector sent to instance 0x120ee8' 这个错误表示:UIImageView.image直接使用的是图片名称,而没有使用[UIImage imageNamed:@"…
开始用XCODE学习Apple相关开发的东东,写些demo熟悉Object C,一直还没看见什么问题,昨晚在家把一些demo上传到代码服务器,今天在另外一台机器上下载下来编译,出现了问题: Precomplile */*-Prefix.pch blablabla...... clang: error: no such file or directory: '.../*-Prefix.pch' clang: error: no input files Command /Applications/X…
1.xcode无效文件的编译错误. 问题: clang: error: no such file or directory: '/Users/admin/client/trunk/sengoku_sc/sengoku/libs/plugin/plugins/facebook/platform/ios/DynamicFacebook.mm' 解决办法:这个是因为资源找不到的原因,选择project > Build Phases >打开 "Compile Sources" an…
linker command failed with exit code 1 (use -v to see invocation)这个肯定是个xcode编译运行的时候经典的报错了. 这个问题曾经在我的项目编译和运行的时候多次出现,但是从来没有记录过.现在就想每次出现对它进行一下记录,这样为以后出现同样的问题的时候让自己也有个更加快速的方法找到解决之路. linker command failed with exit code 1 (use -v to see invocation)有很多种情况,…
图片对应的是libxml2.dylib  (libz.dylib 遇到的编译错误跟这个类似) 解决方法是在引入库的地方调整原先 比如libz.dylib 的目录: ======================= ================================== 解决方法: target---build phases--- link binary with libraries---添加---add ohter---command+shift+G----/usr/lib/ ---…
1.在将ios项目进行Archive打包时,Xcode提示以下错误: [BEROR]CodeSign error: Certificate identity ‘iPhone Distribution: ***.’ appears more than once in the keychain. The codesign tool requires there only be one. 原因:那么出现此问题的原因是多个证书之间冲突造成两种解决方法如下: 解决办法:打开mac系统的“实用工具”-“钥匙…
1.error: macro names must be identifiers YourProject_prefix.pch 原因: 因为你弄脏了预处理器宏,在它处于<Multiple Values>的时候修改了它 解决方法: Configiration选择All Configirations,清空它 然后分别重新定义你的Debug,Release,Distributin预处理器宏吧 2.warning: no rule to process file '$(PROJECT_DIR)/Loa…
1.error: macro names must be identifiers YourProject_prefix.pch 原因: 因为你弄脏了预处理器宏,在它处于<Multiple Values>的时候修改了它 解决方法: Configiration选择All Configirations,清空它 然后分别重新定义你的Debug,Release,Distributin预处理器宏吧 2.warning: no rule to process file '$(PROJECT_DIR)/Loa…
No architectures to compile for(ONLY_ACTIVE_ARCH=YES 这种错误    修改building settings下 Build Active Architecture only 为NO即可. dyld: Symbol not found: _objc_setProperty_nonatomic _objc_setProperty_nonatomic是ios6.0的新方法,三方库设置了Deployment Target 为6.0就会调用这2个新增的方…
duplicate symbol _OBJC_CLASS_$_AutoTableViewViewController in: /Users/apple/Library/Developer/Xcode/DerivedData/masonry自动布局-cragjuqaxcsyhcckrysbcptlqprh/Build/Intermediates/masonry自动布局.build/Debug-iphonesimulator/masonry自动布局.build/Objects-normal/i386…