When I write pod install in terminal I have:
Setting up CocoaPods master repo
[!] The master repo is not a git repo.
What does mean? How to repair?
Related
Getting error when I tried to update pod,
pod update
Error found,
[!] CDN: trunk Repo update failed - 12 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/9/b/5/FBSDKCoreKit/6.1.0-alpha/FBSDKCoreKit.podspec.json Response: Timeout was reached
However, I can access the json path smoothly from my browser.
How to resolve this?
I have same issue like yours, I fixed it by running:
pod repo remove trunk and then pod install, once these are complete I ran pod update and it updated everything.
I ran into same issue , following steps helped me to fix these errors-
comment git path for cocoa pods and add path for CDN
pod 'TensorFlowLiteSelectTfOps', '~> 0.0.1-nightly'
pod repo remove trunk
pod install
No of errors reduced , keep repeating step 4 until u get no errors and it starts installing pod
I got this error with FirebaseRemoteConfig 7.1.0.
In my case, above answers didn't work.
pod repo remove trunk
Add GitHub path to Podfile
But it was resolved after I ate dinner... (maybe caused by CDN server)
if you are on mac
just run
git clone https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
then go do
pod install
If none of things works for you then try to update your cocoapods using
sudo gem install cocoapods
It will definitely fix issue. :)
I downloaded macOS using QEMU-system. You can find the full tutorial here::https://www.youtube.com/watch?v=p-pJ3qCse20
https://github.com/foxlet/macOS-Simple-KVM
Here are the problems I faced while downloading macOS on Ubuntu and running Xcode on the macOS
Problem 1: qemu-system-x86_64: failed to initialize KVM: No such file or directory when running ./basic.sh in terminal
Solution: enable virtualization from bios or you can run sudo chown [username] /dev/kvm in terminal
Note that after installing Xcode, you should install bundle, ruby, cocoapods
Problem 2: Could not find proper version of cocoapods (1.9.1) in any of the sources
Solution the cocoapods you're using are not compatable, uninstall cocoapods and reinstall again with cocoapods version = 1.9.1
Problem 3: Getting errors while running pod install
[!] Unable to find a specification for `PureLayout (= 3.1.5)`
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
I tried running pod repo update or with pod install --repo-update but I also got this error
Updating local specs repositories
$ /.cocoapods/repos/cocoapods fetch origin --progress
remote: Enumerating objects: 41, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 27 (delta 18), reused 0 (delta 0), pack-reused 0
From https://github.com/cocoapods/specs
5c7f45f07ad8..bed8af45c97e master -> origin/master
$ /usr/bin/git -C /Users/nisrine/.cocoapods/repos/cocoapods rev-parse --abbrev-ref HEAD
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
HEAD
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
[!] CocoaPods was not able to update the `cocoapods` repo. If this is an unexpected issue and persists you can inspect it running `pod repo update --verbose`
running pod repo update --verbose also didnt work and gave this error
/.cocoapods/repos/cocoapods rev-parse --abbrev-ref HEAD
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
HEAD
Solution: open vi Gemfile.lock
and add git configuration to the file
now running bundle exec pod install will work fine
Problem 4: CocoaPods could not find compatible versions for pod "Firebase/Performance"
Solution: run pod install --repo-update and ran again bundle exec pod install the error is resolved
Problem 5: simulator wasn't running due to multiple commands produce after running /build/products/debug-iphonesimulator/umbrella.framework/umbrella
Solution: go to File >Project/Workspace settings
then Change the build system to Legacy Build system.
I have created my own Cocoapod. When I released a new version, then it should be available for the users. I have pushed the latest changes to git Cocoapods repository. Then I ran the command:
pod update
It showing the message for latest version update. But I am not getting the changes in my pod.
1: Run this command in terminal to update pod repo in your system
pod repo update
2: Then run
pod deintegrate
pod clean
pod install
I'm trying to install the azure libraries via cocoapods for device use but it's not letting me. The branch jbobotek-test-cocoa is missing.
Below are the console log when trying to do a pod install:
Installing AzureIoTUtility (1.1.12d)
[!] Error installing AzureIoTUtility
[!] /usr/bin/git clone https://github.com/Azure/azure-c-shared-utility.git /var/folders/f9/zvsz4k2j56d35r49dq33cc0r0000gp/T/d20200117-31514-hwmiqr --template= --single-branch --depth 1 --branch jbobotek-test-cocoa
Cloning into '/var/folders/f9/zvsz4k2j56d35r49dq33cc0r0000gp/T/d20200117-31514-hwmiqr'...
warning: Could not find remote branch jbobotek-test-cocoa to clone.
fatal: Remote branch jbobotek-test-cocoa not found in upstream origin
I am using cocoapods 0.39 and i am getting a '1.0 required' error.
[!] The `master` repo requires CocoaPods 1.0.0 - (currently using 0.39.0)
Update Cocoapods, or checkout the appropriate tag in the repo.
Error when running pod install explains how to make pod install command work, but I can't figure out how to succesfully pass pod setup as it seems to have the new repo build-in
Here is some info about what happened.
http://blog.cocoapods.org/Sharding/
Just replace the current source in your Podfile with this:
https://github.com/CocoaPods/Old-Specs
Then run pod install.
you can just execute this commande :
sudo gem install cocoapods
For others who are facing the same problem, write following command in terminal
sudo gem install -n /usr/local/bin cocoapods
if you need to run pod setup with 0.39 call this instead:
(cd ~/.cocoapods/repos && git clone https://github.com/CocoaPods/Specs.git && mv Specs master && cd master && git checkout v0.32.1)
for making pod install follow my link in the original post or look at Mereuta's answer.