swift 2 parse facebookSDK ios9

前端 未结 4 877
旧巷少年郎
旧巷少年郎 2021-01-31 08:50

I am trying to Log In a user via Facebook. In the previous version of swift 1.2 everything worked perfectly, but after migration I can\'t seem to log in via my FB account I am s

4条回答
  •  猫巷女王i
    2021-01-31 09:04

    1] Authentication in Developer.facebook and generate Facebook Id

    2] Set Bitcode : No From Build Settings

    3] Set up Plist File

    CFBundleURLTypes
    
        
            CFBundleTypeRole
            Editor
            CFBundleURLSchemes
            
                fb460481580805052
            
        
    
    
    FacebookAppID
    460481580805052
    
    LSRequiresIPhoneOS
    
    NSAppTransportSecurity
    
        NSExceptionDomains
        
            akamaihd.net
            
                NSIncludesSubdomains
                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
            facebook.com
            
                NSIncludesSubdomains
                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
            fbcdn.net
            
                NSIncludesSubdomains
                
                NSThirdPartyExceptionRequiresForwardSecrecy
                
            
        
    
    
    LSApplicationQueriesSchemes
    
        fbapi
        fbapi20130214
        fbapi20130410
        fbapi20130702
        fbapi20131010
        fbapi20131219
        fbapi20140410
        fbapi20140116
        fbapi20150313
        fbapi20150629
        fbauth
        fbauth2 
        fb-messenger-api20140430
        fb-messenger-platform-20150128
        fb-messenger-platform-20150218
        fb-messenger-platform-20150305
    
    

    4] Download 4 Sdk Framework like

    =>Bolts.framework
    =>FBSDKCoreKit.framework
    =>FBSDKLoginKit.framework
    =>FBSDKShareKit.framework
    

提交回复
热议问题