1. 程式人生 > >iOS開發缺少framework對應錯誤提示

iOS開發缺少framework對應錯誤提示

StoreKit.framework

Undefined symbols for architecture i386:
"_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) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

iAd.framework

ld: warning: ignoring file /Users/macmini/Desktop/Test/iAd.framework/iAd, missing required architecture i386 in
file /Users/macmini/Desktop/Test/iAd.framework/iAd (2 slices) Undefined symbols for architecture i386: "_ADBannerContentSizeIdentifier320x50", referenced from: -[ViewController viewDidLoad] in ViewController.o "_OBJC_CLASS_$_ADBannerView", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not
found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

JavaScriptCore.framework

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_JSValue", referenced from:
      objc-class-ref in MOBFoundation
  "_OBJC_CLASS_$_JSContext", referenced from:
      objc-class-ref in MOBFoundation
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 warnings only

ImageIO.framework

Undefined symbols for architecture armv7:
  "_kCGImageSourceThumbnailMaxPixelSize", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImageSourceCreateThumbnailWithTransform", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImageSourceCreateThumbnailFromImageAlways", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImagePropertyPixelHeight", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_kCGImagePropertyPixelWidth", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCopyPropertiesAtIndex", referenced from:
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCreateWithURL", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
      +[UIImage(WBSDKResize) wbsdk_imageSizeWithoutLoadingWithPath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
  "_CGImageSourceCreateThumbnailAtIndex", referenced from:
      +[UIImage(WBSDKResize) wbsdk_resizeImageToMaxSize:sourcePath:] in libWeiboSDK.a(UIImage+WBSDKResize.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

SystemConfiguration.framework

Undefined symbols for architecture i386: 
"_SCError", referenced from: 
-[Reachability startNotifier] in Reachability.o 
"_SCErrorString", referenced from: 
-[Reachability startNotifier] in Reachability.o 
"_SCNetworkReachabilityCreateWithAddress", referenced from: 
+[Reachability reachabilityWithAddress:] in Reachability.o 
"_SCNetworkReachabilityCreateWithName", referenced from: 
+[Reachability reachabilityWithHostname:] in Reachability.o 
"_SCNetworkReachabilityGetFlags", referenced from: 
-[Reachability isReachable] in Reachability.o 
-[Reachability isReachableViaWWAN] in Reachability.o 
-[Reachability isReachableViaWiFi] in Reachability.o 
-[Reachability connectionRequired] in Reachability.o 
-[Reachability isConnectionOnDemand] in Reachability.o 
-[Reachability isInterventionRequired] in Reachability.o 
-[Reachability reachabilityFlags] in Reachability.o 
... 
"_SCNetworkReachabilitySetCallback", referenced from: 
-[Reachability startNotifier] in Reachability.o 
-[Reachability stopNotifier] in Reachability.o 
"_SCNetworkReachabilitySetDispatchQueue", referenced from: 
-[Reachability startNotifier] in Reachability.o 
-[Reachability stopNotifier] in Reachability.o 
ld: symbol(s) not found for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture armv7:
  "_GKPlayerAuthenticationDidChangeNotificationName", referenced from:
      -[NSGameCenter init] in NSGameCenter.o
      -[NSGameCenter registerForAuthenticationNotification] in NSGameCenter.o
  "_OBJC_CLASS_$_GKAchievementViewController", referenced from:
      objc-class-ref in NSGameCenter.o
  "_OBJC_CLASS_$_GKScore", referenced from:
      objc-class-ref in NSGameCenter.o
  "_OBJC_CLASS_$_GKLeaderboardViewController", referenced from:
      objc-class-ref in NSGameCenter.o
  "_OBJC_CLASS_$_GKLocalPlayer", referenced from:
      objc-class-ref in NSGameCenter.o
  "_OBJC_CLASS_$_GKAchievement", referenced from:
      objc-class-ref in NSGameCenter.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

MediaPlayer.framework

 "_OBJC_CLASS_$_MPMusicPlayerController", referenced from:
      objc-class-ref in ocCoreSound.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

MediaPlayer.framework EventKitUI.framework EventKit.framework

"_OBJC_CLASS_$_EKEvent", referenced from:       objc-class-ref in libGoogleAdMobAds.a(GADOpener.o)
libGoogleAdMobAds.a  not found for architecture armv7

AVFoundation.framework

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_AVAudioSession", referenced from:
  objc-class-ref in libGoogleAdMobAds.a(GADDevice.o)
  "_AVAudioSessionPortHeadphones", referenced from:
      -[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)
  "_AVAudioSessionPortBuiltInSpeaker", referenced from:
      -[GADDevice audioRouteUsingAVAudioSession] in libGoogleAdMobAds.a(GADDevice.o)

Security.framework CoreText.framework

 "_kSecReturnAttributes", referenced from:
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecAttrLabel", referenced from:
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_SecItemUpdate", referenced from:
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecValueData", referenced from:
      +[ShareSDKCoreService(Private) saveWithUDID:] in ShareSDKCoreService
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecReturnData", referenced from:
      +[ShareSDKCoreService(Private) loadUDID] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecMatchLimitOne", referenced from:
      +[ShareSDKCoreService(Private) loadUDID] in ShareSDKCoreService
  "_SecItemCopyMatching", referenced from:
      +[ShareSDKCoreService(Private) loadUDID] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecClass", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecMatchLimit", referenced from:
      +[ShareSDKCoreService(Private) loadUDID] in ShareSDKCoreService
  "_kSecAttrService", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecClassGenericPassword", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_CTFontManagerRegisterFontsForURL", referenced from:
      -[CCLabelTTF getFontName:] in CCLabelTTF.o
  "_kSecAttrAccount", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
      +[SFHFKeychainUtils getPasswordForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_kSecAttrAccessibleAfterFirstUnlock", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
  "_kSecAttrAccessible", referenced from:
      +[ShareSDKCoreService(Private) keychainQuery] in ShareSDKCoreService
  "_SecItemDelete", referenced from:
      +[ShareSDKCoreService(Private) saveWithUDID:] in ShareSDKCoreService
      +[SFHFKeychainUtils deleteItemForUsername:andServiceName:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
  "_SecItemAdd", referenced from:
      +[ShareSDKCoreService(Private) saveWithUDID:] in ShareSDKCoreService
      +[SFHFKeychainUtils storeUsername:andPassword:forServiceName:updateExisting:error:] in libTCWeiboSDK.a(SFHFKeychainUtils.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 warnings only

相關推薦

iOS開發缺少framework對應錯誤提示

StoreKit.framework Undefined symbols for architecture i386: "_OBJC_CLASS_$_SKPayment", referenced from: objc-class-ref in Parse(

整理的一些 ios缺少framework引起的錯誤

_CA和_kCA開頭QuartzCore.framework SDwebImage放入工程中  需加入 ImageIO.framework MapKit.framework _SCNetworkReachabilityCreateWithAddress 檢查網路狀態 

iOS開發 分享到QQ空間提示"分享失敗 應用不存在"

提示 申請 ack 騰訊開放平臺 iba http 轉發 connect base 本人遇到該問題的原因是配置SDK初始化時的APPID錯誤,可以參考下shareSDK的集成文檔中的一段話: 可選:支持QQ所需的相關配置及代碼 登錄QQ互聯(http://connect.q

IOS Project缺少Framework的情況彙總

再新增第三方庫的時候,經常遇到對應的Framework未新增的情況,例如 Undefined symbols for architecture armv7: “_kUTTagClassMIMEType”, referenced from: …. 整理一下相

關於如何在iOS開發中使用風火輪UIActivityIndicatorView提示載入等待

首先,在.h檔案中宣告一個風火輪,以便在後面的程序中進行現實和隱藏的控制。 UIActivityIndicatorView *activityIndicator ; 然後就是在.m檔案中進行載入了。 - (void)PostStockData2:(id)userIn

iOS開發筆記-xcode7編譯錯誤缺少libc++.dylib

升級了xcode後.dylib動態庫檔案的新增跟之前不一樣了,需要command+shitf+g到/uer/lib後搜尋想要的.dylib檔案新增即可。 在與c++混編的時候會因為缺少libc++.d

iOS開發:GitHub上傳程式碼錯誤提示fatal: Authentication failed for 'https://gitee.com/XXX/XXX.git/‘的解決方法

上傳程式碼到Git上面,有時候會遇到各種情況,有些時候是因為合併程式碼衝突,有些時候是因為修改了Git的登入密碼需要重新認證。那麼這裡就來講解錯誤提示fatal: Authentication failed for 'https://gitee.com/XXX/XXX.git

iOS開發之duplicate symbols for architecture x86_64錯誤

center img idt 問題 復制 blog net 文件中 use 一、錯誤提示 在我們寫代碼過程中可能會經常遇到這樣一個錯誤: 1. duplicate symbols for architecture x86_64 2.clang: error: l

企業微信開發免登授權時提示scope不能為空,錯誤代碼1001

sap oauth author chat esp amp hat dir QQ 企業免登授權提示scope不能為空1001 原因是我們是單頁面應用url自帶#/在微信裏面認為#號後面的參數不被識別 後端開發人員把參數放到跳轉?URL地址前面,正確形式是 https:/

Python在開發程序時提示錯誤提示“invalid syntax”是什麽原因【已解決】

idl 視頻 lec pytho 教程 技巧 word 學習 com Python在開發程序時提示錯誤提示“invalid syntax”是什麽原因如果在開發程序時候,使用Python中的保留字作為模塊、類、函數或者變量等的名稱,則會出現“invalid syntax”錯誤

iOS開發:環信整合步驟以及常見錯誤

環信官方文件 一、整合: 下載SDK手動整合或者CocoaPod終端整合: 下載SDK 匯入檔案以及依賴庫: 關閉Bitcode: Build Settings → Linking → Enable Bitcode 中設定 NO。 二、常

wind10系統安裝.net framework 3.5 提示錯誤程式碼:0x80070002

win10的系統上需要安裝net.framework 3.5 或者2.5。按照步驟提示錯誤程式碼:0x80070002, 導致安裝失敗。 解決方式如下: 複製連結: http://download.windowsupdate.com/d/msd

iOS開發 關於整合ijkplayer的framework中的那些坑,重新打framework出現的錯

整合教程: http://www.jianshu.com/p/1f06b27b3ac0 已經很詳細了,照這個步驟走就行了。 不過照找個步驟還是發現了一些坑,下面是我自己遇到的問題,菜鳥一個,大神勿噴。 坑一:  直接盜圖了,Show in Finder, 你可能打不開

IOS開發錯誤

After modifying system headers, please delete the module cache at '/Users/XXX/Library/Developer/Xcode/DerivedData/XXXX/2ZMDAUJMMHSDC'  

iOS開發之一些錯誤集錦

######No1. NSAutoreleasePool’ is unavailable: not available in automatic reference counting mode 答:根據Objective-C 2.0程式設計上的舊版本的程式碼會發

網站開發進階 十六 錯誤提示 Multiple annotations found at this line - bas

錯誤提示:Multiple annotations found at this line: basePath cannot be resolved to a variable  &

iOS開發之關於CocoaPods一些基本錯誤

1.在我們替換ruby源時提示: bogon:~ Simona $ gem sources -a http://gems.ruby-china.org/ Error fetching http://gems.ruby-china.org/: SSL_conne

Xcode工程編譯錯誤iOS開發之Xcode9報錯 Compiling IB documents for earlier than iOS7 is no longer supported.

概要:   在我們升級到Xcode9時,最低的編譯版本為iOS8,但是在使用一些SDK的時候就會報出Compiling IB documents for earlier than iOS7 is no longer supported. 這句錯誤,這個時候我們點選錯誤跳轉到Xib或Storyboard中隨後

網站開發進階(十六)錯誤提示:Multiple annotations found at this line:- basePath cannot be resolved to a variable

                錯誤提示:Multiple annotations found at this line: basePath cannot be resolved to a variable出現以上錯誤,主要是由下面這句引起的:<base href="<%= basePath %&

企業微信開發免登授權時提示scope不能為空,錯誤程式碼1001

最近在開發微信公眾號,發現發現經理配置的自定義選單有問題,然後就跟他說了聲,他讓我去修改,但是,我修改了之後直接就有這個問題 當時就是一臉懵逼的,我去,我就只改個引數,不至於全部連結都有問題吧,,然後確認了下,這個scope引數是有的,問題到底在哪裡?上網找了這邊文章: