0

What I have done after 2 days of reading stack overflow:

Keywords to problem: "Apple-Mach-O Linker Error", "libGcmLib.a(GCMRmqManager.o)", sqlite3", "GCMRmq2PersistentStore"

So I am stuck. How do I solve the problem(s) displayed in the image below: "sqlite3.... ", referenced from: "GCMRmq2PersistentStore in libGcmLib.a(GCMRmqManager.o)?

IMAGE enter image description here

Community
  • 1
  • 1
smoothBlue
  • 203
  • 4
  • 12

1 Answers1

0

GCM seems to be using sqlite3 in the library. You should link your app against it to build it. You tried integrating CoreData but it should rather have been sqlite3.

You should also check CocoaPod's generated xcconfig file i.e. Pods/Target Support Files/Pods/Pods.debug.xcconfig file and the OTHER_LDFLAGS option should have -l"sqlite3" in it. That should have linked it for you.

evanescent
  • 1,373
  • 13
  • 20