我正在使用cocoapods来pipe理我的依赖关系。 一切工作正常。 现在,当我创build一个新项目时,将下面的内容添加到我的pod文件中, platform :ios, '6.1' pod 'RestKit', '~> 0.20.0' 当我在做pod安装的时候,它不断地分析依赖关系 。 任何想法为什么这个问题?
我正在尝试写一些iOS逻辑testing对我的项目中使用我的podspec中的一些库function的类。 我正在使用Xcode提供的标准unit testing包(虽然不是应用程序testing,只是unit testing)。 例如,我使用魔法logging,并且在podspec中链接了该库。 它存在于我工作区的Pods项目中,并且在应用程序在模拟器或设备上运行时按预期工作。 当我试图链接到testing使用魔法logging的对象,但是,我得到一个链接器错误,指出它无法从魔法loggingfindselect器。 我已经尝试更新我的逻辑testing包中的HEADER_SEARCH_PATH,甚至将其编码到由CocoaPods创build的头文件目录中,但没有运气。 我可以针对没有使用CocoaPods库的类运行unit testing。 我是否在谈论这个错误? 我应该做一些其他的事情来让编译器看到CocoaPods库吗?
我的podfile工作,但更新到cocoapods版本1.0.0.beta.1后 pod安装显示以下错误 MacBook-Pro:iOS-TuneIn home$ pod install Fully deintegrating due to major version update Deleted 1 'Copy Pods Resources' build phases. Deleted 1 'Check Pods Manifest.lock' build phases. Deleted 1 'Embed Pods Frameworks' build phases. – libPods.a – Pods.debug.xcconfig – Pods.release.xcconfig Deleted 1 'Copy Pods Resources' build phases. Deleted 1 'Check Pods Manifest.lock' build phases. – […]
我已经将SpatialIite合并到使用Proj.4的头文件的Xcode项目中,只有一个头文件。 两者都是Xcode项目,并有静态目标。 我试图从git submodule迁移到Cocoapods。 由于静态目标似乎很难与Cocoapods一起使用,所以我只想以通常的方式构build项目。 我为Proj.4制作了Proj.4 。 在为SpatialLite编写podfile后,我得到了警告: [!] The target `SpatialiteIOS [Debug]` overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig'. – Use the `$(inherited)` flag, or – Remove the build settings from the target. [!] The target `SpatialiteIOS [Debug]` overrides the `HEADER_SEARCH_PATHS` build setting defined in `Pods/Pods.xcconfig'. – Use the `$(inherited)` flag, or – […]
任何人都可以帮助我解决下面的堆栈跟踪错误? 这发生在我运行任何pod命令时。 我已经卸载并重新安装了gem,没有运气。 00:44:05-David~/dev/farecast-app (master)$ pod setup Setting up CocoaPods master repo /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/pathname.rb:422:in `open': No such file or directory @ dir_initialize – /Users/David/.cocoapods/repos (Errno::ENOENT) from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/pathname.rb:422:in `foreach' from /usr/local/rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/pathname.rb:422:in `children' from /usr/local/rvm/gems/ruby-2.1.0/gems/cocoapods-0.34.4/lib/cocoapods/sources_manager.rb:63:in `all' from /usr/local/rvm/gems/ruby-2.1.0/gems/cocoapods-0.34.4/lib/cocoapods/user_interface/error_report.rb:127:in `repo_information' from /usr/local/rvm/gems/ruby-2.1.0/gems/cocoapods-0.34.4/lib/cocoapods/user_interface/error_report.rb:34:in `report' from /usr/local/rvm/gems/ruby-2.1.0/gems/cocoapods-0.34.4/lib/cocoapods/command.rb:63:in `report_error' from /usr/local/rvm/gems/ruby-2.1.0@global/gems/claide-0.7.0/lib/claide/command.rb:300:in `handle_exception' from /usr/local/rvm/gems/ruby-2.1.0@global/gems/claide-0.7.0/lib/claide/command.rb:274:in `rescue in run' from /usr/local/rvm/gems/ruby-2.1.0@global/gems/claide-0.7.0/lib/claide/command.rb:264:in `run' from /usr/local/rvm/gems/ruby-2.1.0/gems/cocoapods-0.34.4/lib/cocoapods/command.rb:50:in […]
我从git repo中克隆了一个项目,但是当我执行pod install ,我看到的第一行是“设置CocoaPods Master repo”,之后我再也看不到任何东西了,控制台就停在那里。 我不知道发生了什么。 任何人都知道这里发生了什么? 为什么CocoaPods在那里停留?
在最新的Xcode更新之后,我使用了相当多的第三方库,其中有许多警告。 (例如Facebook SDK pod)现在,所有这些警告都显示在我的Xcode上我想看到我自己的警告或错误的地方。 有什么办法可以忽略这些错误吗? 修复它们将无济于事,因为在每次“pod安装”之后,这些更改都将被丢弃。
归档项目时出错。 这是我的环境。 Mac OS Lion Xcode 4.3.1 iOS SDK 5.1 项目部署目标是: IPHONEOS_DEPLOYMENT_TARGET 3.2 错误显示: ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) 我想Pods是我用来pipe理XCode项目依赖关系的CocoaPods。 https://github.com/CocoaPods/CocoaPods 这是我的Podfile platform :ios dependency 'libPusher', '1.1' 我不确定错误是什么意思?
我已经做了几个月的iOS开发,刚刚学习了用于依赖pipe理的有前途的CocoaPods库。 我在一个个人项目上试了一下:在我的Podfile中添加了一个对Kiwi的依赖,运行了pod install CocoaPodsTest.xcodeproj , 瞧 ,它工作的很好。 我唯一想知道的是:我该如何检查,以及我对版本控制忽略了什么? 似乎很明显,我想检查Podfile本身,也可能是.xcworkspace文件; 但是我忽略Pods /目录? 是否还有其他文件将被生成(当我添加其他的依赖项)时,我也应该添加到我的.gitignore?
在我的项目底部执行pod install后,出现以下错误: CocoaPods没有设置你的项目的基本configuration,因为你的项目已经有一个自定义的configuration集。 为了使CocoaPods集成可以工作,请将目标BluePlaquesLondonFramework的基本configuration设置为Pods/Target Support Files/Pods/Pods.debug.xcconfig或者包含Pods/Target Support Files/Pods/Pods.debug.xcconfig在你的构buildconfiguration。 这可能听起来像一个愚蠢的问题,但我如何设置目标的基本configuration? https://github.com/seanoshea/BluePlaquesLondon/blob/ios8/Podfile是导致此问题的Podfile。 http://github.com/seanoshea/BluePlaquesLondon在iOS 8分支上是有问题的Podfile,如果你想知道该项目是什么样子的话。