Closed gulabsagevadiya closed 9 months ago
@gulabsagevadiya I personally use Swift Package Manager for adding dependencies in iOS. Here's how to do it in XCode. File -> Add Package Dependencies -> Entering "https://github.com/google/GoogleSignIn-iOS" in url field -> Add Package Button.
Appreciate your efforts for junior developer like me. And yes this is way easier then cocoapods
I added the GoogleSignIn library to the project via SPM, but the build continues to fall with an error:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld invocation reported errors
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
ld: framework 'GoogleSignIn' not found
There is no discussion forum in this repo so i have created this issue. I am new to kmp and i have only exp with android development so it's little confusing to add packages to ios app. can you help us by creating step by step process to add package in ios with cocoapods
i have already added cocoapods on my mac system but you can start from this to help other like me