iOS Question Error Compile upgrading to B4i 10.00 [solved]

Carlos marin

Active Member
Licensed User
Longtime User

Hi, I'm getting this error after updating b4i to 10.00 (I also updated Mac Builder on my Mac (Sequoia 15.6, Xcode 16.3)

After searching the forum, I followed these steps:

1. Download Firebase: https://firebase.google.com/download/ios#integrate-manually
2 I deleted the _CodeSignature folders and it still doesn't work.


1770443026771.png


I need help, I can't find much about this in the forums 😣😣😣😣😣
 

Carlos marin

Active Member
Licensed User
Longtime User
Hi again, I compiled the project omitting Firebase and it worked, but my app really needs to send push notifications. Where can I download these files?

1770478877802.png
 
Upvote 0

Carlos marin

Active Member
Licensed User
Longtime User
Hi, I've made some progress with the problem. Originally, these folders are the ones that come by default with B4iBuildServer. What happened is that when I downloaded Firebase from the link, it created another folder called Firebase and left the original one as Firebase_old (but I have a very similar problem; if I compile my app without iFirebase, it works without problems). Now I'm getting a more serious error. I need help, please. My project is practically at a standstill. Is there another way to use push notifications without iFirebase? I don't know what to do.


1770487390845.png


This is the last part of the error because it's really very extensive.
B4X:
Ld /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/Payload/Comiuny.app/Comiuny normal (in target 'B4iProject' from project 'B4iProject')
    cd /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>
    /Users/christianfontalvo/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios16.0 -isysroot /Users/christianfontalvo/Downloads/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.2.sdk -O0 -L/Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos -L/Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/Payload -L../../Libs -L../../Libs/Extra -L../../Libs/Extra/Firebase -F/Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos -F/Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/Payload -F../../Libs -F../../Libs/Extra -F../../Libs/Extra/Firebase -filelist /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Comiuny.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Comiuny_lto.o -Xlinker -no_deduplicate -Xlinker -dependency_info -Xlinker /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Comiuny_dependency_info.dat -fobjc-arc -fobjc-link-runtime -ObjC -framework Foundation -framework CoreGraphics -framework UIKit -framework iCore -framework iHUD -framework iJSON -framework iRandomAccessFile -framework iFirebaseNotifications -framework AVFoundation -lz -framework FirebaseMessaging -framework GoogleDataTransport -framework iXUI -framework iBitmapCreator -framework iHttp -framework iStringUtils -framework iMedia -framework iDateUtils -framework xCustomListView -framework iCore -framework iXUI -Xlinker -no_adhoc_codesign -o /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/Payload/Comiuny.app/Comiuny
ld: warning: Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found
ld: warning: Could not find or use auto-linked framework 'FBLPromises': framework 'FBLPromises' not found
ld: warning: Could not find or use auto-linked framework 'FirebaseCore': framework 'FirebaseCore' not found
ld: warning: Could not find or use auto-linked framework 'FirebaseInstallations': framework 'FirebaseInstallations' not found
ld: warning: Could not find or use auto-linked framework 'GoogleUtilities': framework 'GoogleUtilities' not found
ld: warning: Could not find or use auto-linked framework 'UIUtilities': framework 'UIUtilities' not found
ld: warning: Could not find or use auto-linked framework 'nanopb': framework 'nanopb' not found
Undefined symbols for architecture arm64:
  "_FIRFirebaseVersion", referenced from:
      -[FIRMessaging start] in FirebaseMessaging[4](FIRMessaging.o)
      +[FIRMessaging FIRMessagingSDKVersion] in FirebaseMessaging[4](FIRMessaging.o)
  "_FIRLogBasic", referenced from:
      -[FIRMessagingLogger logFuncDebug:messageCode:msg:] in FirebaseMessaging[18](FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncInfo:messageCode:msg:] in FirebaseMessaging[18](FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncNotice:messageCode:msg:] in FirebaseMessaging[18](FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncWarning:messageCode:msg:] in FirebaseMessaging[18](FIRMessagingLogger.o)
      -[FIRMessagingLogger logFuncError:messageCode:msg:] in FirebaseMessaging[18](FIRMessagingLogger.o)
  "_OBJC_CLASS_$_FBLPromise", referenced from:
       in GoogleDataTransport[11](GDTCCTUploadOperation.o)
  "_OBJC_CLASS_$_FIRApp", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_FIRComponent", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_FIRComponentType", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_FIRInstallations", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_FIROptions", referenced from:
       in FirebaseMessaging[32](FIRMessagingUtilities.o)
  "_OBJC_CLASS_$_GULAppDelegateSwizzler", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_GULAppEnvironmentUtil", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_GULReachabilityChecker", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_OBJC_CLASS_$_GULUserDefaults", referenced from:
       in FirebaseMessaging[4](FIRMessaging.o)
  "_pb_decode", referenced from:
      _GDTCCTDecodeLogResponse in GoogleDataTransport[9](GDTCCTNanopbHelpers.o)
  "_pb_encode", referenced from:
      -[FIRMessagingMetricsLog transportBytes] in FirebaseMessaging[16](FIRMessagingExtensionHelper.o)
      -[FIRMessagingMetricsLog transportBytes] in FirebaseMessaging[16](FIRMessagingExtensionHelper.o)
      _GDTCCTEncodeBatchedLogRequest in GoogleDataTransport[9](GDTCCTNanopbHelpers.o)
      _GDTCCTEncodeBatchedLogRequest in GoogleDataTransport[9](GDTCCTNanopbHelpers.o)
      -[GDTCORMetrics(GDTCCTSupport) transportBytes] in GoogleDataTransport[26](GDTCORMetrics+GDTCCTSupport.o)
      -[GDTCORMetrics(GDTCCTSupport) transportBytes] in GoogleDataTransport[26](GDTCORMetrics+GDTCCTSupport.o)
  "_pb_istream_from_buffer", referenced from:
      _GDTCCTDecodeLogResponse in GoogleDataTransport[9](GDTCCTNanopbHelpers.o)
  "_pb_ostream_from_buffer", referenced from:
      -[FIRMessagingMetricsLog transportBytes] in FirebaseMessaging[16](FIRMessagingExtensionHelper.o)
      _GDTCCTEncodeBatchedLogRequest in GoogleDataTransport[9](GDTCCTNanopbHelpers.o)
      -[GDTCORMetrics(GDTCCTSupport) transportBytes] in GoogleDataTransport[26](GDTCORMetrics+GDTCCTSupport.o)
  "_pb_release", referenced from:
      -[GDTCCTUploadOperation updateNextUploadTimeWithResponse:forTarget:] in GoogleDataTransport[11](GDTCCTUploadOperation.o)
      -[GDTCCTUploadOperation constructRequestProtoWithEvents:] in GoogleDataTransport[11](GDTCCTUploadOperation.o)
      -[GDTCORMetrics(GDTCCTSupport) transportBytes] in GoogleDataTransport[26](GDTCORMetrics+GDTCCTSupport.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
    Ld /Users/christianfontalvo/Desktop/B4iBuildServer2026/UploadedProjects/<user id>/Payload/Comiuny.app/Comiuny normal (in target 'B4iProject' from project 'B4iProject')
(1 failure)
 
Upvote 0

Carlos marin

Active Member
Licensed User
Longtime User
1. Test it with the hosted builder. If needed I'll send you a temporary id.

2. The recommended Xcode version is Xcode 26.

Hi Erel, I've already updated to Xcode 26. If you could send me a temporary ID to try with the hosted compiler, I'd really appreciate it. If that's the solution, I'll buy an ID so I can compile my application. 🙏
 
Upvote 0

Carlos marin

Active Member
Licensed User
Longtime User
Hi Erel, the hosted builder worked for me.

My steps to update B4iBuildServer:
1. I downloaded the compressed file to my Mac. I extracted it from the terminal following the steps in this thread: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410

(I should clarify that I couldn't see the symbolic links that Marcick mentions, even though I extracted them from the command line.)
1770651874781.jpeg


2. Download Firebase from here: https://firebase.google.com/download/ios#integrate-manually
I also extracted it from the command line. (Libs/Extra/Firebase)
The final contents look like this: (I didn't use Safari, only Chrome)

1770652006016.jpeg


I don't know what happened; I initially downloaded everything to my desktop and then tried the Documents folder, but without success.
 
Last edited:
Upvote 0

Neil Rohan

Member
Licensed User
Hi Erel, the hosted builder worked for me.

My steps to update B4iBuildServer:
1. I downloaded the compressed file to my Mac. I extracted it from the terminal following the steps in this thread: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410

(I should clarify that I couldn't see the symbolic links that Marcick mentions, even though I extracted them from the command line.)
View attachment 169800

2. Download Firebase from here: https://firebase.google.com/download/ios#integrate-manually
I also extracted it from the command line. (Libs/Extra/Firebase)
The final contents look like this: (I didn't use Safari, only Chrome)

View attachment 169801

I don't know what happened; I initially downloaded everything to my desktop and then tried the Documents folder, but without success.
I had the same issues a couple of weeks ago. Tried downloading the firebase google files and loading them to my macBookPro; couldn't get it to work. Tried deleting codesignature folders but to no avail. I 'd made so many changes to the buildserver that i decided to start over and replace the buildserver. The only thing I did differently was to unzip the buildserver.zip file on my desktop, transfer those files to a thumbdrive and THEN load them on the macBook (instead of unzipping on the macBook).
Once the new buildserver was installed, I went through every subdirectory under ~Buildserver/Libs/Extra/Firebase/.. and deleted each subdirectory's _CodeSignature folder (there are 27 subdirectories).
There was a concern that the App Store might reject a submission using this modified buildserver, but no worries. I've uploaded two projects since and both were accepted and published.
Hope this helps.
 
Upvote 0

Carlos marin

Active Member
Licensed User
Longtime User
I had the same issues a couple of weeks ago. Tried downloading the firebase google files and loading them to my macBookPro; couldn't get it to work. Tried deleting codesignature folders but to no avail. I 'd made so many changes to the buildserver that i decided to start over and replace the buildserver. The only thing I did differently was to unzip the buildserver.zip file on my desktop, transfer those files to a thumbdrive and THEN load them on the macBook (instead of unzipping on the macBook).
Once the new buildserver was installed, I went through every subdirectory under ~Buildserver/Libs/Extra/Firebase/.. and deleted each subdirectory's _CodeSignature folder (there are 27 subdirectories).
There was a concern that the App Store might reject a submission using this modified buildserver, but no worries. I've uploaded two projects since and both were accepted and published.
Hope this helps.
Thanks Neil Rohan for replying. A few days ago, Erel allowed me to compile on the hosted Mac, and then I tried compiling from my Mac and it worked. I'm not sure what happened, but I have the same files I showed in my previous comment. I don't know what Erel did, but now it works without any problems. In fact, I uploaded an update of my application to Apple yesterday and it worked. I hope it stays that way.
 
Upvote 0
Top