我得到一個[PFUserAuthenticationController authenticationProviderForAuthType:]: unrecognized selector sent to instance error
試圖用解析的PFFacebookUtilsV4在我的iOS應用程序時PFFacebookUtils扔PFUserAuthenticationController authenticationProviderForAuthType
當我打電話的
PFFacebookUtils.initializeFacebookWithApplicationLaunchOptions(launchOptions)
功能
我這個被拋出試圖在Parse SDK和Facebook SDK之間建立基本的iOS鏈接。
- 對於FB SDK我使用V4.6
- 對於解析SDK我使用v1.8.5
我根據解析設置我的iOS項目和FB教程。確實運行Facebook登錄套件我可以登錄沒有問題,所以我假設我的FB應用程序設置正確。
調試堆棧顯示它具有一些與PFUserAuthenicationController
0x000000010bd2658d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x000000010bc73f7a ___forwarding___ + 970
4 CoreFoundation 0x000000010bc73b28 _CF_forwarding_prep_0 + 120
5 MyApp 0x000000010a595d30 +[PFFacebookUtils _authenticationProvider] + 160
6 MyApp 0x000000010a595d8d +[PFFacebookUtils initializeFacebookWithApplicationLaunchOptions:] + 48
7 MyApp 0x000000010a58af89
我檢查,雙重檢查和三重檢查我的框架包,以確保它們是正確的。
我看了看我的搜索路徑,這是正確的
我都試過頭文件橋接但是,這不是所需要的類的V4(這是寫在斯威夫特)
我很多想法!請幫忙
對不起應該補充的是,我對建設和iOS9我添加plist中包括新的NSAppTransportSecurity要求! – Cameron