ios-mail icon indicating copy to clipboard operation
ios-mail copied to clipboard

Unable to Clone Networking library

Open nivritgupta opened this issue 4 years ago • 5 comments

i am getting following error when trying to clone these two frameworks .

Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:apple/shared/pmnetworking' into submodule path '/Users/developer/ios-mail/Networking' failed Failed to clone 'Networking'. Retry scheduled Cloning into '/Users/developer/ios-mail/Networking'...

nivritgupta avatar Oct 06 '20 09:10 nivritgupta

is there anything new here? :(

iMonZ avatar May 11 '21 15:05 iMonZ

If you change the networking submodule to https://github.com/ProtonMail/ios-networking you can somehow compile it at least to that point that it fails with:

ld: framework not found Crypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)

jingx23 avatar Jul 05 '21 21:07 jingx23

@iMonZ use ssh option when cloning the code, don't use HTTPS .

nivritgupta avatar Dec 26 '21 14:12 nivritgupta

hey, @zhj4478 @wussler I have a question, why is your protonmail ios app not using GopenPGP library?

nivritgupta avatar Dec 26 '21 14:12 nivritgupta

The application does use GopenPGP for almost all purposes. Unfortunately generating RSA keys in go is too slow with gomobile (would take some minutes each key) therefore only to generate RSA keys we used this old library. This is being phased out as we move to ECC keys.

wussler avatar Dec 27 '21 09:12 wussler