I have problem with running app on ios that was cloned from github i tried to install pod put it giving me this error.
[!] Error installing MaterialControls
[!] /usr/local/bin/git clone https://github.com/fpt-software/Material-Controls-For-iOS.git /var/folders/0s/r4qtkcpj5wsbp5qrn3x224x00000gn/T/d20200819-21909-1j0u8aj --template= --single-branch --depth 1 --branch v1.2.2
Cloning into '/var/folders/0s/r4qtkcpj5wsbp5qrn3x224x00000gn/T/d20200819-21909-1j0u8aj'...
remote: Repository not found.
fatal: repository 'https://github.com/fpt-software/Material-Controls-For-iOS.git/' not found
Let's try to run pod install inside your IOS folder
This project does not exist anymore, so that's the probleme. You can try to open a new project and copy the dart files, if you still have them.
Related
In my Podfile, I tried to install PinterestSDK using these pod lines.
pod 'PinterestSDK', '~> 1.0'
pod "PinterestSDK", :git => "https://github.com/pinterest/ios-pdk.git"
pod "PinterestSDK", :git => "git#github.com:pinterest/ios-pdk.git"
None of these works. This is the error.
[!] Error installing PinterestSDK
[!] Failed to download 'PinterestSDK': [!] /usr/local/bin/git clone https://github.com/pinterest/ios-pdk.git /var/folders/wt/nbn7rbwd5yz0fvmlvhs6ptfc0000gn/T/d20210506-3226-i5p1tn --template= --single-branch --depth 1
Cloning into '/var/folders/wt/nbn7rbwd5yz0fvmlvhs6ptfc0000gn/T/d20210506-3226-i5p1tn'...
remote: Repository not found.
fatal: repository 'https://github.com/pinterest/ios-pdk.git/' not found
As the error says, I guess my first question is, Is the library still active? I could not access also the Pinterest Github repository(https://github.com/pinterest/ios-pdk.git). I'm not sure if my internet provider is blocking the library or perhaps it's not available in public already.
Any help is greatly appreciated. Thanks.
So it seems that the library is deleted. For workaround, you can use this forked version.
pod 'PinterestSDK_5'
I'm trying to install ResearchKit to support an iOS application project that I am working on, but I'm having trouble installing it using CocoaPods. Despite my best attempt(s) at installing, my project fails on the import ResearchKit line in one of the files with an error indicating that ResearchKit cannot be found.
Basic System Information:
MacOS 10.14.6
Xcode 11.3.1 (11C504)
CocoaPods 1.9.3
To install CocoaPods, I'm running the $ pod install command at the command line. ResearchKit is referenced in my Podfile as follows:
pod 'ResearchKit', '2.0.0'
And running $ pod install yields the following:
Installing ResearchKit (2.0.0)
[!] Error installing ResearchKit
[!] /usr/bin/git clone https://github.com/ResearchKit/ResearchKit.git /var/folders/zg/v1h_8jdj5p77k3b208xfl_540000gn/T/d20201019-18654-1lebm6x --template= --single-branch --depth 1 --branch 2.0.0
Cloning into '/var/folders/zg/v1h_8jdj5p77k3b208xfl_540000gn/T/d20201019-18654-1lebm6x'...
Note: checking out 'b46a5f4d8350549918c8aae7d16b67dcb73fbff9'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
[!] Automatically assigning platform `iOS` with version `13.1` on target `Master-Sample` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
I am, however, convinced that ResearchKit exists on my system, because running $ pod search ResearchKit yields:
-> ResearchKit (2.0.0)
ResearchKit is an open source software framework that makes it easy to create
apps for medical research or for other research projects.
pod 'ResearchKit', '~> 2.0.0'
- Homepage: https://www.github.com/ResearchKit/ResearchKit
- Source: https://github.com/ResearchKit/ResearchKit.git
- Versions: 2.0.0, 1.5.2, 1.5.0, 1.4.1, 1.3.1, 1.3.0, 1.2.1, 1.2, 1.1.2,
1.0.0 [trunk repo]
Any advice on why the ResearchKit install my be failing during execution of the $ pod install command, and/or why, if it is installed on my system, my project is unable to find it?
Thank you in advance! 😊
Resolved - I needed to install git-lfs. (https://github.com/ResearchKit/ResearchKit/issues/1219).
I have been trying to run someone's project but can't do pod install.
pod install
Analyzing dependencies
Pre-downloading: `KNMultiItemSelector` from `https://github.com/kentnguyen/KNMultiItemSelector.git`
Downloading dependencies
Installing AFNetworking (2.5.1)
Installing Amplitude-iOS (2.2.4)
Installing Analytics (1.11.2)
Installing AppsFlyer-SDK (2.5.3.10)
Installing Bugsnag (4.0.3)
[!] Error installing Bugsnag
[!] /usr/bin/git submodule update --init
Submodule 'KSCrashModule' (git#github.com:bugsnag/KSCrash.git) registered for path 'KSCrashModule'
Cloning into 'KSCrashModule'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git#github.com:bugsnag/KSCrash.git' into submodule path 'KSCrashModule' failed
I tried a bunch of different suggestions on Stack Overflow etc. and still running into this. Anyone have some other ideas?
I have same problem. I follow
Checking for existing SSH keys(https://help.github.com/articles/checking-for-existing-ssh-keys/)
Adding your SSH key to the ssh-agent(https://help.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/#adding-your-ssh-key-to-the-ssh-agent)
and then enter Correct SSH keys password.
"pod install" again, It's work.
I ended up removing the "Bugsnatcher" podfile and reinstalling it. I had another error with a different podfile afterwards, but also reinstalled that one. Project built after that.
I just updated to the latest seed and ran cocoapods on one of my projects. Everytime I run it I get the following error:
[!] An error occurred while performing git pull on repo lcl.
[!] /usr/bin/git pull --ff-only
fatal: Not possible to fast-forward, aborting.
I've tried reinstalling cocoapods, setting up the master repo and still no luck..
Any help appreciated.
This probably means you have something stopping you from doing a git pull in the specs repository in ~/.cocoapods/repos/master. The easiest way to deal with this is just remove it:
rm -rf ~/.cocoapods
pod setup
You should try this:
Open Xcode 6
Open Preferences
Click the Locations tab
Change the Command Line Tools version to Xcode 6.0
Uninstall cocoapods
$ sudo gem uninstall cocoapods
6 Install xcodeproj
$ sudo gem install xcodeproj
Install cocoapods
$ sudo gem install cocoapods
Run pod --version to verify that it worked
in my project Podfile, it contains this line - pod 'ZXingObjC', '~> 2.2.6'
then I execute this command: pod install --verbose --no-repo-update
Analyzing dependencies
Finding Podfile changes
A ZXingObjC
Resolving dependencies of Podfile
Resolving dependencies for target `Pods' (iOS 5.0)
- ZXingObjC (~> 2.2.6)
Comparing resolved specification to the sandbox manifest
A ZXingObjC
Downloading dependencies
-> Installing ZXingObjC (2.2.6)
GitHub download
Creating cache git repo (/Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f)
Cloning to Pods folder
$ /usr/bin/git clone https://github.com/TheLevelUp/ZXingObjC.git /Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f --mirror
Cloning into bare repository '/Users/leo/Library/Caches/CocoaPods/GitHub/460c72131c6f29c2d0f283a2dc9a9d7c7ff3388f'...
It hangs here for a long time, and finally give below error:
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Any one knows how to solve this? I want to use ZXingObjc in my project...ios