I am trying to integration Firebase notifications into my iOS application. I've started with the Firebase Integration tutorial and trying to proceed slowly. I followed the instructions which led me to the Firebase 2.50 - April 2020 framework installation. I think I've followed this correctly. I figured I would start with simply adding FirebaseAnalytics (which based on what I've read is needed in all Firebase projects) and Just adding the FirebaseAnalytics library (which does say 2.5 in B4i after I installed into the internal library) and process global FirebaseAnalytics and just seeing if I can build a debug app. This is where I am stuck. I've tried search around before creating this post and could not find this particular error. I must be missing something or I have not copied the frameworks into the right place. The error that I am getting is below:
I'm assuming the problem is with the
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_UIScene", referenced from:
And what follows that. I am using the following:
B4i 6.3
Local Builder 6.3
XCODE 10.2.1
Mac OS 10.14
In My local builder Libs folder I've tried both copying the contents of Firebase250.zip and FirebaseMacWrappers.zip to the Libs folder as both just the folder in the zip. So I had:
Lib\Firebase250 (and it's contents)
Lib\FirebaseMacWrappers (and it's contents)
and I also copied all the files in the Firebase250 and FirebaseMacWrappers directly into Lib. I'm getting the same issue. I also copied the Facebook framework as well. I feel like I'm missing something. Any thoughts?
Ld /Users/michaelrobinson/Downloads/B4iBuildServer\ (3)/UploadedProjects/<user id>/Payload/Opener.app/Opener normal arm64 (in target: B4iProject)
cd /Users/michaelrobinson/Downloads/B4iBuildServer\ (3)/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=10.2
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -L/Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Opener.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=10.2 -Xlinker -object_path_lto -Xlinker /Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Opener_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liMQTT -liPhone -liXUI -liFirebaseAnalytics -framework AVFoundation -framework MessageUI -framework CoreMotion -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstallations -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleDataTransportCCTSupport -framework GoogleUtilities -framework PromisesObjC -framework nanopb -liHttp -liStringUtils -liBitmapCreator -liDateUtils -lxCustomListView -liDebug2 -Xlinker -dependency_info -Xlinker /Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Opener_dependency_info.dat -o /Users/michaelrobinson/Downloads/B4iBuildServer\ \(3\)/UploadedProjects/<user id>/Payload/Opener.app/Opener
ld: warning:
Could not find auto-linked framework 'FBLPromises'
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_UIScene", referenced from:
objc-class-ref in GoogleUtilities(GULSceneDelegateSwizzler.o)
"_UISceneWillConnectNotification", referenced from:
___54+[GULSceneDelegateSwizzler proxyOriginalSceneDelegate]_block_invoke in GoogleUtilities(GULSceneDelegateSwizzler.o)
"_UISceneWillDeactivateNotification", referenced from:
-[GDTCORApplication init] in GoogleDataTransport(GDTCORPlatform.o)
"_UISceneWillEnterForegroundNotification", referenced from:
-[GDTCORApplication init] in GoogleDataTransport(GDTCORPlatform.o)
"___isPlatformVersionAtLeast", referenced from:
-[FIRInstallationsIIDStore deleteIIDFlagFromPlist:] in FirebaseInstallations(FIRInstallationsIIDStore.o)
-[FIRSecureStorage archiveDataForObject:error:] in FirebaseInstallations(FIRSecureStorage.o)
-[FIRSecureStorage unarchivedObjectOfClass:fromData:error:] in FirebaseInstallations(FIRSecureStorage.o)
-[FIRInstallationsIIDTokenStore IIDCheckinWithData:] in FirebaseInstallations(FIRInstallationsIIDTokenStore.o)
_GDTCORNetworkMobileSubTypeMessage in GoogleDataTransport(GDTCORPlatform.o)
_GDTCOREncodeArchive in GoogleDataTransport(GDTCORPlatform.o)
_GDTCORDecodeArchive in GoogleDataTransport(GDTCORPlatform.o)
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: 2020-05-18 03:57:47.892 xcodebuild[14604:1042041] DVTProvisioningProfileManager: Failed to load profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/35e72dbf-3522-42cd-8f66-ae7618582237" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/35e72dbf-3522-42cd-8f66-ae7618582237"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/35e72dbf-3522-42cd-8f66-ae7618582237".})
2020-05-18 03:57:47.892 xcodebuild[14604:1042041] DVTProvisioningProfileManager: Failed to load profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/c62684a6-c8c4-4f6f-ba94-ec6cf248db17" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/c62684a6-c8c4-4f6f-ba94-ec6cf248db17"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/c62684a6-c8c4-4f6f-ba94-ec6cf248db17".})
2020-05-18 03:57:47.892 xcodebuild[14604:1042041] DVTProvisioningProfileManager: Failed to load profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/d92e2ed2-0905-4f6d-b4a4-f8ede4b6fb58" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/d92e2ed2-0905-4f6d-b4a4-f8ede4b6fb58"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/michaelrobinson/Library/MobileDevice/Provisioning Profiles/d92e2ed2-0905-4f6d-b4a4-f8ede4b6fb58".})
** BUILD FAILED **
The following build commands failed:
Ld /Users/michaelrobinson/Downloads/B4iBuildServer\ (3)/UploadedProjects/<user id>/Payload/Opener.app/Opener normal arm64
(1 failure)
I'm assuming the problem is with the
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_UIScene", referenced from:
And what follows that. I am using the following:
B4i 6.3
Local Builder 6.3
XCODE 10.2.1
Mac OS 10.14
In My local builder Libs folder I've tried both copying the contents of Firebase250.zip and FirebaseMacWrappers.zip to the Libs folder as both just the folder in the zip. So I had:
Lib\Firebase250 (and it's contents)
Lib\FirebaseMacWrappers (and it's contents)
and I also copied all the files in the Firebase250 and FirebaseMacWrappers directly into Lib. I'm getting the same issue. I also copied the Facebook framework as well. I feel like I'm missing something. Any thoughts?