Link Errors with Parse.framework iOS - ios

I tried importing the parse framework in my project. I made sure it is liked with my project and I couldn't find anything about whether it is 'arc sensitive' or not. My project is arc based.
This is the error I'm getting:
Undefined symbols for architecture i386:
"_SCNetworkReachabilityCreateWithName", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityGetFlags", referenced from:
___22-[PFCommandCache init]_block_invoke in Parse(PFCommandCache.o)
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[PFCommandCache dealloc] in Parse(PFCommandCache.o)
"_SecItemAdd", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_SecItemCopyMatching", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_SecItemDelete", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
+[PFInternalUtils deleteFromKeychain:] in Parse(PFInternalUtils.o)
"_UTTypeCopyPreferredTagWithClass", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_UTTypeCreatePreferredIdentifierForTag", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_kCFStreamPropertyFTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kCFStreamPropertyHTTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kSecAttrAccessible", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccessibleAfterFirstUnlock", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccount", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrService", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClass", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClassGenericPassword", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecMatchLimit", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecMatchLimitOne", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecReturnData", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecValueData", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_kUTTagClassFilenameExtension", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
"_kUTTagClassMIMEType", referenced from:
-[PFFile getMimeType] in Parse(PFFile.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Make sure you link against the SystemConfiguration and the Security framework in your project. See this question for more details. As Hector pointed out in the comments, all of the required frameworks for Parse can be found in the iOS Quick Start Guide.
AudioToolbox.framework
CFNetwork.framework
CoreGraphics.framework
CoreLocation.framework
libz.1.1.3.dylib
MobileCoreServices.framework
QuartzCore.framework
Security.framework
StoreKit.framework
SystemConfiguration.framework

Add MobileCoreServices.framework from your project in addition to these frameworks
-Accounts.framework
-AudioToolbox.framework
-CFNetwork.framework
-CoreGraphics.framework
-CoreLocation.framework
-libz.dylib
-MobileCoreServices.framework
-QuartzCore.framework
-Security.framework
-Social.framework
-StoreKit.framework
-SystemConfiguration.framework

I had to add "$(inherited)" to the Framework Search Paths in Build Settings to get it work.

Related

Using Unity to build this ios project, Added google signin SDK 4.0.1 Framework, I get error

I want google login in my app so i want to write unity plugin ,but i do not wanna use Play Games Unity plugin.
So I follow this tutorial (https://developers.google.com/identity/sign-in/ios/sdk/).
But after I have added the framework,I get error message.
My tool version
Unity 5.6.0f3
Xcode 8.3.1
Google Sign-In SDK 4.0.1
Xcode Builld error message
ld: warning: arm64 function not 4-byte aligned: ltmp0 from /Users/user/unityWorkspace/GoodTest2/NOgpgs/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
ld: warning: arm64 function not 4-byte aligned: _unwind_tester from /Users/user/unityWorkspace/GoodTest2/NOgpgs/Libraries/libiPhone-lib.a(unwind_test_arm64.o)
Undefined symbols for architecture arm64:
"_kSecValueData", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecTrustEvaluate", referenced from:
___70+[GTMSessionFetcher evaluateServerTrust:forRequest:completionHandler:]_block_invoke in GoogleSignInDependencies(GTMSessionFetcher_28beddf8a47a0abe7f4eaa9a5c9cb75b.o)
"_kSecAttrAccessible", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemAdd", referenced from:
-[GTMOAuth2Keychain setPassword:forService:accessibility:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemDelete", referenced from:
-[GTMOAuth2Keychain removePasswordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecReturnData", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecClass", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecItemCopyMatching", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrGeneric", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly", referenced from:
+[GTMOAuth2ViewControllerTouch saveParamsToKeychainForName:accessibility:authentication:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecMatchLimitOne", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecAttrService", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecClassGenericPassword", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecRandomDefault", referenced from:
-[GIDSignIn randomString] in GoogleSignIn(GIDSignIn.o)
"_kSecAttrAccount", referenced from:
+[GTMOAuth2Keychain keychainQueryForService:account:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_kSecMatchLimit", referenced from:
-[GTMOAuth2Keychain passwordForService:account:error:] in GoogleSignInDependencies(GTMOAuth2ViewControllerTouch_5e9c07ce1f20710c59c1499209a8b99a.o)
"_SecRandomCopyBytes", referenced from:
-[GIDSignIn randomString] in GoogleSignIn(GIDSignIn.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I googled about it , I found that it seems like something about arm64 support of Google Sign-In SDK.
I have set scripting backend on Unity to IL2CPP, and target architecture to Universa(both armv7 and arm64).
Now I have no Idea to resolve these errors.
Is Missing Security.framework.
Now! It working.

Unity - using Fabric causes problems with iOS

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.

Xcode 5 app archiving wont work

Please help me out, I get the following warning and 12 errors!
I already tried changing the build active architecture only to no.
l
d: warning: ignoring file /Users/kevin/Library/Developer/Xcode/DerivedData/Move4u-ewfgdiwoasxtpydtflwbbzybqgqp/Build/Intermediates/ArchiveIntermediates/Move4u/BuildProductsPath/Release-iphoneos/libCordova.a, missing required architecture arm64 in file /Users/kevin/Library/Developer/Xcode/DerivedData/Move4u-ewfgdiwoasxtpydtflwbbzybqgqp/Build/Intermediates/ArchiveIntermediates/Move4u/BuildProductsPath/Release-iphoneos/libCordova.a (2 slices)
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_CDVPlugin", referenced from:
_OBJC_METACLASS_$_DatePicker in DatePicker.o
"_OBJC_CLASS_$_CDVPlugin", referenced from:
_OBJC_CLASS_$_DatePicker in DatePicker.o
"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVPluginResult", referenced from:
objc-class-ref in DatePicker.o
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_CLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVCommandQueue", referenced from:
_OBJC_CLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
"_OBJC_CLASS_$_CDVViewController", referenced from:
_OBJC_CLASS_$_MainViewController in MainViewController.o
"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
_OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Try to remove arm64 from the valid architectures.

parse.com push notifications framework not working with ionic framework Xcode project?

I am looking to get push notifications working with the ionic framework and parse.com.
I tried adding the push.com framework to the Xcode project, but as soon as I do I can no longer compile the project (throws up about 45 errors). This is before I even add / change any code, I simply include the parse.com framework on the build list.
Any help greatly appreciated as always :)
Errors listing below
-bsvxvbqqiuaufjbgslrfogfllszq/Build/Products/Debug-iphonesimulator/Test.app/Test
Undefined symbols for architecture i386:
"_ACAccountTypeIdentifierTwitter", referenced from:
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_AudioServicesCreateSystemSoundID", referenced from:
+[PFPush handlePush:] in Parse(PFPush.o)
"_AudioServicesPlaySystemSound", referenced from:
+[PFPush handlePush:] in Parse(PFPush.o)
"_CATransform3DIdentity", referenced from:
-[PF_EGORefreshTableHeaderView setState:] in Parse(PF_EGORefreshTableHeaderView.o)
"_CATransform3DMakeRotation", referenced from:
-[PF_EGORefreshTableHeaderView setState:] in Parse(PF_EGORefreshTableHeaderView.o)
"_FBTokenInformationExpirationDateKey", referenced from:
-[PFFacebookTokenCachingStrategy cacheTokenInformation:] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o)
"_FBTokenInformationTokenKey", referenced from:
-[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o)
"_FBTokenInformationUserFBIDKey", referenced from:
-[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o)
"_OBJC_CLASS_$_ACAccountStore", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_CALayer", referenced from:
objc-class-ref in Parse(PF_EGORefreshTableHeaderView.o)
"_OBJC_CLASS_$_CATransaction", referenced from:
objc-class-ref in Parse(PF_EGORefreshTableHeaderView.o)
"_OBJC_CLASS_$_FBAppCall", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from:
_OBJC_CLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
"_OBJC_CLASS_$_SKPayment", referenced from:
objc-class-ref in Parse(PFPurchase.o)
"_OBJC_CLASS_$_SKPaymentQueue", referenced from:
objc-class-ref in Parse(PFPurchase.o)
objc-class-ref in Parse(PFPaymentTransactionObserver.o)
"_OBJC_CLASS_$_SKProductsRequest", referenced from:
objc-class-ref in Parse(PFPurchase.o)
"_OBJC_CLASS_$_SLComposeViewController", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"_OBJC_CLASS_$_SLRequest", referenced from:
objc-class-ref in Parse(PF_Twitter.o)
"_OBJC_METACLASS_$_FBSessionTokenCachingStrategy", referenced from:
_OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
"_SCNetworkReachabilityCreateWithName", referenced from:
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilityGetFlags", referenced from:
+[PFInternalUtils(Reachability) isParseReachable] in Parse(PFInternalUtils.o)
___22-[PFCommandCache init]_block_invoke in Parse(PFCommandCache.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[PFCommandCache init] in Parse(PFCommandCache.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[PFCommandCache dealloc] in Parse(PFCommandCache.o)
"_SLServiceTypeTwitter", referenced from:
-[PF_Twitter getAccessTokenForReverseAuthAsync:localTwitterAccount:] in Parse(PF_Twitter.o)
-[PF_Twitter getLocalTwitterAccountAsync] in Parse(PF_Twitter.o)
"_SecItemAdd", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
"_SecItemCopyMatching", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_SecItemDelete", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
+[PFInternalUtils deleteFromKeychain:] in Parse(PFInternalUtils.o)
"_kCAGravityResizeAspect", referenced from:
-[PF_EGORefreshTableHeaderView initWithFrame:] in Parse(PF_EGORefreshTableHeaderView.o)
"_kCATransactionDisableActions", referenced from:
-[PF_EGORefreshTableHeaderView setState:] in Parse(PF_EGORefreshTableHeaderView.o)
"_kCFStreamPropertyFTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kCFStreamPropertyHTTPAttemptPersistentConnection", referenced from:
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
"_kSecAttrAccessible", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccessibleAfterFirstUnlock", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrAccount", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecAttrService", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClass", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecClassGenericPassword", referenced from:
+[PFInternalUtils getKeychainQuery:] in Parse(PFInternalUtils.o)
"_kSecMatchLimit", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecMatchLimitOne", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecReturnData", referenced from:
+[PFInternalUtils loadFromKeychain:] in Parse(PFInternalUtils.o)
"_kSecValueData", referenced from:
+[PFInternalUtils saveToKeychain:data:] in Parse(PFInternalUtils.o)
ld: symbol(s) not found for architecture i386
It looks like you might need to add the Social.framework to your project.

Admob ios x64 error

I'm trying to test Admob Banner on iPad Mini Retina. Now I'm getting this error:
Undefined symbols for architecture arm64:
"_SCNetworkReachabilityCreateWithAddress", referenced from:
l002 in libGoogleAdMobAds.a(GADGestureUtil.o) "_AudioServicesPlaySystemSound", referenced from:
-[GADDefaultGMSGHandler didReceiveVibrateNotification:] in libGoogleAdMobAds.a(GADDefaultGMSGHandler.o)
"_AudioSessionInitialize", referenced from:
-[GADDevice audioRouteUsingAudioToolkit] in libGoogleAdMobAds.a(GADDevice.o) "_OBJC_CLASS_$_AVAudioSession",
referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADDevice.o) "_AVAudioSessionPortHeadphones", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o) "_AudioSessionGetProperty",
referenced from:
-[GADDevice audioRouteUsingAudioToolkit] in libGoogleAdMobAds.a(GADDevice.o)
"_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o) "_SCNetworkReachabilityGetFlags", referenced from:
l002 in libGoogleAdMobAds.a(GADGestureUtil.o) "_SCNetworkReachabilitySetCallback", referenced from:
-[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
"_OBJC_CLASS_$_MFMessageComposeViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o) "_AVAudioSessionPortBuiltInSpeaker", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o) "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADDevice.o) "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[GADNetworkChecker stopNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
"_SCNetworkReachabilityCreateWithName", referenced from:
-[GADNetworkChecker startNetworkChecking] in libGoogleAdMobAds.a(GADNetworkChecker.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[GADOpener openInAppStore:fallbackURLString:] in libGoogleAdMobAds.a(GADOpener.o) ld: symbol(s) not found for
architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
I found a solution which removes some errors. It is to add some Frameworks. List of them:
AudioToolbox.Framework
MessageUI.Framework
SystemConfiguration.Framework
CoreGraphics.Framework
CoreData.Framework
AdSupport.Framework
MediaPlayer.framework
But anyway I have got this error:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_AVAudioSession", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADDevice.o) "_AVAudioSessionPortBuiltInSpeaker", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADDevice.o) "_AVAudioSessionPortHeadphones", referenced from:
-[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libGoogleAdMobAds.a(GADOpener.o) "_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[GADOpener openInAppStore:fallbackURLString:] in libGoogleAdMobAds.a(GADOpener.o) ld: symbol(s) not found for
architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
How to solve this issue?
Just add following frameworks BuildSettings -> Build Phase -> Link Binary with libraries
StoreKit.framework
CoreTelephony.framework
AVFoundation.framework

Resources