cocoapods

Is the heuristic CocoaPods uses for the “pod try” command documented anywhere?

微笑、不失礼 提交于 2019-12-04 03:20:36
In CocoaPods v.0.29, the 'pod try' command was added (see http://blog.cocoapods.org/CocoaPods-0.29/ ). From the documentation (bold emphasis mine): In other words the command automates the following steps: Checkout the source of the Pod in a temporary directory. Search for any project looking like a demo project using some simple heuristics . Install any CocoaPods dependencies if needed by the located project. Open the workspace/project in Xcode. I've searched both Google and StackOverflow and have not been able to find any documentation about the specific heuristics that CocoaPods uses to

Pods/Headers empty after pod install

六月ゝ 毕业季﹏ 提交于 2019-12-04 03:20:25
Issue I used to have a functional set of Pods in my project (fully working project) until the latest pod install run, now I'm getting "file not found" errors for the headers mentioned in my bridging header (this is a Swift project with Obj-C includes). After doing some research, it seemed like there should be symlinks to the headers in Pods/Headers , that directory is empty for me. However, the pods themselves have been downloaded and all corresponding Pods/[Lib] directories exist. Last Known Good State What I've changed right before this error started occurring was specifying :git and :commit

iOS CocoaPods - how to resolve “use of '@import' when modules are disabled” error?

若如初见. 提交于 2019-12-04 03:20:02
问题 I'm seeking how to resolve "use of '@import' when modules are disabled" when adding Google Analytics through cocoapods: pod 'Google/Analytics', '~> 1.0.0' link_with 'AppTarget', 'AppTargetTests' In code: #import <Google/Analytics.h> I get this error within a pod: "use of '@import' when modules are disabled" I checked all projects and see that modules are enabled, along with the other suggestiont to "Link frameworks automatically" I cannot override this import because of this error: How can I

Parse/Parse.h file not found after update with Cocoapods

笑着哭i 提交于 2019-12-04 02:06:14
I tried everything I could imagine to fix this issue... Please help! After updating to Xcode 6.4 and Parse SDK 1.7.5 I'm getting build error: "Parse/Parse.h file not found" Here's my Podfile: target 'TV Admin' do pod 'RETableViewManager', '~> 1.6' pod 'SDNetworkActivityIndicator' pod 'Motif' pod 'Parse', '~> 1.7' end All Cocoapods dependencies except Parse are working great. Here's .xcworkspace view: I'm using Cocoapods 0.38.0.beta.2 Thanks. I ran into this issue after updating XCode to 6.4 today. Taking a look at the Search Frameworks showed that they were empty after the XCode update. So

Xcode 8.3 Archive error: Linker command failed with exit code 1

别来无恙 提交于 2019-12-04 01:35:10
问题 I started getting this error only after upgrading from Xcode 8.2 to Xcode 8.3, and only when making an archive build (debug builds work fine). When I do the archive via Xcode, the only message I get is "Linker command failed with exit code 1 (use -v to see invocation). I build with the command line xcodebuild -scheme MyProduct When I built this way, I found a number of issues (again, only when doing Archive): I had to add import UIKit to practically every swift file. all the pods had issues

Swift: Cannot use library from Pod file

蹲街弑〆低调 提交于 2019-12-04 00:48:36
问题 I'm using Typhoon library for Dependency Injection Framework. I use CocoaPod for installing this library. Here is my pod file: target "typhoon-swift-demo" do pod 'Typhoon' end target "typhoon-swift-demoTests" do end I have installed successfully but when I open workspace project file. I type those line of code as Typhoon sample code: public class ApplicationAssembly: TyphoonAssembly { } I meet error that my application doesn't recognize TyphoonAssembly I have tried to use some lines such as:

Undefined symbols for architecture armv7: cocoaPods iPhone 5

≡放荡痞女 提交于 2019-12-04 00:40:25
问题 I'm getting this error, only when I try to build and run on an iPhone 5. It works fine on an iPhone 6 or greater. These are all cocoaPods generating the error. I've ran pod install, pod update, wiped out the pods and started over, nothing: I've tried all the answers from here: Undefined symbols for architecture armv7 for Cocoapods libraries with no luck. Here is the verbose output from pod install Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build

XCode 6 CocoaPods error : target overrides the `OTHER_LDFLAGS` build setting

流过昼夜 提交于 2019-12-04 00:16:19
I just starting using CocoaPods and I am getting the following errors when I pod install from the terminal (My project is called babyMilestones and I'm trying to use CocoaPods for the ShipLib Framework). : The babyMilestones [Release] target overrides the FRAMEWORK_SEARCH_PATHS build setting defined in Pods/Target Support Files/Pods/Pods.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the $(inherited)` flag, or - Remove the build settings from the target. I'm getting this error for Header Search Paths and Framework Search Paths. When I try to build my project

Issues with adding a pod file to my Xcode project

﹥>﹥吖頭↗ 提交于 2019-12-03 23:36:03
I've been trying to create a pod file for my project in my directory using the terminal, but I'm running into the issue shown below, any suggestions? I tried restarting my Mac and even tried to add one to a different project but to no avail. Also couldn't seem to find any other instances of this occurring. Here's the terminal output: Matts-Mac-mini:~ sarabytestudios$ cd /Users/sarabytestudios/Desktop/Blurr\Messenger/Blurr\ Messenger.xcodeproj Matts-Mac-mini:Blurr Messenger.xcodeproj sarabytestudios$ pod init [!] No xcode project found, please specify one Matts-Mac-mini:Blurr Messenger

How can I silence warnings from all pods except local pods?

时光怂恿深爱的人放手 提交于 2019-12-03 22:30:10
I'm assuming something along the lines of post_install do |installer| # Debug symbols installer.pod_project.targets.each do |target| target.build_configurations.each do |config| if ? == ? config.build_settings['?'] = '?' end end end end I encountered a similar problem today and figured out two ways to achieve this depending on the complexity of your dependencies. The first way is simple and should work if your local development pods are in your main pod file and not nested in another dependency. Basically inhibit all the warnings as per usual, but specify false on each local pod: inhibit_all