I am integrating skobbler maps in my project. I were looking at the SDKTools. Is it necessary to integrate SDKTools to have navigation feature in the app. If yes, I were integrating it using Xcode 6.1 but it shows me error duplicate symbols for arm64 and also
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SKTNavigationUtils", referenced from:
objc-class-ref in MapsViewController.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am following this link: http://developer.skobbler.com/getting-started/iosTools
Please help me as I am stuck. Spend two whole days only for integration
It is not necessary to integrate SDKTools to have navigation feature in the application, just the SDK is enough.
Also based on the steps from the website, skmaps developers created a demo app using the SDKTools for navigation. You can find it at the following link:
http://www1.skobbler.com/iphonebuilds/20150107/SDKToolsIntegrationDemo.zip
The "duplicate symbols for arm64 " error can be caused by these reasons:
Declaring constants with the same name as we have in the SDKTools
(will be fixed in the next release).
The same file is added in the project twice.
Related
I'm currently trying to integrate the Google Consent SDK, but as soon as I call
[PACConsentInformation.sharedInstance requestConsentInfoUpdateForPublisherIdentifiers:#[ #"pub-0123456789012345"]
I get the following error in Xcode console:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_PACConsentInformation", referenced from:
objc-class-ref in AppDelegate.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've been searching Stackoverflow for a couple of hours now and I've tried various things such as Enabling Bitcode, Updating Linker Flags with $(inherited), as well as a few other things like adding suggested frameworks and libz found in popular questions/answers here, but still no luck.
I've gone as far to try my project in Xcode 8.3.2, Xcode 9.0 and Xcode 9.2, all of which show this error.
Is there anything I'm missing?
I'm completely stuck for ideas now.
Thanks for you help.
Go to Build Phase -> Link Binary With Libraries then add PersonalizedAdConsent framework
We have an iOS app which uses MISNAP SDK version (2.3) as part of scanning functionality and it was working fine. Since the recent update came for MiSnap which is of version 3.0 and we wanted to update the library in our said application. We followed the docs and we replaced the necessary libraries and we are stuck with below errors even after multiple tries of resolving it.
"_OBJC_CLASS_$_MiSnapViewController", referenced from: objc-class-ref
in DCVC.o objc-class-ref in CCVC.o ld:
symbol(s) not found for architecture armv7
clang: error: linker
command failed with exit code 1 (use -v to see invocation)
We dug up in internet searching solution for this issue and came along with this post but we did not find any solution for the above error. We also created a sample project with the new version of the SDK and it works well. We doubt that this might be some configuration issue which we are unable to figure even after multiple tries.
Below is the current configuration for our application
Deployment Target - 7.1 and above
Base SDK - latest(9.0)
Build Active architecture only - Yes
Valid architectures - armv7 armv7s arm64
I am attempting to build a project I did not write, and I keep reaching this error:
ld: warning: Auto-Linking supplied '/Users/my_user_name/Documents/FacebookSDK/FBSDKCoreKit.framework/FBSDKCoreKit', framework linker option at /Users/my_user_name/Documents/FacebookSDK/FBSDKCoreKit.framework/FBSDKCoreKit is not a dylib
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_FBSDKAppEvents", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is a new error since updating Parse and Bolts pods. Other solutions for Auto-Linking that I've seen on here have not been able to help, but since the update to Facebook SDK is new perhaps someone has already solved this issue.
It's because of the conflict between the reference of FB SDK located at /Users/my_user_name/Documents/ and the one in CocoaPods.
Originally I used FB SDK located at /Users/my_user_name/Documents/ as suggested in FB SDK Getting Started tutorial. Then switched to Cocoapods after I started using react-native.
The solution is to remove Facebook SDK references from your apps Frameworks folder in YourApp.xcodeproj. I have explained more at https://stackoverflow.com/a/36947791/556678.
Make sure you're using a current version of the FBSDK! Also make sure you followed THESE (new) instructions: https://parse.com/docs/ios/guide#users-facebook-users (because with the parse update different things must be done!).
If the problem persists, I suggest you build a new project (that follows the instructions in the previous link).
i have replaced older version of admob 6.6.1 with latest admob library version 6.12.0 but i get this error although every thing is fine. I am using xcode 6.0.1, how to resolve this issue, any help?
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EKEvent", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
"_OBJC_CLASS_$_EKEventEditViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I had same issue but i solved by adding eventKit and eventUIKit framework into my project. Hope it will work for you too.
This error is mostly because update of your ADMOB SDK.
1) Go to build phases->Open list of frameworks.
2) Locate libGoogleAdMobAds.a. Remove this file by pressing - sign.
3) Again add this libGoogleAdMobAds.a file back by pressing + sign and selecting "Add other". select this file from ADMOB folder of your project.
4) Clean, then build and run your project.
Also, check you have -ObjC set to Other Linker Flags in your project's target build settings and required frameworks are added.
add Framework EventKit and EventKitUI.
As the apple map adk is not well detailed on street details, and the google has provided the new sdk, I am trying to get this as a work around for the current ios 6, the problem that I am facing is that it is throwing error no matter what architecture you have placed in the settings,
Following is the error, though it works with no problem when running there sdkmapdemo :(
Undefined symbols for architecture armv7:
"___gxx_personality_sj0", referenced from:
+[GMSServices provideAPIKey:] in GoogleMaps(GMSServices.o)
+[GMSServices openSourceLicenseInfo] in GoogleMaps(GMSServices.o)
+[GMSServices services] in GoogleMaps(GMSServices.o)
_GMS_NSClassFromString in GoogleMaps(GMSRenames.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Did you add libstdc++.dylib to the project's frameworks?