We're using Fabric with Crashlytics in our Unity Game and after building the iOS project with Unity and starting in Xcode we get about 26 errors:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_FABNetworkResponseHandler", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_CLSURLSession", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_FABCertificatePinner", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_FABGenerateUUID", referenced from:
-[CLSAnalyticsIdentifierGenerator generateSessionFragmentIdentifier] in Crashlytics(CLSAnalyticsIdentifierGenerator.o)
-[CLSAnalyticsIdentifierGenerator generateEventIdentifier] in Crashlytics(CLSAnalyticsIdentifierGenerator.o)
"_FABApplicationShouldReportDeviceIdentifiers", referenced from:
+[CLSAnalyticsMetadataController identifierForAdvertising] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostGetOSVersion", referenced from:
_CLSHostGetNormalizedOSVersion in Crashlytics(CLSHost.o)
"_FABApplicationInstallationSource", referenced from:
+[CLSBetaController isBetaSupported] in Crashlytics(CLSBetaController.o)
-[CLSBetaController appInstallationSource] in Crashlytics(CLSBetaController.o)
"_CLSMachOFormatVersion", referenced from:
_CLSBinaryImageRecordMainExecutable in Crashlytics(CLSBinaryImage.o)
"_FABHostGetNormalizedOSVersion", referenced from:
_CLSBetaToken in Crashlytics(CLSBetaToken.o)
"_OBJC_CLASS_$_FABURLBuilder", referenced from:
objc-class-ref in Crashlytics(CLSBetaController.o)
objc-class-ref in Crashlytics(CLSReportsController.o)
"_FABApplicationGetShortBundleVersion", referenced from:
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appDisplayVersion] in Crashlytics(CLSBetaController.o)
+[CLSAnalyticsMetadataController bundleShortVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_OBJC_CLASS_$_FABNetworkClient", referenced from:
objc-class-ref in Crashlytics(CLSBetaController.o)
objc-class-ref in Crashlytics(CLSAnalyticsNetworkingClient.o)
"_OBJC_CLASS_$_FABMultipartMimeStreamEncoder", referenced from:
objc-class-ref in Crashlytics(CLSAnalyticsNetworkingClient.o)
objc-class-ref in Crashlytics(CLSReportsController.o)
objc-class-ref in Crashlytics(CLSPackageReportOperation.o)
"_FABNetworkMaximumRetryCount", referenced from:
___51-[CLSBetaController loadUpdateWithCompletionBlock:]_block_invoke in Crashlytics(CLSBetaController.o)
-[CLSAnalyticsNetworkingClient transmitLogFilesAtURLs:toURL:withAPIKey:completionHandler:] in Crashlytics(CLSAnalyticsNetworkingClient.o)
"_OBJC_CLASS_$_CLSURLSessionConfiguration", referenced from:
objc-class-ref in Crashlytics(CLSNetworkClient.o)
"_OBJC_CLASS_$_CLSUserDefaults", referenced from:
objc-class-ref in Crashlytics(CLSAnalyticsController.o)
"_FABApplicationGetBundleVersion", referenced from:
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appBuildVersion] in Crashlytics(CLSBetaController.o)
+[CLSAnalyticsMetadataController bundleVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABEnumerateByteRangesOfNSDataUsingBlock", referenced from:
-[CLSPackageReportOperation compressData:toPath:] in Crashlytics(CLSPackageReportOperation.o)
"_FABApplicationGetName", referenced from:
-[CLSBetaUpdate promptMessage] in Crashlytics(CLSBetaUpdate.o)
"_FABSettingsAvailableNotification", referenced from:
-[CLSAnalyticsController initWithSessionIdentifier:sessionTimestamp:analyticsRootDirectoryWithURL:betaToken:identifierGenerator:timestampGenerator:metadataController:networkingClient:] in Crashlytics(CLSAnalyticsController.o)
-[CLSBetaController start] in Crashlytics(CLSBetaController.o)
"_FABApplicationGetBundleIdentifier", referenced from:
___30-[Answers startWithBetaToken:]_block_invoke in Crashlytics(Answers.o)
___CLSContextInitialize_block_invoke26 in Crashlytics(CLSContext.o)
-[CLSBetaController appBundleIdentifier] in Crashlytics(CLSBetaController.o)
-[CLSCrashReportingController bundleIdentifier] in Crashlytics(CLSCrashReportingController.o)
-[CLSFileManager pathNamespace] in Crashlytics(CLSFileManager.o)
+[CLSAnalyticsMetadataController bundleIdentifier] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostOSBuildVersion", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostOSVersion] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostModelInfo", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostModel] in Crashlytics(CLSAnalyticsMetadataController.o)
+[CLSAnalyticsMetadataController hostMachine] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABHostOSDisplayVersion", referenced from:
___20-[Crashlytics start]_block_invoke in Crashlytics(Crashlytics.o)
_CLSHostRecord in Crashlytics(CLSHost.o)
+[CLSAnalyticsMetadataController hostOSVersionName] in Crashlytics(CLSAnalyticsMetadataController.o)
"_FABBuiltinCertificates", referenced from:
+[CLSBetaController pinnnedCertificates] in Crashlytics(CLSBetaController.o)
+[CLSNetworkClient pinner] in Crashlytics(CLSNetworkClient.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any idea how we can fix that issue? I checked the files in Unity and it seems everything is imported fine.
Fixed it somehow through reimporting the whole Fabric SDK in Unity - so deleting all files regarding Fabric and Crashlytics in the project and then importing Fabric again.
Related
I took the following steps:
Create a brand new swift single view application.
Add a pod file that expresses a dependency on Firebase
Install the pods
Open the resultant workspace and build for simulator
The builds succeeds
I then repeated these steps except that in step 1 I created a brand new swift cocoa touch framework. Now the builds fails.
As you can see below, Firebase is referencing undefined symbols. And those symbols are mostly ones that I recognize and would expect to be present: UIScreen, UIWebView, UIView, etc.
I suspect that this all has something to do with the fact that Firebase is a static library (as is pointed out here by Mike McDonald as a reason why Firebase cannot be used with Carthage).
I am at the limit of my understanding of the differences/consequences of applications, frameworks, and libraries. Can anyone help me to understand what is going on here?
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UIScreen", referenced from:
objc-class-ref in FirebaseAuth(FIRAuthWebViewController_86c5ea5aedb4d33fd68b8660d74be54c.o)
"_OBJC_CLASS_$_UIWebView", referenced from:
objc-class-ref in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_OBJC_CLASS_$_UIActivityIndicatorView", referenced from:
objc-class-ref in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_OBJC_METACLASS_$_UIView", referenced from:
_OBJC_METACLASS_$_FIRAuthWebView in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_CGRectZero", referenced from:
-[FIRAuthWebView createWebView] in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_UIApplicationOpenURLOptionsAnnotationKey", referenced from:
-[FIRAuthAppDelegateProxy initWithApplication:] in FirebaseAuth(FIRAuthAppDelegateProxy_d84ca069394368ea9e8127dbd13cc324.o)
"_UIApplicationDidEnterBackgroundNotification", referenced from:
___23-[FIRAuth initWithApp:]_block_invoke_2 in FirebaseAuth(FIRAuth_cce0d8e8cd5be2b376ebd7862de82f18.o)
-[FIRAuth dealloc] in FirebaseAuth(FIRAuth_cce0d8e8cd5be2b376ebd7862de82f18.o)
-[FIRClearcutLogger init] in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
"_OBJC_CLASS_$_UIColor", referenced from:
objc-class-ref in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_OBJC_CLASS_$_UIViewController", referenced from:
objc-class-ref in FirebaseAnalytics(UIViewController+FIRAScreenClassName_936040e31cd4dddd6f71a52ea1701d0d.o)
l_OBJC_$_CATEGORY_UIViewController_$_FIRAScreenClassName in FirebaseAnalytics(UIViewController+FIRAScreenClassName_936040e31cd4dddd6f71a52ea1701d0d.o)
_OBJC_CLASS_$_FIRAuthWebViewController in FirebaseAuth(FIRAuthWebViewController_86c5ea5aedb4d33fd68b8660d74be54c.o)
"_OBJC_CLASS_$_UIPageViewController", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
"_UIApplicationDidFinishLaunchingNotification", referenced from:
+[FIRAMeasurement load] in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
"_OBJC_METACLASS_$_UIViewController", referenced from:
_OBJC_METACLASS_$_FIRAuthWebViewController in FirebaseAuth(FIRAuthWebViewController_86c5ea5aedb4d33fd68b8660d74be54c.o)
"_OBJC_CLASS_$_UIView", referenced from:
_OBJC_CLASS_$_FIRAuthWebView in FirebaseAuth(FIRAuthWebView_25b1b3be4cd535a13078fd46686b4a67.o)
"_UIApplicationLaunchOptionsURLKey", referenced from:
+[FIRAMeasurement handleAppDidFinishLaunching:] in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
"_OBJC_CLASS_$_UINavigationController", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
objc-class-ref in FirebaseAuth(FIRAuthURLPresenter_f9c1670c7b472e1f12d82d1c6f46940a.o)
objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate_57cb718a1d423e27d0d50a3bf9524d86.o)
"_UIApplicationWillEnterForegroundNotification", referenced from:
___48-[FIRAMeasurement startMeasurementOnWorkerQueue]_block_invoke in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
"_OBJC_CLASS_$_UITabBarController", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate_57cb718a1d423e27d0d50a3bf9524d86.o)
"_OBJC_CLASS_$_UIBarButtonItem", referenced from:
objc-class-ref in FirebaseAuth(FIRAuthWebViewController_86c5ea5aedb4d33fd68b8660d74be54c.o)
"_OBJC_CLASS_$_UIDevice", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAEnvironmentInfo_0da493a96efd1159c2c84454cf5a7f9d.o)
objc-class-ref in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
objc-class-ref in FirebaseAnalytics(FIRAInAppPurchaseTransactionReporter_51b6624ff1330bf43a3ed7d9ba76e1ba.o)
objc-class-ref in FirebaseAnalytics(FIRAAEU_58e35a32128cb3aedeb97de41a9b356d.o)
objc-class-ref in FirebaseAnalytics(FIRAIdentity_8e9287d1fd6072066ad3b1332bc62373.o)
objc-class-ref in FirebaseAuth(FIRAuthKeychain_ee296104c7d22b9c7b07f84e7067440c.o)
objc-class-ref in FirebaseCore(FIRAppEnvironmentUtil_d91f40fc45222373d7f99c8b2ea3c83a.o)
...
"_UIWindowDidResignKeyNotification", referenced from:
-[FIRAScreenViewReporter init] in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
"_UIApplicationDidBecomeActiveNotification", referenced from:
___48-[FIRAMeasurement startMeasurementOnWorkerQueue]_block_invoke in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
-[FIRAScreenViewReporter init] in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
___23-[FIRAuth initWithApp:]_block_invoke_2 in FirebaseAuth(FIRAuth_cce0d8e8cd5be2b376ebd7862de82f18.o)
-[FIRAuth dealloc] in FirebaseAuth(FIRAuth_cce0d8e8cd5be2b376ebd7862de82f18.o)
"_OBJC_CLASS_$_UIWindow", referenced from:
l_OBJC_$_CATEGORY_UIWindow_$_FIRAScreenClassName in FirebaseAnalytics(UIWindow+FIRAScreenClassName_93645224f692c290f5d755885ec7f4c8.o)
"_UIApplicationWillResignActiveNotification", referenced from:
___48-[FIRAMeasurement startMeasurementOnWorkerQueue]_block_invoke in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
-[FIRAScreenViewReporter init] in FirebaseAnalytics(FIRAScreenViewReporter_ac44c2e1b22c7193e316d64ecdc73845.o)
"_UIBackgroundTaskInvalid", referenced from:
-[FIRAMeasurement initWithDatabaseName:persistedConfig:network:scheduler:alarm:options:] in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
-[FIRAMeasurement swapBackgroundTaskWithNewTaskID:] in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
-[FIRAMeasurement terminateBackgroundTask] in FirebaseAnalytics(FIRAMeasurement_41f8c6ad6e1fd9e66100bee4ee2fdd35.o)
-[FIRClearcutLogger init] in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
-[FIRClearcutLogger dealloc] in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
-[FIRClearcutLogger sendLogsWithCompletionHandler:] in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
___51-[FIRClearcutLogger sendLogsWithCompletionHandler:]_block_invoke in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
...
"_OBJC_CLASS_$_UIApplication", referenced from:
objc-class-ref in FirebaseAnalytics(FIRAAppDelegateProxy_2421946053f1c5c031a7dceeaf4d9408.o)
objc-class-ref in FirebaseAuth(FIRAuth_cce0d8e8cd5be2b376ebd7862de82f18.o)
objc-class-ref in FirebaseAuth(FIRAuthAppDelegateProxy_d84ca069394368ea9e8127dbd13cc324.o)
objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate_57cb718a1d423e27d0d50a3bf9524d86.o)
objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_d1e734d02d610ce1f3d8c66a4d80fa41.o)
objc-class-ref in FirebaseInstanceID(FIRMessagingLog_045f628692bcbe68f0c668c89b92b24f.o)
ld: symbol(s) not found for architecture x86_64
I followed the mobile hub instructions for setting it up in my app but i seem to be getting these errors when I am trying to compile:
Undefined symbols for architecture x86_64:
"_AWSSNSErrorDomain", referenced from:
___88-[AWSPushManager interceptApplication:didRegisterForRemoteNotificationsWithDeviceToken:]_block_invoke.239 in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSLambdaInvoker", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSCloudLogic.o)
"_OBJC_CLASS_$_AWSS3", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
(maybe you meant: _OBJC_CLASS_$_AWSS3ContentProvider)
"_OBJC_CLASS_$_AWSS3GetPreSignedURLRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3ListObjectsOutput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3ListObjectsRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSS3PreSignedURLBuilder", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSContentManager.o)
"_OBJC_CLASS_$_AWSSNS", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSCreatePlatformEndpointInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSGetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSSetEndpointAttributesInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSSubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_AWSSNSUnsubscribeInput", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSPushManager.o)
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_FBSDKGraphRequest", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSFacebookSignInProvider.o)
"_OBJC_CLASS_$_GIDSignIn", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSGoogleSignInProvider.o)
"_OBJC_CLASS_$_SFSafariViewController", referenced from:
objc-class-ref in AWSMobileHubHelper(AWSQuickbooksAuthorizationManager.o)
objc-class-ref in AWSMobileHubHelper(AWSAuthorizationManager.o)
ld: symbol(s) not found for architecture x86_64
My Current Architecture : arm64,armv7,armv7s
I have probably spent 3 hours playing around with different things and I can't seem to find a solution... if you can lead me in the right direction I would appreciate it alot.
I have installed some third party frameworks in my app. Every thing was working fine and suddenly one day i started to get the following errors. Please note that these linker errors appear only when i try to run my app on iOS Simulator.
Undefined symbols for architecture x86_64:
"_AFNetworkingOperationFailingURLResponseDataErrorKey", referenced from:
___61-[DataManager signupWithEmail:password:name:success:failure:]_block_invoke.127 in DataManager.o
___46-[DataManager favoriteLesson:success:failure:]_block_invoke.311 in DataManager.o
___48-[DataManager unfavoriteLesson:success:failure:]_block_invoke.345 in DataManager.o
"_AFStringFromNetworkReachabilityStatus", referenced from:
___41-[DataManager startObservingReachability]_block_invoke in DataManager.o
"_OBJC_CLASS_$_ADJConfig", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_ADJEvent", referenced from:
objc-class-ref in TrackingHelper.o
"_OBJC_CLASS_$_AFCompoundResponseSerializer", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFHTTPRequestSerializer", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFHTTPResponseSerializer", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFHTTPSessionManager", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFJSONResponseSerializer", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFNetworkReachabilityManager", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AFURLSessionManager", referenced from:
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_AMTagView", referenced from:
objc-class-ref in CategorySelectionViewController.o
"_OBJC_CLASS_$_Adjust", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in TrackingHelper.o
"_OBJC_CLASS_$_CarbonTabSwipeNavigation", referenced from:
objc-class-ref in MyProfileViewController.o
objc-class-ref in SearchResultsContainerViewController.o
"_OBJC_CLASS_$_FBSDKAccessToken", referenced from:
objc-class-ref in SignUpViewController.o
objc-class-ref in MyProfileViewController.o
"_OBJC_CLASS_$_FBSDKAppEvents", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKApplicationDelegate", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_FBSDKLoginManager", referenced from:
objc-class-ref in SignUpViewController.o
objc-class-ref in DataManager.o
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_MGSwipeButton", referenced from:
objc-class-ref in LessonsViewController.o
"_OBJC_CLASS_$_MGSwipeTableCell", referenced from:
_OBJC_CLASS_$_LessonTableViewCell in LessonTableViewCell.o
"_OBJC_CLASS_$_Mixpanel", referenced from:
objc-class-ref in AppDelegate.o
objc-class-ref in InitialViewController.o
objc-class-ref in DataManager.o
"_OBJC_CLASS_$_WYPopoverController", referenced from:
objc-class-ref in GuideViewController.o
"_OBJC_METACLASS_$_MGSwipeTableCell", referenced from:
_OBJC_METACLASS_$_LessonTableViewCell in LessonTableViewCell.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help will be highly appreciated. I can debug, build and archive my project, if i do it on actual device but not on simulator. I have added all these frameworks via cocapods and i am using Xcode 7.3.
I had faced the same error. Like below
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AFJSONRequestSerializer", referenced from:
objc-class-ref in CuebiqSDK(BADispatcherHelper.o)
"_OBJC_CLASS_$_AFURLSessionManager", referenced from:
objc-class-ref in CuebiqSDK(BADispatcherHelper.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 haven't added the AFURLSessionManager related classes in my project as mentioned in error. So, I added all the AFNetworking classes solved the problem. Make sure they are added to project target and shown under Build phases->Compile Sources
i have spent 3 days for searching the solution. I don't know what to do with this... I need the -ObjC flag for SDWebImage library ( and AFNetworking too, i think) . I can remove it, and everything is fine with ShareKit, but not fine with SDwebImage.
Undefined symbols for architecture i386:
"_ABAddressBookCopyArrayOfAllPeople", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABAddressBookCreateWithOptions", referenced from:
+[GPPAddressBook loadDeviceContactsWithHandler:] in GooglePlus(GPPAddressBook.o)
"_ABAddressBookGetPersonCount", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABAddressBookRequestAccessWithCompletion", referenced from:
+[GPPAddressBook loadDeviceContactsWithHandler:] in GooglePlus(GPPAddressBook.o)
"_ABMultiValueCopyValueAtIndex", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABMultiValueGetCount", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABPersonCopyImageDataWithFormat", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABPersonHasImageData", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ABRecordCopyValue", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_ACAccountTypeIdentifierFacebook", referenced from:
-[SHKiOSFacebook accountTypeIdentifier] in libShareKit.a(SHKiOSFacebook.o)
"_ACAccountTypeIdentifierSinaWeibo", referenced from:
-[SHKSinaWeibo accountTypeIdentifier] in libShareKit.a(SHKSinaWeibo.o)
"_ACAccountTypeIdentifierTwitter", referenced from:
-[SHKiOSTwitter accountTypeIdentifier] in libShareKit.a(SHKiOSTwitter.o)
"_ACFacebookAppIdKey", referenced from:
-[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o)
"_ACFacebookAudienceEveryone", referenced from:
-[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o)
"_ACFacebookAudienceKey", referenced from:
-[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o)
"_ACFacebookPermissionsKey", referenced from:
-[SHKiOSFacebook authorizationFormShow] in libShareKit.a(SHKiOSFacebook.o)
"_AVURLAssetPreferPreciseDurationAndTimingKey", referenced from:
-[SHKFile getDuration] in libShareKit.a(SHKFile.o)
"_CMTimeGetSeconds", referenced from:
-[SHKFile getDuration] in libShareKit.a(SHKFile.o)
"_MPMoviePlayerThumbnailImageKey", referenced from:
-[GPPMediaPreviewView thumbnailImageRequestDidFinish:] in GooglePlus(GPPMediaPreviewView.o)
"_MPMoviePlayerThumbnailImageRequestDidFinishNotification", referenced from:
-[GPPMediaPreviewView initWithFrame:mediaAttachment:] in GooglePlus(GPPMediaPreviewView.o)
-[GPPMediaPreviewView thumbnailImageRequestDidFinish:] in GooglePlus(GPPMediaPreviewView.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
objc-class-ref in libShareKit.a(SHKiOSFacebook.o)
objc-class-ref in libShareKit.a(SHKiOSSharer.o)
"_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
objc-class-ref in GooglePlus(NSData+GPPAdditions.o)
objc-class-ref in GooglePlus(UIDevice+GPPAdditions.o)
objc-class-ref in libShareKit.a(SHKPhotoAlbum.o)
"_OBJC_CLASS_$_AVURLAsset", referenced from:
objc-class-ref in libShareKit.a(SHKFile.o)
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in GooglePlus(UIDevice+GPPAdditions.o)
objc-class-ref in libShareKit.a(SHKFoursquareV2VenuesForm.o)
objc-class-ref in libShareKit.a(SHKFoursquareV2.o)
"_OBJC_CLASS_$_CMMotionManager", referenced from:
objc-class-ref in GooglePlus(GPPSpamSignal.o)
"_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
objc-class-ref in GooglePlus(GPPMediaPreviewView.o)
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libShareKit.a(EvernoteSession.o)
"_OBJC_CLASS_$_SLComposeViewController", referenced from:
objc-class-ref in libShareKit.a(SHKiOSSharer.o)
objc-class-ref in libShareKit.a(SHKSinaWeibo.o)
"_OBJC_CLASS_$_SLRequest", referenced from:
objc-class-ref in libShareKit.a(SHKiOSFacebook.o)
objc-class-ref in libShareKit.a(SHKiOSTwitter.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[EvernoteSession installAppWithId:withViewController:] in libShareKit.a(EvernoteSession.o)
"_SLServiceTypeFacebook", referenced from:
-[SHKiOSFacebook serviceTypeIdentifier] in libShareKit.a(SHKiOSFacebook.o)
-[SHKiOSFacebook sendFeed] in libShareKit.a(SHKiOSFacebook.o)
-[SHKiOSFacebook sendPhoto] in libShareKit.a(SHKiOSFacebook.o)
-[SHKiOSFacebook sendVideo] in libShareKit.a(SHKiOSFacebook.o)
-[SHKiOSFacebook fetchUserInfo] in libShareKit.a(SHKiOSFacebook.o)
"_SLServiceTypeSinaWeibo", referenced from:
+[SHKSinaWeibo canShare] in libShareKit.a(SHKSinaWeibo.o)
-[SHKSinaWeibo share] in libShareKit.a(SHKSinaWeibo.o)
"_SLServiceTypeTwitter", referenced from:
-[SHKiOSTwitter serviceTypeIdentifier] in libShareKit.a(SHKiOSTwitter.o)
-[SHKiOSTwitter sendStatusViaTwitter:mimeType:filename:] in libShareKit.a(SHKiOSTwitter.o)
-[SHKiOSTwitter sendDataViaYFrog:mimeType:filename:] in libShareKit.a(SHKiOSTwitter.o)
-[SHKiOSTwitter fetchUserInfo] in libShareKit.a(SHKiOSTwitter.o)
-[SHKiOSTwitter downloadAPIConfiguration] in libShareKit.a(SHKiOSTwitter.o)
-[SHKiOSTwitter authorizationYFrogHeader] in libShareKit.a(SHKiOSTwitter.o)
"_kABPersonEmailProperty", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_kABPersonFirstNameProperty", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_kABPersonLastNameProperty", referenced from:
___48+[GPPAddressBook loadDeviceContactsWithHandler:]_block_invoke in GooglePlus(GPPAddressBook.o)
"_kCLLocationAccuracyBest", referenced from:
-[SHKFoursquareV2VenuesForm startMonitoringLocation] in libShareKit.a(SHKFoursquareV2VenuesForm.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Looks like you are missing quite a few frameworks. According to the symbols mentioned, add following list of frameworks to resolve the linker errors,
AddressBook.framework
AVFoundation.framework
CoreMedia.framework
MediaPlayer.framework
Accounts.framework
AssetsLibrary.framework
CoreLocation.framework
CoreMotion.framework
StoreKit.framework
Social.framework
Hope that helps!
perhaps,just add these framework
AddressBook.framework
MediaPlayer.framework
AssetsLibrary.framework
CoreMotion.framework
How can i stream audio from mms:// address ?
I'm trying to build WunderRadio on iOS 5 device, but i got many errors.
I got this error when i tried to build WunderRadio target:
Undefined symbols for architecture armv7:
"_Status_SetNewStatusByKey", referenced from:
-[WunderRadioAppDelegate applicationDidReceiveMemoryWarning:] in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_WebAudioPlayer", referenced from:
objc-class-ref in SkinViewController.o
"_Status_GetCurrentStatus", referenced from:
-[LevelMeterView updateBargraph:] in LevelMeterView.o
"_gStreamingAudioPlayerTimerMax", referenced from:
-[PreferenceViewController initWithNibName:bundle:] in PreferenceViewController.o
-[PreferenceViewController makemp3Buffer:] in PreferenceViewController.o
"_Status_SetNewStatusString", referenced from:
-[SkinViewController setShowingPlay:] in SkinViewController.o
"_CMAudioPlayerAudioIsAvailableNotification", referenced from:
-[DebugController gotRunNotification:] in DebugController.o
-[DebugController gotLngNotification:] in DebugController.o
"_ExpandString", referenced from:
-[DebugController runPressed:] in DebugController.o
-[DebugController lngPressed:] in DebugController.o
-[SkinViewController expandString:] in SkinViewController.o
"_OBJC_CLASS_$_URLBackgroundOperation", referenced from:
objc-class-ref in SkinViewController.o
"_CMAudioPlayerAudioIsDoneNotification", referenced from:
-[DebugController gotLngNotification:] in DebugController.o
"_OBJC_CLASS_$_RadioTimeBrowser", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in SkinViewController.o
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_CMAudioPlayerAudioDidStopNotification", referenced from:
-[DebugController gotLngNotification:] in DebugController.o
-[SkinViewController initWithNibName:bundle:] in SkinViewController.o
"_OBJC_CLASS_$_EnhancedAlertView", referenced from:
objc-class-ref in DebugController.o
"_OBJC_CLASS_$_FavoriteViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_WXRadioItem", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in SkinViewController.o
"_CMAudioPlayerAudioDidPlayNotification", referenced from:
-[SkinViewController initWithNibName:bundle:] in SkinViewController.o
"_OBJC_CLASS_$_WBSettingsManager", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in PreferenceViewController.o
"_OBJC_CLASS_$_MusicViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_WebViewController", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
"_OBJC_CLASS_$_SettingsAndKeyChainStorage", referenced from:
objc-class-ref in WunderRadioAppDelegate.o
objc-class-ref in DebugController.o
objc-class-ref in SkinViewController.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
Any ideas to solve this problem or others solution to stream mms:// ?
Thanks
"_Status_SetNewStatusByKey" is not defined anywhere (there's actually a warning about it)
You can delete it, it's deleted in the new versions anyway.