cocoapods

How to create cocoa pods?

假装没事ソ 提交于 2020-02-17 18:09:04
问题 I have a repo on github. I want to publish it as cocoa pod. I tried hard but couldn't find any frank tutorial. http://guides.cocoapods.org/making/specs-and-specs-repo.html teaches how to create spec file and how to update your existing pod , but doesn't tell how to create a new one. while following https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod , tutorial, i am facing errors after executing "$ pod push master" command, it says, Pushing the `master' repo remote:

How to create cocoa pods?

走远了吗. 提交于 2020-02-17 18:08:56
问题 I have a repo on github. I want to publish it as cocoa pod. I tried hard but couldn't find any frank tutorial. http://guides.cocoapods.org/making/specs-and-specs-repo.html teaches how to create spec file and how to update your existing pod , but doesn't tell how to create a new one. while following https://github.com/CocoaPods/CocoaPods/wiki/Creating-and-maintaining-a-pod , tutorial, i am facing errors after executing "$ pod push master" command, it says, Pushing the `master' repo remote:

Create your own cocoa pod

梦想的初衷 提交于 2020-02-16 12:47:25
问题 I have checked several reference links and questions about how we can create the cocoa pods, tried: http://guides.cocoapods.org/making/specs-and-specs-repo.html How to create cocoa pods? How to create cocoa-pod of a Objective-C framework? How to create SDK with framework that using cocoa-pods How to add Google Map Cocoa Pod in my own Cocoa Pod Framework None of these provide complete information where I can get all the steps to create my own cocoapod. 回答1: Why? Mainly because you want to do

Create your own cocoa pod

风流意气都作罢 提交于 2020-02-16 12:42:42
问题 I have checked several reference links and questions about how we can create the cocoa pods, tried: http://guides.cocoapods.org/making/specs-and-specs-repo.html How to create cocoa pods? How to create cocoa-pod of a Objective-C framework? How to create SDK with framework that using cocoa-pods How to add Google Map Cocoa Pod in my own Cocoa Pod Framework None of these provide complete information where I can get all the steps to create my own cocoapod. 回答1: Why? Mainly because you want to do

Can't run “pod install” in jenkins

柔情痞子 提交于 2020-02-14 02:59:28
问题 My slave machine of Jenkins is Mac 10.8. Jenkins run job on my slave machine and run shell command of cocoapods below: pod install and got error from console output of Jenkins job, please check below: pod: command not found I tried to run this command "pod install" in local's terminal of this slave machine and gets succeeds. could you kindly help on me how to fix this problem? Thanks. 回答1: In my case, my ruby is installed by rvm. I need to load rvm in to find the pod command. What I did is

使用CocoaPods来做iOS程序的包依赖管理

江枫思渺然 提交于 2020-02-13 15:34:48
前言 每种语言发展到一个阶段,就会出现相应的依赖管理工具, 或者是中央代码仓库。比如 Java: maven,Ivy Ruby: gems Python: pip, easy_install Nodejs: npm 随着iOS开发者的增多,业界也出现了为iOS程序提供依赖管理的工具,这个工具叫: CocoaPods 。 CocoaPods简介 CocoaPods是一个负责管理iOS项目中第三方开源代码的工具。CocoaPods 项目的源码 在Github上管理。该项目开始于2011年8月12日,经过一年多的发展,现在已经超过1000次提交,并且持续保持活跃更新。开发iOS项目不可避免地要使用第三方开源库,CocoaPods的出现使得我们可以节省设置和更新第三方开源库的时间。 拿我之前开发的粉笔网iPhone客户端为例,其使用了14个第三方开源库。在没有使用CocoaPods以前,我需要: 把这些第三方开源库的相关文件复制到项目中,或者设置成git的submodule,然后这些开源库通常需要依赖系统的一些framework,我需要手工地将这些framework一一增加到项目依赖中,比如ASI网络库就需要增加以下framework: CFNetwork, SystemConfiguration, MobileCoreServices, CoreGraphics and zlib。

iOS开发~CocoaPods使用详细说明

给你一囗甜甜゛ 提交于 2020-02-13 15:32:40
CocoaPods的安装 Ruby环境搭建 a. mac自身带ruby 查看下当前ruby版本:打开终端输入 ruby -v(确实安装了,不过用这个版本接下来工作失败了,所以更新下ruby) ritekiMac-mini:PodTest lucky$ ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] ritekiMac-mini:PodTest lucky$ b. 更新ruby 终端输入如下命令(把Ruby镜像指向taobao,避免被墙,你懂得) gem sources --remove https://rubygems.org/ gem sources -a http://ruby.taobao.org/ gem sources -l (用来检查使用替换镜像位置成功) ritekiMac-mini:~ lucky$ gem sources --remove https://rubygems.org/ https://rubygems.org/ removed from sources ritekiMac-mini:~ lucky$ gem sources -a http://ruby.taobao.org/ http://ruby.taobao.org/ added to sources

dyld: Library not loaded with cocoapods 0.37 and Xcode 6.3

ε祈祈猫儿з 提交于 2020-02-12 07:52:29
问题 I've been reading all the issues about the error: dyld: Library not loaded: @rpath/Bolts.framework/Bolts Referenced from: /private/var/mobile/Containers/Bundle/Application/1542F906-CCE1-4181-AC7C-B5E3EE50E7D7/eBikeMotion.app/eBikeMotion Reason: no suitable image found. Did find: Which makes my application unable to run in a real device (but it runs without any problem in the simulator. Until certain point I thought that it was an issue with the frameworks I was installing, but after

iOS开发~CocoaPods使用详细说明

大憨熊 提交于 2020-02-11 07:01:39
http://blog.csdn.net/showhilllee/article/details/38398119 http://code4app.com/article/cocoapods-install-usage PS: SVN 不要添加 pods文件,下载后 pod install。当别人下载你的项目的时候, pod install 即可。 发现的问题: 1.updating local specs repositories卡住 以下是我本人搬运的忘了某个出处的论坛的回答 pod install 换成pod install --verbose --no-repo-update这个命令,前面的命令被墙 pod update 同理pod update --verbose --no-repo-update 最近使用CocoaPods来添加第三方类库,无论是执行pod install还是pod update都卡在了Analyzing dependencies不动 原因在于当执行以上两个命令的时候会升级CocoaPods的spec仓库,加一个参数可以省略这一步,然后速度就会提升不少。加参数的命令如下: pod install --verbose --no-repo-update pod update --verbose --no-repo-update 2

Removed Realm, but still getting this error: module importing failed: invalid token (rlm_lldb.py, line 37) File “temp.py”, line 1,

不问归期 提交于 2020-02-06 08:21:10
问题 I tried using Realm with Cocoapods in a project two years ago. Realm didn't work out, so I removed it. Cocoapods didn't work out, so I eventually removed that as well and switched to Carthage. With the advent of Xcode 11, I started seeing this error: error: module importing failed: invalid token (rlm_lldb.py, line 37) File "temp.py", line 1, in <module> It didn't seem to cause any crashes, so I stupidly ignored it. Last night I ran an app on an iPod Touch Generation 6 running the latest iOS