Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix xcode 12.5 compile file FBClassStrongLayout.mm error #118

Open
nyz110 opened this issue May 19, 2021 · 5 comments
Open

fix xcode 12.5 compile file FBClassStrongLayout.mm error #118

nyz110 opened this issue May 19, 2021 · 5 comments

Comments

@nyz110
Copy link

nyz110 commented May 19, 2021

Just replace
pod 'FBRetainCycleDetector', '~> 0.1.4'
with
pod 'FBRetainCycleDetector', :git => '[email protected]:facebook/FBRetainCycleDetector.git' ,:branch => 'main'
then
pod update

@heyehao2008
Copy link

error with:
Cloning into '/var/folders/95/zblg36ln5396hm5dfcty_wjc0000gn/T/d20210524-8583-1b6kvhg'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

how can i fix it?

@heyehao2008
Copy link

change git to https may help you:
pod 'FBRetainCycleDetector', :git => 'https://github.com/facebook/FBRetainCycleDetector.git' ,:branch => 'master'

@nyz110
Copy link
Author

nyz110 commented May 24, 2021

error with:
Cloning into '/var/folders/95/zblg36ln5396hm5dfcty_wjc0000gn/T/d20210524-8583-1b6kvhg'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

how can i fix it?

check your github SSH configration

@jiaoxiaker
Copy link

jiaoxiaker commented Sep 15, 2021

Pre-downloading: FBRetainCycleDetector from https://github.com/facebook/FBRetainCycleDetector.git, branch master

[!] Error installing FBRetainCycleDetector
[!] Failed to download 'FBRetainCycleDetector': [!] /usr/bin/git clone https://github.com/facebook/FBRetainCycleDetector.git /var/folders/rh/m32wwgvj5yb7hv_hn7qsly_w0000gn/T/d20210915-7771-1w7oerk --template= --single-branch --depth 1 --branch master

Cloning into '/var/folders/rh/m32wwgvj5yb7hv_hn7qsly_w0000gn/T/d20210915-7771-1w7oerk'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin

change branch :
pod 'FBRetainCycleDetector', :git => 'https://github.com/facebook/FBRetainCycleDetector.git' ,:branch => 'main'

@nyz110
Copy link
Author

nyz110 commented Oct 9, 2021

Pre-downloading: FBRetainCycleDetector from https://github.com/facebook/FBRetainCycleDetector.git, branch master

[!] Error installing FBRetainCycleDetector [!] Failed to download 'FBRetainCycleDetector': [!] /usr/bin/git clone https://github.com/facebook/FBRetainCycleDetector.git /var/folders/rh/m32wwgvj5yb7hv_hn7qsly_w0000gn/T/d20210915-7771-1w7oerk --template= --single-branch --depth 1 --branch master

Cloning into '/var/folders/rh/m32wwgvj5yb7hv_hn7qsly_w0000gn/T/d20210915-7771-1w7oerk'... warning: Could not find remote branch master to clone. fatal: Remote branch master not found in upstream origin

change branch : pod 'FBRetainCycleDetector', :git => 'https://github.com/facebook/FBRetainCycleDetector.git' ,:branch => 'main'

you are right,the branch name has been modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants