Support Topics Documentation Slack YouTube Blog

Crashlytics

Hi Guys

Don’t know if you can help me with this.

Was trying to add Firebase Crashlytics to my iOS app in Xcode10. Followed the docs but when I build I get these errors which somehow seem related to Backendless. These are the errors I get:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_MKCircleView", referenced from:
      objc-class-ref in backendless.a(BEMapView.o)
  "_OBJC_CLASS_$_MKCircleRenderer", referenced from:
      objc-class-ref in backendless.a(BEMapView.o)
  "_OBJC_CLASS_$_MKCircle", referenced from:
      objc-class-ref in backendless.a(BEMapView.o)
  "_OBJC_CLASS_$_MKPinAnnotationView", referenced from:
      objc-class-ref in backendless.a(BEMapView.o)
  "_OBJC_METACLASS_$_MKMapView", referenced from:
      _OBJC_METACLASS_$_BEMapView in backendless.a(BEMapView.o)
  "_OBJC_CLASS_$_MKMapView", referenced from:
      _OBJC_CLASS_$_BEMapView in backendless.a(BEMapView.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I can’t seem to solve this, any ideas?

This is my podfile:

target 'A2' do
    
  pod 'Backendless'
  pod 'Fabric'
  pod 'Crashlytics'
  pod 'Firebase/Core'
        
end

Any clues/ideas to what I may have setup wrong?

Mike

Hello Mike,
what version of Backendless iOS-SDK and what version of Backendless do you use?

Regards,
Olha

Hi Olha

Correct me if I am wrong, but I have installed it with the podfile - and it says it is Using Backendless (5.4.1) ?? Am I missing something - not sure what the difference is between version of Backendless and Backendless iOS-SDK?

Mike

Hi Olha. oh just re read this and was being stupid.

We are targeting a Backendless 5.x app and yes Backendless was installed through cocoa pods and that is definitely reporting as 5.4.1.

Mike

Hello Mike,

I’m asking because the BeMapView class was removed from SDK a long time ago and that’s weird but looks like some dependencies are still present.
Could you please share your project with us so we could check and fix this issue because this it seems to be unreproducible in another projects.

Regards,
Olha

Originally I would setup using Backendless manually not through pods. Let me have a look first to see if I can clean it up and then if no joy will of course share with you. Many thanks

HI Olha, I got it - there was still an old Backendless framework lurking. Thanks for your pointer.