cocoapods

diff: /../Podfile.lock: No such file or directory

℡╲_俬逩灬. 提交于 2020-01-07 01:23:14
问题 am new to the iPhone app development.when i an running the application i getting the Bellow error. diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. 回答1: The error message shows the solution, no pods are built. Open the terminal, go to the root of the project, then run: pod install If you don't have cocoapods installed, first run

ios pod install gcm

荒凉一梦 提交于 2020-01-06 19:31:35
问题 Can't install google gcm with pod. Getting this error: [!] The 'Pods-project' target has transitive dependencies that include static binaries: (/Users/mirzadelic/Projekti/project/Pods/GGLInstanceID/Libraries/libGGLInstanceIDLib.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCloudMessaging.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCore.a, /Users/mirzadelic/Projekti/project/Pods/GoogleCloudMessaging/Libraries/libGcmLib.a, /Users/mirzadelic/Projekti

ios pod install gcm

给你一囗甜甜゛ 提交于 2020-01-06 19:31:21
问题 Can't install google gcm with pod. Getting this error: [!] The 'Pods-project' target has transitive dependencies that include static binaries: (/Users/mirzadelic/Projekti/project/Pods/GGLInstanceID/Libraries/libGGLInstanceIDLib.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCloudMessaging.a, /Users/mirzadelic/Projekti/project/Pods/Google/Libraries/libGGLCore.a, /Users/mirzadelic/Projekti/project/Pods/GoogleCloudMessaging/Libraries/libGcmLib.a, /Users/mirzadelic/Projekti

Not able to install cocoapods in xcode

半世苍凉 提交于 2020-01-06 18:37:25
问题 I am currently installing cocoapods in my Project.i am using xcode 6.3.1 and OS is EL Capitan version is 10.11.6 i am following this steps sudo gem install cocoapods pod setup open terminal and give path of our project pod init when i do pod init i am getting error.i have attached screenshot. please go through it and please let me know.thanks in advance 回答1: Try this for CocoaPod issue. sudo gem install -n /usr/local/bin cocoapods reference here: https://github.com/CocoaPods/CocoaPods/issues

XCode build fails when switching from iphone to pad or vice versa

不想你离开。 提交于 2020-01-06 17:08:12
问题 When building and testing in Xcode and running the app on let's say, ipad and then want to switch to iphone, I get the following build errors: ld: warning: ignoring file /xxx/Build/Products/Debug- iphoneos/libCTCheckbox.a, file was built for archive which is not the architecture being linked (arm64): /xxx/Library/Developer/Xcode/DerivedData/xxx/Build/Products/Debug-iphoneos/libCTCheckbox.a for all my pod libraries. And then: Undefined symbols for architecture arm64: "_OBJC_CLASS_$

Objective C: Load storyboard from a pod/framework

家住魔仙堡 提交于 2020-01-06 07:15:05
问题 I'm trying to load a view controller that's in a .storyboard in a pod. I'm using the following which normally works: UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"StoryboardName" bundle:nil]; NewViewController *newView = [storyboard instantiateViewControllerWithIdentifier:@"NewViewController"]; [self.navigationController pushViewController:newView animated:YES]; What do I need to change it to so I can load from a pod? 回答1: You should load it with it's bundle identifier

“Use Legacy Swift Language Version” (SWIFT_VERSION) Error When Publishing Cocoapods

送分小仙女□ 提交于 2020-01-06 04:12:28
问题 I am trying to publish this library https://github.com/ankurp/Dollar to cocoapods using the following command pod trunk push Dollar.podspec --allow-warnings --verbose and getting the following error which is preventing the publishing of the library to cocoapods. There is no build errors and all tests pass on my local and Travis CI https://travis-ci.org/ankurp/Dollar I recently upgraded the project to use Swift 3 syntax and also updated the project to us SWIFT_VERSION=3 https://github.com

Xcode CI and cocoapods private repo

瘦欲@ 提交于 2020-01-06 01:45:51
问题 I've been trying to setup OSX server to use Xcode CI. My project uses cocoapods and a private repo. I've been following this tutorial: http://papaanton.com/setting-up-xcode-6-and-apple-server-4-0-for-continues-integration-with-cocoapods/ But when I login as the _xcsbuildd user and run the command to add the private repo I get the following error message fatal: could not create work tree dir '<repo name>': permission denied I don't have much experience with users and command line tools. I've

iOS开发~CocoaPods使用详细说明

懵懂的女人 提交于 2020-01-05 17:40:59
一、概要 iOS 开发时,项目中会引用许多第三方库,CocoaPods( https://github.com/CocoaPods/CocoaPods )可以用来方便的统一管理这些第三方库。 二、安装 由于网上的教程基本都大同小异,但细节之处还不是很完善,所以借机会在这里补充下: 注:要使用CocoaPods,那就要下载安装它,而下载安装CocoaPods需要Ruby环境 1、Ruby环境搭建 当前安装环境为Mac mini 10.8.5。Mac OS本身自带Ruby,但还是更新一下保险,因为我第一次安装在没有更新Ruby的情况下就失败了。 a 查看下当前ruby版本:打开终端输入 ruby -v(确实安装了,不过用这个版本接下来工作失败了,所以更新下ruby) [objc] view plain copy print ? ritekiMac-mini:PodTest lucky$ ruby -v ruby 1 .8 .7 ( 2 0 1 2- 0 2- 0 8 patchlevel 3 5 8) [universal-darwin 1 2 .0] ritekiMac-mini:PodTest lucky$ b 更新ruby 终端输入如下命令(把Ruby镜像指向taobao,避免被墙,你懂得) gem sources --remove https://rubygems.org/

iOS开发~CocoaPods使用详细说明

元气小坏坏 提交于 2020-01-05 17:39:20
一、概要 iOS开发时,项目中会引用许多第三方库,CocoaPods( https://github.com/CocoaPods/CocoaPods )可以用来方便的统一管理这些第三方库。 二、安装 由于网上的教程基本都大同小异,但细节之处还不是很完善,所以借机会在这里补充下: 注:要使用CocoaPods,那就要下载安装它,而下载安装CocoaPods需要Ruby环境 1、Ruby环境搭建 当前安装环境为Mac mini 10.8.5。Mac OS本身自带Ruby,但还是更新一下保险,因为我第一次安装在没有更新Ruby的情况下就失败了。 a 查看下当前ruby版本:打开终端输入 ruby -v(确实安装了,不过用这个版本接下来工作失败了,所以更新下ruby) [objc] view plain copy print ? ritekiMac-mini:PodTest lucky$ ruby -v ruby 1 .8 .7 ( 2 0 1 2- 0 2- 0 8 patchlevel 3 5 8) [universal-darwin 1 2 .0] ritekiMac-mini:PodTest lucky$ b 更新ruby 终端输入如下命令(把Ruby镜像指向taobao,避免被墙,你懂得) gem sources --remove https://rubygems.org/