cocoapods

Google Map flickering in iOS

纵饮孤独 提交于 2019-11-30 21:12:47
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, longitude: 77.0932634, zoom:10 var mapView = GMSMapView.mapWithFrame(CGRectZero, camera:camera) var marker =

How do I delete my public cocoa pods

不羁岁月 提交于 2019-11-30 20:55:33
I have created a couple test cocoa pods that are public I need to delete these not just from my computer but from the public pod list? Is there a way to remove the trunk? To delete these specs entirely you'll need to submit a pull request to the specs repo removing the affected files. If you want to also remove them from the trunk database, you'll have to submit an issue on the trunk repo explaining the situation. In order to complete the @Keith Smiley's response , please find some other important details below: Can I submit a pull request if... Q: I want to update my Pod to a new version? A:

Firebase framework not found

别来无恙 提交于 2019-11-30 20:04:45
I've been trying to migrate my project to cocoapods. I feel like i'm almost there but I'm stuck in: ld: framework not found Firebase for architecture x86_64 error: linker command failed with exit code 1 (use -v to see invocation) I'm trying to compile using my "app.xcworkspace" and the project looks like this: Also: I've tried starting other projects and firebase works there so it's a problem with THIS project settings... Any idea? My podfile looks like this: # Uncomment this line to define a global platform for your project # platform :ios, ‘8.0’ target 'Parti' do # Comment this line if you

ios app store rejection - Your app uses the “prefs:root=” non-public URL scheme

旧时模样 提交于 2019-11-30 17:40:42
I recently uploaded a new version of my app to itunes connect. My app got rejected with this note Your app uses the "prefs:root=" non-public URL scheme I am almost sure that I don't use any Url scheme on my app I have tried finding prefs:root using grep -R in my entire project through terminal (case insensitive to be able to also match App-Prefs or whatever. I also use a lot of cocoapods libraries so... my question is ... Is there a way to find out which library is using that permission? Screenshot of search results on xcode Frameworks used on my project: AmazonFling many others from CocoaPods

Xcode 10.2, Swift 5, Command compileSwift failed while build the program with Release Scheme

懵懂的女人 提交于 2019-11-30 17:35:19
I'm using Xcode 10.2, Swift 5. With Debug scheme, no issue happens, but with Release scheme when I build or archive, it shows Command compileSwift failed with a nonzero exit code. I've tried delete DerivedData / Clean / pod deintegrate & pod install & pod update. None of these works. For my project problem was related to pod Cache which gives error when Optimization Level for Release is set to Optimize for Speed [-O] . I have set Compilation Mode to Whole Module again and set optimization level for the pod in pod file: post_install do |installer| installer.pods_project.targets.each do |target|

Old libraries, new CocoaPods

落爺英雄遲暮 提交于 2019-11-30 17:32:37
问题 Because CocoaPods 0.36 are availbable to anyone and they are now coming with Swift and Frameworks support I have one question that is bothering me today... I create Podfile in my project directory, fill it with: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' pod 'AFNetworking' pod 'SwiftyJSON' And run pod install as usual... You know this story. But when I open my .xcworkspace and go to any ViewController and import SwiftyJSON it just works but when I try to do the same

Xcode 6 Interface Builder “cannot open compiled nibs” error, FiksuSDK

狂风中的少年 提交于 2019-11-30 17:24:59
问题 I have an app that runs great in Xcode 5, using CocoaPods. When I open the app on Xcode 6 and hit build and run, I get four errors from the FiksuSDK about compiled nib files. On the side, it states that I do not have permission to view it, but tapping on it shows the error: "The document "FMVerifyViewController.nib" could not be opened. Interface Builder cannot open compiled nibs." I don't directly call any of these nib files, however it's possible that the Facebook API does. Screenshots

Issue when creating my first CocoaPod

此生再无相见时 提交于 2019-11-30 17:06:35
I am trying to create my first pod and is following this tutorial: http://www.sitepoint.com/creating-cocoapods/ But when I do: pod spec lint GLLingoManager.podspec I get following error: $ pod spec lint GLLingoManager.podspec -> GLLingoManager (0.1.0) - ERROR | [OSX] unknown: Encountered an unknown error ([!] /Applications/Xcode.app/Contents/Developer/usr/bin/git clone https://github.com/xeppen/GLLingoManager.git /var/folders/v6/tdz6zc7j10j_k0pc1vy627zm0000gn/T/d20160504-76297-8l71fj --template= --single-branch --depth 1 --branch 0.1.0 Cloning into '/var/folders/v6/tdz6zc7j10j

ios app store rejection - Your app uses the “prefs:root=” non-public URL scheme

∥☆過路亽.° 提交于 2019-11-30 16:33:33
问题 I recently uploaded a new version of my app to itunes connect. My app got rejected with this note Your app uses the "prefs:root=" non-public URL scheme I am almost sure that I don't use any Url scheme on my app I have tried finding prefs:root using grep -R in my entire project through terminal (case insensitive to be able to also match App-Prefs or whatever. I also use a lot of cocoapods libraries so... my question is ... Is there a way to find out which library is using that permission?

iOS Static Library + CocoaPods and the duplicate symbols error

删除回忆录丶 提交于 2019-11-30 15:37:04
I'm developing an Static Library / iOS Framework (Jeff Verkoeyen way) and I've added CocoaPods for manage dependencies (this is the big difference with other questions about duplicate symbols). I've been struggling with the "duplicate symbols" problem when a client that use CocoaPods use my static library / framework and a 3rd party library that I'm using too. I've been reading answers talking about not including 3rd party libraries into a custom static library but I want to do it this way, so that is not an option. I've found this article (thank you Ryan Arana) that talks about this problem