podfile

XCode says 'Use of undeclared type' when trying to use a protocol defined inside a private Pod (Swift)

自作多情 提交于 2019-12-11 06:40:02
问题 I and my team are stuck in a strange situation involving a base project + private pods with some protocols inside. Our problem is we can't access some of the (protocol) identifiers (defined in a private pod) from our base app code. Apparently our problem seems to be exactly the same as the one described in these 2 stack overflow threads, but their solutions haven't worked with us. Thread 1: Source files not found in Swift Thread 2: CocoaPod installed but doesn't see Swift code The skeleton we

Firebase UI Auth Provider iOS Swift Example

强颜欢笑 提交于 2019-12-10 13:36:10
问题 I am starting a new iOS Swift application and want to use FirebaseUI Auth. Here is the link to the docs where it talks about it under Drop-in authentication solution Firebase Auth. The FirebaseUI Auth for Android was very simple and easy. It appears that the iOS examples are out of date as there API seems to have changed drastically between versions. It looks like they are on version 3.1. The directions are also a little bare: https://github.com/firebase/FirebaseUI-iOS Can someone please help

Private Pod update/install stuck at Pre-downloading: “” from “” step

只谈情不闲聊 提交于 2019-12-07 20:56:11
问题 We have a private git repo that has shared framework for mobile apps, let's call it mobilesdk. Recently a new dev joined the team, and when she is setting up the repo pod install & pod update mobilesdk are getting stuck at the following step: Pre-downloading: `mobilesdk` from `https://github.companyurl.com/mobileFramework/mobilesdk.git`, branch `release/0.9` pod inclusion: pod 'mobilesdk', :git => "https://github.companyurl.com/mobileframework/mobilesdk.git", :branch => "release/0.9" "pod env

How can I know which React Native pod subspecs to add?

徘徊边缘 提交于 2019-12-07 02:18:20
问题 Working on an issue where I needed to add the react-native-device-info package to my iOS system, I had to add a dependency on React into my Podfile. Initially I applied all the podspecs from a list I'd found on the net: pod 'React', :path => '../node_modules/react-native', :subspecs => [ 'DevSupport', 'Core', 'RCTActionSheet', 'RCTAnimation', 'RCTGeolocation', 'RCTImage', 'RCTLinkingIOS', 'RCTNetwork', 'RCTSettings', 'RCTText', 'RCTVibration', 'RCTWebSocket' ] But I realised that some of

Private Pod update/install stuck at Pre-downloading: “” from “” step

早过忘川 提交于 2019-12-06 06:34:16
We have a private git repo that has shared framework for mobile apps, let's call it mobilesdk. Recently a new dev joined the team, and when she is setting up the repo pod install & pod update mobilesdk are getting stuck at the following step: Pre-downloading: `mobilesdk` from `https://github.companyurl.com/mobileFramework/mobilesdk.git`, branch `release/0.9` pod inclusion: pod 'mobilesdk', :git => "https://github.companyurl.com/mobileframework/mobilesdk.git", :branch => "release/0.9" "pod env" CocoaPods : 1.1.1 Ruby : ruby 2.2.5p319 RubyGems : 2.4.5.1 Host : Mac OS X 10.11.6 Xcode : 8.0

Podfile: Path of local pod relative to Projectpath possible?

淺唱寂寞╮ 提交于 2019-11-30 07:05:11
I am trying to add local pods to my objective c iOS project. Is there a way to use the rootpath of my project as relative path? The only way I got it to work is by using something like this: pod 'ObjCPod', :path => '~/Documents/iOS-Projects/MyApp/libraries/LocalPod/' This wouldn't work if I moved the Project folder or tried to build the project on another machine. I would like to have something like this: pod 'ObjCPod', :path => '$(SRCROOT)/libraries/LocalPod/' Is there a way to do that? Yes there is a way to do that, I have a project that use cocoapods and have custom pods in it, in the

Podfile: Path of local pod relative to Projectpath possible?

假装没事ソ 提交于 2019-11-29 07:51:01
问题 I am trying to add local pods to my objective c iOS project. Is there a way to use the rootpath of my project as relative path? The only way I got it to work is by using something like this: pod 'ObjCPod', :path => '~/Documents/iOS-Projects/MyApp/libraries/LocalPod/' This wouldn't work if I moved the Project folder or tried to build the project on another machine. I would like to have something like this: pod 'ObjCPod', :path => '$(SRCROOT)/libraries/LocalPod/' Is there a way to do that? 回答1:

No such module … in Xcode

旧城冷巷雨未停 提交于 2019-11-29 02:02:21
I've run into a problem with Xcode (using Swift) that has me completely stumped. I realize that this question has been asked and answered, but none of the answers have worked for me, and my situation seems to be a bit different than the others, as all of my pods are failing (not just a specific one). They all worked fine a week ago. I use Cocoapods for some of the more common Swift frameworks (e.g. Alamofire, Eureka, Kingfisher, SwiftyJSON, etc.). They were all working fine in Xcode 7. However, one of the (automatic) updates bumped up my Xcode version, after which it became mandatory to

what is the usage of “~>” in cocoapods

拟墨画扇 提交于 2019-11-28 20:49:58
问题 I want to know what the "~>" is used for,cause I find they are the same below: pod 'AFNetworking','~> 2.0.3' pod 'AFNetworking','2.0.3' 回答1: Well, ~> (the optimistic operator) is used when you want to specify a version 'up to next major | minor | patch '. For example: ~> 0.1.2 will get you a version up to 0.2 (but not including 0.2 and higher) ~> 0.1 will get you a version up to 1.0 (but not including 1.0 and higher) ~> 0 will get you a version of 0 and higher (same as if it was omitted)

Error using Pod Install command on Podfile in Terminal

柔情痞子 提交于 2019-11-28 07:15:17
I have installed Cocoapods, and created a Podfile using Atom containing the following lines: pod ‘Parse’, ‘~> 1.7.1′ pod ‘ParseUI’, ‘~> 1.1.3′ Upon placing this file into my Xcode Project Root Directory, and running 'pod install' in Terminal. The following is shown: [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice. /Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.38.2/lib/cocoapods-core/standard_error.rb:87:in `message': incompatible