linker error - How do you integrate ObjCMongoDb into an iOS application? -
so i'm trying objcmongodb , running in ios application keep getting error.
ignoring file /users/user/documents/programming/objcmongodb/objcmongodb.framework/objcmongodb, file built unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) not architecture being linked (armv7): /users/user/documents/programming/objcmongodb/objcmongodb.framework/objcmongodb undefined symbols architecture armv7: "_objc_class_$_bsondecoder", referenced from: objc-class-ref in mongodbconnection.o "_objc_class_$_mongokeyedpredicate", referenced from: objc-class-ref in mongodbconnection.o "_objc_class_$_mongoupdaterequest", referenced from: objc-class-ref in mongodbconnection.o "_objc_class_$_mongoconnection", referenced from: objc-class-ref in mongodbconnection.o ld: symbol(s) not found architecture armv7 clang: error: linker command failed exit code 1 (use -v see invocation)
i have feeling means framework not compiled ios mac os x.
does know how integrate objcmongodb ios application?
thanks!
to use framework on ios need build static library, xcode project that's part of objcmongodb doesn't provide way do.
the simplest way follow instructions getting started on mac os, should work equally on ios.
Comments
Post a Comment