草庐IT

cocoapod

全部标签

ios - Cocoapods 库的体系结构 armv7 的 undefined symbol

我在需要处理的项目中偶然发现了一个问题。该项目使用Cocoapods来管理其库。我像往常一样运行podinstall开始,但xcode给我错误。我得到了Undefinedsymbolsforarchitecturearmv7如下图所示:所有这些符号都是我在项目中使用的库。例如。AFNetworking,RNBlurModalView。我试图从项目中删除所有Cocoapods相关文件并再次运行podinstall,但仍然没有解决问题。到目前为止我做了什么:清理项目并重新构建。删除Cocoapods相关文件并再次运行podinstall。试图在ProjectTarget的CompileSo

ios - 在 OS X El Capitan 上安装 Cocoapods 报错

首先。由于iOS9.3,我更新到ElCapitan,它仅在xCode7.3中受支持。更新后我发现pod命令不起作用。我执行了:sudogeminstallcocoapodsERROR:Errorinstallingcocoapods:activesupportrequiresRubyversion>=2.2.2.所以我的问题是我无法安装cocoapods。我对gem和ruby一无所知。有人知道如何处理吗?我有第二个OSX和ElCapitan10.11.4,一切正常所以我不知道这个问题是从哪里来的。更新:2016年4月5日我在终端上执行了几个命令以获取更多信息:Kapucha:~kapu

ios - Cocoapods:无法找到 [PrivateClientSpec] 所依赖的 [PrivateSpec] 规范

我正在尝试使用私有(private)存储库来分解一个更大的应用程序。我已遵循以下指南:http://www.objectpartners.com/2014/06/25/developing-private-in-house-libraries-with-cocoapods/http://guides.cocoapods.org/making/private-cocoapods.htmlHowtoaddaprivateCocoaPodasadependencyinanotherpod.podspec(类似但不同的问题)我已经创建了一个本地存储库来包含规范,通过以下方式发布到cocoapo

ios - 错误 : ld: library not found for -lPods with CocoaPods

在我使用Cocoapods安装DTCoreText(https://github.com/Cocoanetics/DTCoreText)之后,当我尝试运行模拟器或设备时,我总是遇到错误!ld:warning:directorynotfoundforoption'-L/Users/example/Desktop/ios/Pods/build/Release-iphoneos'ld:warning:directorynotfoundforoption'-L/Users/example/Desktop/ios/Pods/build/Debug-iphoneos'ld:librarynotfo

ios - cocoapods 没有安装

这是什么意思,我该如何解决:podinstall/Library/Ruby/Site/2.0.0/rubygems.rb:250:in`find_spec_for_exe':can'tfindgemcocoapods(>=0.a)(Gem::GemNotFoundException)from/Library/Ruby/Site/2.0.0/rubygems.rb:278:in`activate_bin_path'from/usr/local/bin/pod:22:in`' 最佳答案 使用以下命令,它对我有用。sudogemunins

ios - 运行 pod install 时我得到 The `master` repo requires CocoaPods 0.32.1, try update but still in 0.31

我正在尝试在xcode项目中安装cocoapods,但是在执行时:$podinstall我收到以下错误:SettingupCocoaPodsmasterrepo[!]The`master`reporequiresCocoaPods0.32.1-UpdateCocoaPods,orcheckouttheappropriatetagintherepo./Library/Ruby/Gems/2.0.0/gems/claide-0.5.0/lib/claide/command.rb:281:in`rescueinrun':undefinedmethod`verbose?'fornil:NilC

ios - Pod 规范中的 Cocoapods 依赖项不起作用

我收到此规范文件的语法错误:Pod::Spec.newdo|s|s.name="BSImageLoader"s.version="0.1.3"s.summary="TheimageloadingframeworkforPicPoc"s.homepage="https://bitbucket.org/boolalsofware/bsimageloader"s.license='MIT's.author={"SpencerComerford"=>"Spencevail@gmail.com"}s.source={:git=>"git@bitbucket.org:boolalsofware/b

ios - Cocoapods iOS - [!] Google 已被弃用 - 如何摆脱警告?

我做的步骤:podrepo删除masterpod设置podupdate--verbose(只是为了检查进度,尤其是在更新GoogleSDK时,花了很长时间才完成)。在那里,我收到了警告。在我的日志中,GoogleSDK已成功更新:->InstallingGoogle3.1.0(was3.0.3)->InstallingGoogleMaps2.3.0(was2.2.0)播客文件:target'MyProj'do...pod'Google/Analytics'pod'GoogleMaps'...target'MyProjTests'doinherit!:search_pathsendpos

ios - "pod init"创建错误 "You need at least git version 1.8.5 to use CocoaPods"

我无法在我的系统中安装任何pod。因此,我从我的Mac中删除了cocoapods,然后重新安装了它。该过程是成功的,但是当我运行命令podinit时,终端中出现以下错误:`verify_minimum_git_version!':[!]Youneedatleastgitversion1.8.5touseCocoaPods(Pod::Informative)from/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.1/lib/cocoapods/command.rb:49:in`run'from/Library/Ruby/Gems/2.0.0/gem

ios - 为 CocoaPods 的 pod 设置部署目标

我使用CocoaPods来管理项目中的依赖项。我写了Podfile:target'MyApp'doplatform:ios,'8.0'#Uncommentthislineifyou'reusingSwiftorwouldliketousedynamicframeworks#use_frameworks!#PodsforMyApppod'KeepLayout',:git=>'https://github.com/iMartinKiss/KeepLayout',:tag=>'v1.6.0'pod'EasyMapping'target'MyAppTests'doinherit!:search