Xcode 8 – Missing Files warnings

This is just an Xcode bug. If you delete or rename a file without then doing a commit, Xcode sees the discrepancy between the previous git commit and the current state of things and reports these warnings. They go away as soon as you do a git add that includes the file deletion / rename.

CocoaPods – use specific pod version

In your Podfile: pod ‘AFNetworking’, ‘1.2.0’ Check ‘Get started’ at http://cocoapods.org Once this is done, you can then issue a pod update in the terminal for the change to take place. Of course, this needs to be done from your project’s top level folder. If the update does not occur, edit your Podfile.lock file and … Read more

Xcode Unit Testing with Cocoapods

I had the same issue. I solved it by moving pod ‘Firebase’ to my test target. Change your Podfile to this: platform :ios, ‘9.0’ use_frameworks! inhibit_all_warnings! target ‘MyApp’ do pod ‘Firebase/Auth’ pod ‘Firebase/Database’ pod ‘Firebase/Storage’ target ‘MyAppTests’ do inherit! :search_paths pod ‘Firebase’ end end

Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo

One of the major issue is “weak cryptographic standards removed” after 2018 February. Here a note: https://github.com/blog/2507-weak-cryptographic-standards-removed To solve this, first you need to update openssl, then ruby, then cocoapod. $ which openssl /usr/bin/openssl $ openssl version OpenSSL 0.9.8zh 14 Jan 2016 $ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)” $ brew update $ brew install openssl … Read more

CocoaPods could not find compatible versions for pod “ReactCommon/jscallinvoker”:

For React native 0.62 version So I figure it out Replace following line in your Podfile pod ‘ReactCommon/jscallinvoker’, :path => “../node_modules/react-native/ReactCommon” with pod ‘ReactCommon/callinvoker’, :path => “../node_modules/react-native/ReactCommon” Edit: If you have updated to React Native version 0.63 Delete Podfile.lock from iOS folder. Do npm i Open podfile from iOS folder Delete everything and copy below … Read more

ld: framework not found Pods

In Project Navigator in the folder Pods I had a Pods.framework in there which was red. It was also present in Linked Frameworks and Libraries. I removed both references and the error disappeared. TL;DR Remove Pods.framework in: Folder named Pods Linked Frameworks and Libraries

How to install a pod from a specific branch?

The podfile guide mentions the following syntax: To use a different branch of the repo: pod ‘Alamofire’, :git => ‘https://github.com/Alamofire/Alamofire.git’, :branch => ‘dev’ ^^^ (the space is important) So in your case, that would be: pod ‘SQLite.swift’, :git => ‘https://github.com/stephencelis/SQLite.swift.git’, :branch => ‘swift3-mariotaku’