podfile

“pod init” giving error “-bash: pod: command not found”

南楼画角 提交于 2021-02-06 07:05:05
问题 I am trying to create a Podfile for my Xcode project for Firebase compatibility, but when I try to create it within the same file that my Xcode project is stored in, using my terminal and typing "pod init", it throws the error "-bash: pod: command not found". I am up to date on OSX as far as I'm aware, using Sierra 10.12.1, but I am unfamiliar with the use of Podfiles, so any help here would be great, thanks. 回答1: Looks like you didn't install CocoaPods. To do that you install it through ruby

“pod init” giving error “-bash: pod: command not found”

一笑奈何 提交于 2021-02-06 06:55:47
问题 I am trying to create a Podfile for my Xcode project for Firebase compatibility, but when I try to create it within the same file that my Xcode project is stored in, using my terminal and typing "pod init", it throws the error "-bash: pod: command not found". I am up to date on OSX as far as I'm aware, using Sierra 10.12.1, but I am unfamiliar with the use of Podfiles, so any help here would be great, thanks. 回答1: Looks like you didn't install CocoaPods. To do that you install it through ruby

LoadError - library not found for class Digest::SHA1 — digest/sha1

匆匆过客 提交于 2020-05-26 04:17:43
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

LoadError - library not found for class Digest::SHA1 — digest/sha1

≡放荡痞女 提交于 2020-05-26 04:16:07
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

LoadError - library not found for class Digest::SHA1 — digest/sha1

余生颓废 提交于 2020-05-26 04:14:41
问题 When running pod install it runs into a problem when installing yoga . Seems to be a problem with my ruby environment? $ pod install Analyzing dependencies Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec` Fetching podspec for `Permission-Camera` from `../node_modules/react-native-permissions/ios/Camera.podspec` Fetching podspec for `Permission-LocationAlways` from `../node_modules/react-native-permissions/ios/LocationAlways.podspec` Fetching

'React/RCTUtils.h' file not found

我怕爱的太早我们不能终老 提交于 2020-05-17 06:48:07
问题 I am using xcode to build android app. in azure devops pipeline; on build i am getting this error: ▸ Compiling PdfManager.m ❌ /Users/runner/runners/2.166.3/work/1/s/node_modules/react-native-pdf/ios/RCTPdf/PdfManager.m:16:9: 'React/RCTUtils.h' file not found #import "React/RCTUtils.h" ^~~~~~~~~~~ ▸ Compiling RCTPdfPageViewManager.m ▸ Compiling RCTPdfPageView.m ▸ Compiling RCTPdfView.m ** BUILD FAILED ** The following build commands failed: CompileC /Users/runner/Library/Developer/Xcode

Proper way of editing a CocoaPod Library

妖精的绣舞 提交于 2019-12-23 18:29:40
问题 I experienced before that manipulating CocoaPod installed. Let's assume I have TheLibrary.swift installed via CocoaPod. Now it's under Pods > Libray > TheLibrary.swift . It's very bad practice to edit that file. So what is the proper way of editing it? I think I read that it may be done with extension(?), but I am completely unsure about how it is done. What should I do if I need to edit just one function from that file, for example? Extending my question, if there are other Supporting Files

No such module … in Xcode

你离开我真会死。 提交于 2019-12-18 13:12:28
问题 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.

Error using Pod Install command on Podfile in Terminal

不想你离开。 提交于 2019-12-17 18:25:38
问题 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

Automatically select proper path to local CocoaPods framework

怎甘沉沦 提交于 2019-12-13 03:45:09
问题 I have a local framework. Since I work from different computers - I have different local paths to this framework. So, whenever I build it on another machine - I need to change the path. That is how I change it: target 'SomeTarget' do # pod 'SomeFramework', :path => 'some/other/local/path' pod 'SomeFramework', :path => 'some/local/path' end Is there some way to write both paths and the proper path will be selected automatically? Or any other solution which will help to forget about manual