摘要: 解决方法: Xcode file workspace settings Build System 设置成 legacy build system就可以了 阅读全文
posted @ 2019-05-06 15:49 JustToGo 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 在Build Setting 中 Other Linker Flags 添加 lz即可解决 阅读全文
posted @ 2019-05-06 15:43 JustToGo 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 问题:编译出错duplicate symbol _OBJC_CLASS_$_ XXX in 原因:导入头文件的时候误导入.m文件 解决办法:通过搜索.m文件查出 在哪个类中导入了 换成.h文件即可。 阅读全文
posted @ 2018-08-10 16:01 JustToGo 阅读(2072) 评论(0) 推荐(0) 编辑
摘要: 在项目开发中,有时需要将B项目引到A项目中,直接调用。 引用步骤如下: 1.将项目B文件实体拷贝到A项目中; 2.点击左下角+或者右键addFiles 引入项目成功两个项目其实并没有关联到一起,我们还需要做一些额外的工作,来帮助两个项目关联到一起: 3.工程设置选中build phases targ 阅读全文
posted @ 2018-07-30 16:51 JustToGo 阅读(2933) 评论(0) 推荐(0) 编辑
摘要: 断点后,左侧变量全部无值,po 变量 warning: Swift error in module 项目名. Debug info from this module will be unavailable in the debugger. error: in auto import: failed 阅读全文
posted @ 2018-03-27 17:24 JustToGo 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Build Settings里的No Common Blocks为NO 第三方SDK里有的头文件声明了公共变量,然后在另外几个文件里import了这个头文件,No Common Blocks默认为YES,编译器就报错了。 阅读全文
posted @ 2018-01-23 15:15 JustToGo 阅读(3436) 评论(0) 推荐(0) 编辑
摘要: 1.在命令行中,输入“git init”,使Test文件夹加入git管理; 2.输入“git add .”(不要漏了“.”),将Test文件夹全部内容添加到git。 3.输入“git commit m "first commit"”(“git commit m "提交信息"” ) 4.输入“git 阅读全文
posted @ 2017-12-22 15:26 JustToGo 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 注册trunk 命令 pod trunk register 邮箱 用户名 结果 [!] Please verify the session by clicking the link in the verification email that has been sent to 邮箱 注册成功后返回你 阅读全文
posted @ 2017-12-21 15:39 JustToGo 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 首先,检查你的ruby源: gem sources l 默认情况是:https://rubygems.org/ 这个源路径国内不能使用,之前是使用淘宝的镜像https://ruby.taobao.org/,现在发现这个也不能使用了,替换为http://gems.ruby china.org/ 移除旧 阅读全文
posted @ 2017-12-15 17:34 JustToGo 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 错误信息: 解决办法: 将build for的版本改到iOS7.1及以上即可。 阅读全文
posted @ 2017-11-13 16:14 JustToGo 阅读(772) 评论(0) 推荐(0) 编辑