Open Melexia opened 7 years ago
Looks like you should add "CoreMotion.framework" and "CoreLocation.framework" to the "Linked Frameworks and Libraries" section of your project properties.
I have issue pls tell me anyone
I created one custom framework for social login it's working as debug mode but whenever I build framework for release mode it gives error like
Undefined symbols for architecture x86_64: "OBJC_CLASS$_Social", referenced from: objc-class-ref in ViewController.o objc-class-ref in DetailViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I do not understand what is happaning on release mode
I write singleton class of Social and it has one method as
+(instancetype)methodSocial { }
Hi @khaire1111
Your problem doesn't look like related to g3m. Am I right?
Hi, at first thank you for answer me. I have linked again the coreMotion and CoreLocation and now have a new error
libG3MiOSSDK.a(Downloader_iOS_Handler.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
If I do that I have again this
Undefined symbols for architecture arm64: "std::_List_node_base::unhook()", referenced from: std::list<FrameTask*, std::allocator<FrameTask*> >::_M_erase(std::_List_iterator<FrameTask*>) in libG3MiOSSDK.a(FrameTasksExecutor.o) "std::_Rb_tree_increment(std::_Rb_tree_node_base const*)", referenced from: std::_Rb_tree_const_iterator<std::pair<std::string const, JSONBaseObject*> >::operator++(int) in libG3MiOSSDK.a(JSONObject.o)
I have 62 issues but only copied the firsts as example.
I created a new project with a menu and some views, I have cocoa too. I don't know if this can help you.
Can anyone help me?
I'm trying to do an app with g3m for some maps, but even the hello Word that I download from here give me this error, the project work at first but now it's impposible run it.
This is the hello word error, and it's the same in my app
ld: warning: object file (/Users/andreasanchez/Library/Developer/Xcode/DerivedData/HelloWorld-bfpejeyoafsmdvcptkkrclokkroc/Build/Products/Debug-iphonesimulator/libG3MiOSSDK.a(InitialCameraPositionProvider.o)) was built for newer iOS version (8.0) than being linked (6.1) ld: warning: object file (/Users/andreasanchez/Library/Developer/Xcode/DerivedData/HelloWorld-bfpejeyoafsmdvcptkkrclokkroc/Build/Products/Debug-iphonesimulator/libG3MiOSSDK.a(TileImageProvider.o)) was built for newer iOS version (8.0) than being linked (6.1)
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_CLLocationManager", referenced from: objc-class-ref in libG3MiOSSDK.a(DeviceLocation_iOS.o) "_OBJC_CLASS_$_CMMotionManager", referenced from: objc-class-ref in libG3MiOSSDK.a(DeviceAttitude_iOS.o) "_kCLDistanceFilterNone", referenced from: -[LocationDelegate startTrackingLocation] in libG3MiOSSDK.a(DeviceLocation_iOS.o) "_kCLLocationAccuracyBest", referenced from: -[LocationDelegate startTrackingLocation] in libG3MiOSSDK.a(DeviceLocation_iOS.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Showing first 200 warnings only
Can anyone help me?