cocoapods

CocoaPod installed but doesn't see Swift code

邮差的信 提交于 2019-12-11 05:06:31
问题 I've been struggling with integrating an ImagePicker library into my project. CocoaPods website shows this pod correctly except for the documentation even though it's documented, guess it simply doesn't see the code... Steps to recreate my issue: Install a pod through CocoaPods. platform :ios, '9.0' target 'TestProject' do use_frameworks! pod 'ImagePickerKit', '~> 0.2' end Import ImagePickerKit module and try to implement some protocol... What can be wrong? Thank you in advance. P.S. Xcode

Cocoapods error after installing “firebase_firestore” Flutter plugin [duplicate]

北城余情 提交于 2019-12-11 05:05:59
问题 This question already has answers here : Conflicts with FlutterFire and native GeoFire plugin on iOS (2 answers) Closed 2 years ago . I've got my app working with the Firebase RTDB but want to experiment with Firestore so I have followed the instructions and installed the 'firebase_firestore' plugin. When I run my app now I get the following error: Resolving dependencies of `Podfile` [!] Unable to satisfy the following requirements: - `Firebase/Firestore` required by `firebase_firestore (0.0

Best approach : Is it good approach to sync pods file on Github

心已入冬 提交于 2019-12-11 04:34:31
问题 I am using some framework which are integrated with pods . So I want to ask is this good approach to sync these framework on gitHub . For example . In my iOS project I have integrated GoogleMap framework, Should I sync this on Github or i should some reference . I am asking this because When i commit this framework it give me memory issues. 回答1: I'd say there's no "best approach" about what should be ignored concerning your pods dependencies. One would say that it's better to ignore the pods

Xcode Build Error after updating to Swift 4.2 - Undefined symbols for architecture arm64

半城伤御伤魂 提交于 2019-12-11 04:27:24
问题 I am trying to build an Xcode iOS project I haven't touched since last June. I know there have been some updates with packages and something with Swift 4.2 but I got a multitude of errors. Firstly I got a library not loaded error similar to this but for RestKit. I added it to my pods file and included it into Link Binary with Libraries . Then I got this error message. Ld /Users/arkwl/Library/Developer/Xcode/DerivedData/BuddyV2-gubyodomquayvxabpgpfpalrnftx/Build/Products/Debug-iphoneos/BuddyV2

CocoaPods error: RPC failed; curl 18 transfer closed with outstanding read data remaining

柔情痞子 提交于 2019-12-11 04:20:51
问题 When I tried to import Realm with CocoaPods like this: pod install --verbose --no-repo-update then error happened: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed fatal: clone of 'https://github.com/ColinH/PEGTL' into submodule path '/private/var/folders/51/tzbm7yqs3bsck5vxz3xj5pkc0000gn/T/d20160925-2957-1pu1dou/Realm/ObjectStore/external/pegtl' failed why? 回答1: The above error

Unable to access class member inside the pod

扶醉桌前 提交于 2019-12-11 04:19:08
问题 Im accessing a variable inside a class of my pod . The members inside the class have internal access modifier. But cannot able to access the tenantURL from the networking class. Why this happens? SDKCore class public class SDKCore { public static let shared = SDKCore() var accessToken: String var tenantURL: String var clientSecret: String var appId: String init(accessToken: String, tenantUrl: String, clientSecret: String, appId: String) { self.accessToken = accessToken self.tenantURL =

Google plus with CocoaPods in Swift

女生的网名这么多〃 提交于 2019-12-11 04:14:28
问题 In an iOS app I'm developing, I need to add Google+ sign-in feature. The app is developed in Swift. I added the GooglePlus iOS SDK through CocoaPods. Please note that I have CocoaPods v0.36 beta installed which officially supports Swift. I've integrated many Objective-C libraries with Swift projects this way before. The pod installation was successful. Then I needed to import the framework to files where I wanted to use its methods so I added the below lines to the top of the file. import

Is it harmful to have warning: Skipping code signing because the target does not have an Info.plist file?

筅森魡賤 提交于 2019-12-11 04:13:13
问题 I have this warning on my Xcode 10 after installing firebase core and crashlytic: Warning : Skipping code signing because the target does not have an Info.plist file. (in target 'FirebaseCore') here is the pod I use: # Uncomment the next line to define a global platform for your project platform :ios, '9.3' target 'xxx' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! # Pods for xxx pod 'Firebase/Core' pod 'Fabric', '~> 1.9.0' pod

Cocoapods: use_frameworks! causes linker errors

两盒软妹~` 提交于 2019-12-11 04:09:37
问题 I want to provide my Objective-C library as cocoapod and some users wants to get it with 'use_frameworks!' option. Without this key it works fine but after including it in Podfile Xcode 7.1 Beta throws these errors: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_***", referenced from: objc-class-ref in ***.o "_OBJC_CLASS_$_***", referenced from: _OBJC_CLASS_$_*** in ***.o objc-class-ref in ***.o objc-class-ref in ***.o (maybe you meant: _OBJC_CLASS_$_***) "_OBJC_CLASS_$_***",

PayPal-iOS-SDK using cocoapods throws error in bridging header

心不动则不痛 提交于 2019-12-11 04:09:32
问题 I am trying to integrate Paypal sdk in a swift project using cocoapods . I tried to import PayPal_iOS_SDK module but it throws the following error No such module 'PayPal_iOS_SDK' With #import <PayPal-iOS-SDK/PayPalMobile.h> in bridging header compiler is unable to find headers. Is there anything wrong I am doing in bridging header? 回答1: I fixed it by setting Pods/PayPal-iOS-SDK/** in User Header Search Paths . Later I was able to #import "PayPalMobile.h" in the bridging headers. 回答2: I fixed