- Home /
iOS Builder error “Could not find or use auto-linked framework”
I'm trying to build my Unity project on Windows with this asset. I use iOS builder version 3.29 using iOS SKD 13.4. Project is on Unity 2019.4.16f1. All keys and certificates were received. Project uses the Firebase Authentication v.7.0.2 package. I do not use CocoaPods, because I had similar bug, like in this case. Now, when I try to make a build, I get errors in log:
ld: warning: Could not find or use auto-linked framework 'UniformTypeIdentifiers'
ld: warning: Could not find or use auto-linked framework 'GTMSessionFetcher'
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_FIREmailAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRPhoneAuthCredential", referenced from:
objc-class-ref in libFirebaseCppAuth.a(user_ios_cc864224f6864eca273c459ba52f1c1f.o)
"_OBJC_CLASS_$_FIRFacebookAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRGameCenterAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRConfiguration", referenced from:
objc-class-ref in libFirebaseCppApp.a(log_ios_ee7a1218bfdff7d87ef250b57d103a01.o)
"_OBJC_CLASS_$_FIROAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRGitHubAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRGoogleAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRTwitterAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRPhoneAuthProvider", referenced from:
objc-class-ref in libFirebaseCppAuth.a(credential_ios_e00102e1d7b7fbda5ca81044db487adf.o)
"_OBJC_CLASS_$_FIRAuth", referenced from:
objc-class-ref in libFirebaseCppAuth.a(auth_ios_6ecee4d441a0fe03dd14caf3b213639a.o)
"_FIRAuthErrorUserInfoUpdatedCredentialKey", referenced from:
firebase::auth::SignInResultCallback(FIRAuthDataResult*, NSError*, firebase::SafeFutureHandle<firebase::auth::SignInResult>, firebase::auth::AuthData*) in libFirebaseCppAuth.a(auth_ios_6ecee4d441a0fe03dd14caf3b213639a.o)
"_OBJC_CLASS_$_FIROptions", referenced from:
objc-class-ref in libFirebaseCppApp.a(app_ios_a1d3eabf342713143f18eb00d6ec885e.o)
"_OBJC_CLASS_$_FIRApp", referenced from:
objc-class-ref in libFirebaseCppApp.a(app_ios_a1d3eabf342713143f18eb00d6ec885e.o)
ld: 14 symbol(s) not found for architecture armv7
It seems that builder can't find some symbols, which refer to the Firebase package: - UniformTypeIdentifiers framework, I don't know, where to get it; - GTMSessionFetcher framework, which is connected via FireBase SDK and flags exist.
P.S. Also, here is the screen of my iOS builder window
Extra flags settings described below. Extra compiler flags:
-F"E:/Firebase/Google-Mobile-Ads-SDK/GoogleMobileAds.xcframework/ios-arm64_armv7"
-F"E:/Firebase/Google-Mobile-Ads-SDK/UserMessagingPlatform.xcframework/ios-arm64_armv7"
-F"E:/Firebase/GoogleSignIn/AppAuth.xcframework/ios-arm64_armv7" -F"E:/Firebase/GoogleSignIn"
-F"E:/Firebase/GoogleSignIn/GTMAppAuth.xcframework/ios-arm64_armv7"
-F"E:/Firebase/GoogleSignIn/GTMSessionFetcher.xcframework/ios-arm64_armv7"
Extra linker flags:
"E:/Firebase/Google-Mobile-Ads-SDK/GoogleMobileAds.xcframework/ios-arm64_armv7/GoogleMobileAds.framework/GoogleMobileAds" -framework AdSupport -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreVideo -framework JavaScriptCore -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework QuartzCore -framework SafariServices -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework WebKit
"E:/Firebase/Google-Mobile-Ads-SDK/UserMessagingPlatform.xcframework/ios-arm64_armv7/UserMessagingPlatform.framework/UserMessagingPlatform"
"E:/Firebase/GoogleSignIn/AppAuth.xcframework/ios-arm64_armv7/AppAuth.framework/AppAuth"
"E:/Firebase/GoogleSignIn/GoogleSignIn.framework/GoogleSignIn" -framework AuthenticationServices -framework CoreText -framework LocalAuthentication
"E:/Firebase/GoogleSignIn/GTMAppAuth.xcframework/ios-arm64_armv7/GTMAppAuth.framework/GTMAppAuth"
"E:/Firebase/GoogleSignIn/GTMSessionFetcher.xcframework/ios-arm64_armv7/GTMSessionFetcher.framework/GTMSessionFetcher" -ObjC
I didn't find similar cases on the Internet, and I have no idea how to fix it. If anyone have suggestions, please help. Thank you!
Your answer
Follow this Question
Related Questions
Can I build for iphone in a Windows PC? 3 Answers
Distribute terrain in zones 3 Answers
how can i do an ios build using a pc 1 Answer