错误总结
TaidyPanda
iOS开发者一枚
展开
-
linker command failed with exit code 1 (use -v to see invocation)
ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386clang: error: linker command failed with exit code 1 (use -v to see invocation)编译时遇到这样的错误,解决办法原创 2015-05-21 22:11:38 · 412 阅读 · 0 评论 -
引入ASIHTTPRequest报错
ld: warning: ignoring file /Users/apple/Desktop/testOfLoadFromAmazon/libz.dylib, missing required architecture i386 in fileUndefined symbols for architecture i386: "_UTTypeCreatePreferredIdentifierFo原创 2015-05-21 22:11:46 · 634 阅读 · 0 评论 -
Xcode常见错误信息汇总
1, 错误信息: "_OBJC_CLASS_$ xxxxx ", referenced from: objc-class-ref in ViewController.old: symbol(s) not found for architecture i386clang: error: linker command failed with exit code 1 (use -v t原创 2015-05-21 22:12:36 · 469 阅读 · 0 评论 -
使用CocoaPods后找不到头文件
使用CocoaPods后,发现总是找不到头文件在TARGETS -> Search Paths -> User Header Search Paths 中 写入 ${SRCROOT} 再将后面参数改为recursive原创 2015-05-21 22:12:42 · 730 阅读 · 0 评论 -
github 提交代码 failed to push some refs to git
在终端上提交代码到github上遇到这样的问题failed to push some refs to git...搜索一下发现是github上readme文件没有同步到本地上可以通过如下命令进行代码合并【注:pull=fetch+merge]git pull --rebase origin master此时再执行语句 git push -u origin master即原创 2016-05-25 14:30:52 · 340 阅读 · 0 评论 -
The dependency `AFNetworking` is not used in any concrete target.
最近用到cocoapods安装第三方库的时候遇到这个问题,问题说的是这个库不属于任何target,Google一下发现也有不少人遇到过,特此记录一下 解决办法: target ‘YourProjectName’ do pod ‘AFNetworking’, ‘~> 2.1’ // all other pods goes here end需要指定target名称原创 2016-06-20 12:33:53 · 3419 阅读 · 0 评论 -
Xcode8编辑代码崩溃解决办法
升级Xcode8之后,打开开始编辑代码的时候立马崩溃,重启之后依然如故,仔细想想才发现,第一次打开Xcode的时候,选择是否跳过之前装过的插件,手贱选择了load… Xcode8对于插件的限制,导致一编辑立即崩溃 解决办法:defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-8.0 终端输入这个,然后点原创 2016-10-11 18:38:37 · 1964 阅读 · 3 评论 -
关于iOS属性传值为nil的记录
在A页面push到B页面,用属性传值,在B中viewDidLoad打印得到的却是nil(但是在viewWillAppear中是有值的)BViewController * b = [[BViewController alloc] init];//类似于调用了b.view.backgroundColor = [UIColor whiteColor];b.name = @"panda";[a.nav原创 2017-02-18 17:28:57 · 3268 阅读 · 0 评论