platform :ios, '7.0'pod "AFNetworking", "~> 2.0"pods 文件原来是这样。在用了xctest之后,就报错了:AFNetworking Cause Error while using XCTest in Xcode5。要在中间加一句:link_with ...
分类:
移动开发 时间:
2015-09-20 23:59:44
阅读次数:
532
今天是搭建这个项目的第三天搭建这个项目 1、用pods 先把AFNetworking这个库和处理图片的库导入了进来2、整体用的是 外面的一层Nav->Tab控制器加Nav这样的,虽然这样看起来很奇怪,因为主流的框架只是里面的那一层,没办法,碰到了白痴的美工,让我这样搭就这样搭吧2015年9月18碰到...
分类:
系统相关 时间:
2015-09-19 10:55:42
阅读次数:
188
1.私有库用途pods的出现极大的加速了 iOS 开发的速度,强大的包管理,以及强大的协作能力,让它极大的加快了我们的开发的效率。 除了开放的第三方库,我们需要自己的私有pod。比如开发项目时,我们可以结合git来形成新的开发模式。 通过这种形式,可以剥离出每一个模块,让模块之间的耦合率降到最低。每...
分类:
其他好文 时间:
2015-09-14 11:53:03
阅读次数:
176
参照:http://www.tairan.com/archives/2245 命令行build pods项目的命令如下: xcrun xcodebuild -workspace itemplate.xcworkspace -scheme itemplate build 命令行运行test用例的命令如下(使用光xcodebuild ...
分类:
移动开发 时间:
2015-09-07 18:07:22
阅读次数:
166
错误提示为:Permission denied….......首次检出,提示对pod读取无权限,在终端中执行以下命令即可chmod a+x “/Users/***/Pods/Pods-resources.sh”***为pods文件夹所在路径
分类:
移动开发 时间:
2015-09-06 14:26:39
阅读次数:
139
前段时间一直出现这样一个错误:Diff: /../Podfile.lock: No such file or directory1. 删除工程文件夹下的Podfile、Podfile.lock及Pods文件夹2. 删除xcworkspace文件3. 使用xcodeproj文件打开工程,删除Frame...
分类:
其他好文 时间:
2015-08-30 11:13:33
阅读次数:
161
下载的工程pod install后,若出现 `ld: library not found for -lXXX` 类似的, 设置 `Project` -> `Pods` 下所有第三方库的 `Build Active Architecture Only` 为 `NO`感觉debug模式下设置`Build...
分类:
其他好文 时间:
2015-08-26 15:22:06
阅读次数:
99
在执行pod update 时,出现图一所示的情况,是因为本机的pods版本过低,需要升级pods。 1:打开终端,输入:?sudo?gem?update?cocoapods 2.输入密码,回车,执行pods的更新 3. OK,更新完成,试一下 pod update 吧...
分类:
其他好文 时间:
2015-08-01 11:39:43
阅读次数:
104
Generating Pods project
[!] An error occurred while processing the post-install hook of the Podfile.
undefined method `project' for #
/Users/android_ls/boluomi/bolo-ios-client/Podfile:58:in `block (2 levels) in from_ruby'
/...
分类:
系统相关 时间:
2015-07-25 23:02:02
阅读次数:
237