iOS Question Error compiling after upgrade to 5.00

iCAB

Well-Known Member
Licensed User
Longtime User
Hi All

I am having a problem compiling the code using the local builder after I upgraded to Ver 5.0

Here is what I have done so far
  • Upgrade the IDE
  • tried to compile, faced some issues
  • renamed Builder Libs folder to LibsOld
  • downloaded the latest Builder Just in case ( my mistake, I didn't check which version I had running before the upgrade )
  • unzipped the builder files
  • copy Google map and Firebase bundles from old lib
  • tried to compile I got an error
  • download google maps bundle to the new Libs folder
  • still the same error
I am attaching the output of the compiler.
Compiling to the hosted server works just fine.

Any help is greatly appreciated
 

Attachments

  • CompilerError.zip
    13.9 KB · Views: 256

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Erel

This what I have done so far (in the order listed)
1. Delete B4iBuildServer folder
2. Created a new folder
3. Download the latest build to the new folder( 5.02 )
4. Download and copy contents of FirebaseFrameworks and GooglePhoneUtilities from the provided link
5. Download and copy contents of GoogleMaps framework from the provided link

Still having the problem when compiling to the simulator. If I compile to the device, it is working fine

Thank you
 

Attachments

  • CompilerError.zip
    14.9 KB · Views: 233
Upvote 0

iCAB

Well-Known Member
Licensed User
Longtime User
Hi Erel

Can you please tell me why it compiles when using an iPhone fails to compile using the simulator


B4X:
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_B4ICameraPosition", referenced from:
      objc-class-ref in b4i_acustomertriphistory.o
      objc-class-ref in b4i_apickupanddropoff.o
      objc-class-ref in b4i_mapcircles.o
  "_OBJC_CLASS_$_B4IGoogleMap", referenced from:
      objc-class-ref in b4i_acustomertriphistory.o
      objc-class-ref in b4i_apickupanddropoff.o
      objc-class-ref in b4i_googlemapsextra.o
      objc-class-ref in b4i_mapcircles.o
      objc-class-ref in b4i_mapmarker.o
      objc-class-ref in b4i_mappolygon.o
      objc-class-ref in b4i_mapvehiclesasmarkers.o
      ...
  "_OBJC_CLASS_$_B4ILatLng", referenced from:
      objc-class-ref in b4i_apickupanddropoff.o
      objc-class-ref in b4i_mapcircles.o
      objc-class-ref in b4i_mapmarker.o
      objc-class-ref in b4i_mappolygon.o
      objc-class-ref in b4i_trackcloseby.o
  "_OBJC_CLASS_$_B4IMarker", referenced from:
      objc-class-ref in b4i_mapcircles.o
      objc-class-ref in b4i_mapmarker.o
      objc-class-ref in b4i_mappolygon.o
  "_OBJC_CLASS_$_B4IUIMapSettings", referenced from:
      objc-class-ref in b4i_acustomertriphistory.o
      objc-class-ref in b4i_apickupanddropoff.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
Upvote 0

iCAB

Well-Known Member
Licensed User
Longtime User
What is the output of the command I posted in post #6?
armv7 i386 arm64

Can you please point me to the files to be downloaded and the exact order (if it does make a difference).

Here is why I am saying the exact order (unless if I am doing something wrong)
if I run the command on the default B4IBuildServer Libs folder, it outputs: armv7 x86_64 arm64
After installing Google maps framework files .. the output changes to armv7 i386 arm64

Also i should mention that I tried downloading the latest google maps framework from the link below ( but this gave me a completely different issue)
https://developers.google.com/maps/documentation/ios-sdk/start

Thanks for your help
 
Upvote 0

iCAB

Well-Known Member
Licensed User
Longtime User
The order is not important.
You are making it hard to help you. You should post the full output.
Based on the error message you are still using an old version of libiGoogleMaps.a

Sorry if I am making it difficult to help me, but anyone starting a new B4IBuilder installation, will install B4IBuilder files first, then the SDK files (which overwrote the builder files and rolled me back to the older version )

I suggest to remove the files below from the Zip file (How would I know that they are not there for compatibility reasons with the framework in the same zip file ?)
iGoogleMaps.h, libiGoogleMaps.a

Thanks and sorry if I wasted your time
 
Upvote 0

iCAB

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top