Hi
I am trying to build a B4i Library to use Google MLVision Libraries. I have created a static library in Xcode and compiled it and used cocoapods to get the google dependency frameworks. If comment out all MLVision related code and recompile it and add it to my local build server I can call methods from B4i without any issues. If run the 'lipo' command against the library it prints out 'Architectures in the fat file: libGoogleVision.a are: arm7 arm64'
However once I un-comment any MLVision related lines I get the following error in B4i compiling a project referencing the library.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FIRVision", referenced from:
objc-class-ref in libGoogleVision.a(GoogleVision.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems to be an issue with the Google Framework dependency but I have run out of ideas to resolve this. The objc line that causing the error is creating a 'FIRVision' object
Any help appreciated.
I am trying to build a B4i Library to use Google MLVision Libraries. I have created a static library in Xcode and compiled it and used cocoapods to get the google dependency frameworks. If comment out all MLVision related code and recompile it and add it to my local build server I can call methods from B4i without any issues. If run the 'lipo' command against the library it prints out 'Architectures in the fat file: libGoogleVision.a are: arm7 arm64'
However once I un-comment any MLVision related lines I get the following error in B4i compiling a project referencing the library.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_FIRVision", referenced from:
objc-class-ref in libGoogleVision.a(GoogleVision.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems to be an issue with the Google Framework dependency but I have run out of ideas to resolve this. The objc line that causing the error is creating a 'FIRVision' object
Any help appreciated.
Last edited: