Cocoapods with private git repository

If you use SSH and have generated a SSH Key (more info here) $>more ~/.ssh/config It should give you something like that: Host SomeHostNameAlias HostName github.com User YourUserName PreferredAuthentications publickey IdentityFile /Users/YourLocalAccount/.ssh/TheSSHKeyGenerated Then, in your Podfile, you should be able to do something similar to this (I didn’t put :branch =>, but if you need … Read more

Pod install command with error

replace this character ” ‘ ” with this ” ‘ ” in your podfile and try to install again. it’s happen to me when I copy pod line from somewhere else (like Evernote), some text editors automatically change this character. Usually it’s like this : pod ‘AFNetworking’, ‘~> 2.0’ but when I take from other … Read more

The sandbox is not in sync with the Podfile.lock-ios

For me, the reason was missign User-Defined variables in the Build Settings! Looking into the issue, the Build Phases tries to diff 2 files. diff “${PODS_PODFILE_DIR_PATH}/Podfile.lock” “${PODS_ROOT}/Manifest.lock” > /dev/null Just because of missing PODS_PODFILE_DIR_PATH and PODS_ROOT variables, assumes them as “” so ${PODS_PODFILE_DIR_PATH}/Podfile.lock points to /Podfile.lock and same for the other one. So it fails … Read more

react-native ios Podfile issue with “use_native_modules!”

Here is the correct answer: 1 – Your Podfile should contain this line on top require_relative ‘../node_modules/@react-native-community/cli-platform-ios/native_modules’ 2 – Make sure your package.json and node_module folders has this module installed cli-platform-ios/native_modules 3 – If you didn’t find after you run yarn install – means you have old cache node_modules in your machine and you need … Read more