This repository was archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
This repository was archived by the owner on May 1, 2024. It is now read-only.
Linker command failed with exit code 1 on latest packages #535
Copy link
Copy link
Closed
Description
I have updated the packages to latest version which is 8.10.0 atm & getting native linking failed with linker flags.
Packages been used:
Xamarin.Firebase.iOS.Core - 8.10.0
Xamarin.Firebase.iOS.Analytics - 8.10.0
Xamarin.Firebase.iOS.Auth - 8.10.0
Xamarin.Firebase.iOS.CloudMessaging - 8.10.0
Xamarin.Firebase.iOS.Installations - 8.10.0
Xamarin.Firebase.iOS.Crashlytics - 8.10.0
Error log:
`Process exited with code 1, command:
MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRLoggerAuth. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : error MT5210: Native linking failed, undefined symbol: _kFIRLoggerMLKit. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
MTOUCH : warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'System.Net.Security' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'System' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'BCrypt' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'c' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'Kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'libEGL' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'ole32' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'dl' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : warning MT5215: References to 'kernel32' might require additional -framework=XXX or -lXXX instructions to the native linker
MTOUCH : error MT5201: Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lz -lsqlite3 -ObjC -lc++ -lsqlite3 -lz -lc++ -ObjC -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -ObjC -lc++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker "/Users/admin/Projects/FEProject.iOS/obj/iPhoneSimulator/Debug/device-builds/iphone 11-15.2/Entitlements.xcent"
Undefined symbols for architecture x86_64:
"_kFIRLoggerAuth", referenced from:
___34-[FIRAuth initWithAPIKey:appName:]_block_invoke in FirebaseAuth(FIRAuth.o)
-[FIRAuth scheduleAutoTokenRefreshWithDelay:retry:] in FirebaseAuth(FIRAuth.o)
___47-[FIRAuth getTokenForcingRefresh:withCallback:]_block_invoke in FirebaseAuth(FIRAuth.o)
+[FIRAuthAPNSTokenManager isProductionApp] in FirebaseAuth(FIRAuthAPNSTokenManager.o)
___70-[FIRAuthNotificationManager checkNotificationForwardingWithCallback:]_block_invoke in FirebaseAuth(FIRAuthNotificationManager.o)
-[FIRUser signOutIfTokenIsInvalidWithError:] in FirebaseAuth(FIRUser.o)
___62-[FIRPhoneAuthProvider verifyClientWithUIDelegate:completion:]_block_invoke_3 in FirebaseAuth(FIRPhoneAuthProvider.o)
...
"_kFIRLoggerMLKit", referenced from:
_FIRMLKitLog in FirebaseMLCommon(FIRMLKitLogger_294d6f5c71c3c86a3f30ca2d7bf082e1.o)
ld: symbol(s) not found for architecture x86_64
clang : error : linker command failed with exit code 1 (use -v to see invocation)`
Metadata
Metadata
Assignees
Labels
No labels