cocoapods

Apple Mach -O Linker (Id) Error?

孤街醉人 提交于 2019-11-30 06:47:10
I am trying to build this xcode workspace which was built from Unity. And after modifying the project a little bit when I getting to the very end of building the project (linking) I get the Apple Mach -O Linker (Id) Error. I can't open the error tab to see what exactly is causing the error. All it says is "Linker command failed with exit code 1 (use -v to see invocation). There are also two Apple Mach -O Linker (Id) Errors which occur but I have no idea how to solve them. Any help is greatly appreciated! I can't expand these tabs.. this is all I get told This is the warning tab expanded, the

Xcode 7.3 debugger not showing custom class variables

只愿长相守 提交于 2019-11-30 06:40:54
I recently updated to Xcode 7.3 , however while debugging at break points , the objects show in the debug area but clicking the triangle to reveal the variables does nothing . I never had such issues with Xcode 7.2 . I have also have a Cocoa-pod Facebook Pop library in my project (incase its relevant) . I have updated it since upgrading to Xcode 7.3. Update : More specifically I can't expand custom class variables , but variable like NSRange do expand to show location and length , however I can't expand my custom ViewController classes etc. Phew .. The pictured setting did it for me . Also a

Building a distributable static library that uses cocoapods

Deadly 提交于 2019-11-30 06:31:12
问题 I'm building a static library to be distributed to other iOS developers and having some trouble configuring the linker to allow the static library to be used in another app. I have used this guide to create a MyStaticLibrary.framework bundle containing the lib itself, and other assets such as images. This builds successfully and uses cocoapods to source the required dependencies (AFNetworking, etc.). So far, so good. But when I import MyStaticLibrary.framework into a new Xcode project to test

How to add cocoapods to existing workspace not project

心已入冬 提交于 2019-11-30 06:25:44
I am working on a project which is composed of three other projects in a workspace. I want to use CocoaPods to manage my dependecies in the workspace, but CocoaPods always creates its own workspace with only one addtional project. What I want to do is to add CocoaPods project to the workspace that already exists. Is there any simple way to achive that? You can specify a workspace in your podfile. workspace 'MyWorkspace' Please consult this link for more info: http://guides.cocoapods.org/syntax/podfile.html#workspace Illya Krit In terminal go to directory with your xcworkspace-file. $ touch

What does inherit! :search_paths do?

限于喜欢 提交于 2019-11-30 06:04:19
After looking at CocoaPods' own example (from https://guides.cocoapods.org/syntax/podfile.html#abstract_target ) # Note: There are no targets called "Shows" in any of this workspace's Xcode projects abstract_target 'Shows' do pod 'ShowsKit' # The target ShowsiOS has its own copy of ShowsKit (inherited) + ShowWebAuth (added here) target 'ShowsiOS' do pod 'ShowWebAuth' end # The target ShowsTV has its own copy of ShowsKit (inherited) + ShowTVAuth (added here) target 'ShowsTV' do pod 'ShowTVAuth' end # Our tests target has its own copy of # our testing frameworks, and has access # to ShowsKit as

Alamofire Xcode 8 Swift 3 results in 786 compile errors

心不动则不痛 提交于 2019-11-30 05:43:12
I am using the Xcode 8.0 GM. I created a default single-view app with my deployment target set to 9.0. In my Podfile I'm targeting the bleeding edge Swift 3 branch: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! target 'MyProject' do pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift3' end I run pod install and get ... Installing Alamofire (4.0.0-beta.2) ... fantastic, no problems. I open MyProject.xcworkspace . This pops up: I can't hit later because it tells me: Xcode 8 will not be able to build the target “Alamofire

What exactly does `pod repo update` do?

◇◆丶佛笑我妖孽 提交于 2019-11-30 05:35:39
I'm following an internet tutorial on Firebase and as part of it I had to do some work in the command line. I'm pretty comfortable with the command line, but I'm unfamiliar with Cocoapods. I ran pod repo update but after doing so I realized I ran it on my entire Documents folder of my Mac instead of the folder that contained my project. I took over 20 mins to execute and it printed out literally thousands of things when it finally completed, some of which included "create" and "deleted". I was kind of concerned- would running this command have modified anything in my Documents besides the

Google Map flickering in iOS

佐手、 提交于 2019-11-30 05:34:33
问题 I am using Google Maps SDK for iOS version: 1.10.17867.0 in my app via pod. But when I initialise the map at a particular position, all the titles and map starts flickering. Example Code (swift): import UIKit import GoogleMaps class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = UIColor.whiteColor(); var camera = GMSCameraPosition.cameraWithLatitude(19.0176147, longitude: 72.8561644, zoom:18) // even try this: 28.6469655,

pods issue, linker command failed with exit code 1

懵懂的女人 提交于 2019-11-30 04:53:00
when I run my project, I get errors like this: It seems that all frameworks in my cocoapods have problem. Is it my problem of my cocoapods? I have reinstalled my cocoapods, and used 'pod setup' or 'pod install' and others, but it doesn't work, and I still have the same errors... And in Xcode, red 'rd' on the 'Podfile' like this, I don't know if it is related to errors. pod 1.0.0 ruby 2.0.0 xcode 7.3.1 Anyone have the same problem? I faced similar problem in my project. After hours of searching I found that in GENERAL settings of the project in section "Linked Frameworks and Libraries" there

Pod file not being initialized?

筅森魡賤 提交于 2019-11-30 04:50:54
When i try to initialize pod file to use cocoapods via terminal, it gives me this error. How to fix it. /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.0/lib/cocoapods/command.rb:128:in `verify_minimum_git_version!': [!] You need at least git version 1.8.5 to use CocoaPods (Pod::Informative) Guohua Cheng I encounter the same problem and solve it by using the following command: sudo xcode-select --switch /Applications/Xcode.app As the error message in terminal shows, something with my git goes wrong. And, it has to do with the command line tool. I was having an issue while trying to install