Unity 5.5.2, Firebase Unity SDK 4.0.3, Cocoapod 1.2.1. I have setup Firebase cloud messaging successfully under my Android build in Unity, but I am unable to make iOS build and getting this error
"ld: library not found for -lz} clang: error: linker command failed
with exit code 1 (use -v to see invocation)"
We fixed this issue in the 4.2.0 SDK https://firebase.google.com/support/release-notes/unity#4.2.0 and https://github.com/googlesamples/unity-jar-resolver/commit/7d8df60d6a401340f6de8972b45366b9185ee856 of the Play Services Resolver.
Cheers,
Stewart
Related
Unity 5.6.2, Firebase Unity SDK 4.0.3, Cocoapod 1.3.1 I added Firebase Auth package to Unity Project and Android works fine. But when I run the same project on iOs, build in Unity runs fine, but fails in XCode during compilation
ld: library not found for -lGTMSessionFetcher clang: error: linker command failed with exit code 1
Any ideas how to fix it?
I've tried to add Firebase Auth form Unity SDK 4.1.0, but Unity started to fail due to:
iOS framework addition failed due to a Cocoapods installation failure.
Specs satisfying the 'Firebase/DynamicLinks (=4.0.4)' dependency were found, but they required a higher minimum deployment target
pod spec cat DynamicLinks output
"platforms": {
"ios": "7.0"
}
and I have 9.0 in my Unity project
This error happens when you open .xcodeproj instead of .xcworkspace.
as mentioned here
I recently came back to an old React Native project that was originally built with React Native 0.23, I have tried to update the app to the latest version of React Native 0.43.3. I now have a problem where the iOS app will fail to build with the error
ld: library not found for -lRCTWebSocketDebugger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any ideas how to fix this?
IIRC at some point (can't remember which version), RCTWebSocketDebugger.xcodeproj was renamed to RCTWebSocket.xcodeproj so you need to remove the dependency on the old lib through XCode and then run react-native link to take a dependency on the new lib.
I added the Firebase iOS SDK with cocoapods and after the integration I tried to run the project and got the library missing error:
ld: library not found for -lGoogleToolboxForMac
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And i found one same stackoverflow question and i tried its answer and that did not work for me.
I am using Xcode 7.3.1 and my project is hybrid project.
My iOS App use Google Sign in SDK with Cocoapad
I recently updated Google Sign in SDK version 2.3.2 to versions 2.4.0 use Pod Update then My App does not build on Xcode with Build failed Message
ld: library not found for -lGIDExShared clang: error: linker command
failed with exit code 1 (use -v to see invocation)
Is there any way to bypass this and add support to the library if the developer of the library hasn't updated their library yet?
Thanks a lot for your help and time.
Update
I found solved the question.
remove "-lGIDExShared" in Xcode Build Setting, Other linker flag.
Thanks for all the answers.
Install it with
pod 'GoogleSignIn'
in your Podfile. It seems the name has changed. I tested this with Xcode 7.1 and CocoaPods 0.39.0.
I recently updated my OSX to El Capitan and, because of an issue with my previous version of Unity (v 5.0.1 I believe), I was forced to update to the latest version (5.2.1f1). Now, when I build for iOS, I get the following error during the linking process:
ld: framework not found FBSDKCoreKit for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using the Soomla library for in-app purchases and social integration, as well as Parse for the online database. I believe at least one of these libraries could be responsible for this, since they both contain Facebook-related code. In any case, I can't figure out what I need to try next. Both plugins have been updated to their latest versions.
I attempted building with the Mono2x scripting backend first, as usual. Then, I tried changing it to IL2CPP and tried compiling for armv7, arm64, and the Universal architecture options. Nothing worked.
I also tried manually adding the FBSDKCoreKit framework file downloaded from https://developers.facebook.com/docs/ios. This also didn't work, except this time I got a slightly different error:
ld: framework not found FBSDKCoreKit clang: error: linker command
failed with exit code 1 (use -v to see invocation)
I'm not sure why it would say this when I explicitly add the framework into the Xcode project. Could anyone give me any insight?