Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
removing fluff
Source Link
James Z
  • 12.3k
  • 10
  • 27
  • 48

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me. how to solve this type of error.thanks for help in advance?

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me to solve this type of error.thanks for help in advance

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

when i am trying to install the pod its showing errors. how to solve this?

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me to solve this type of error.thanks for help in advance

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me to solve this type of error.thanks for help in advance

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me to solve this type of error.thanks for help in advance

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.

Source Link

about pod installation error in ios project

when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me to solve this type of error.thanks for help in advance

Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url https://github.com/CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.