开启GameCenter支持, 如果开启失败, 请检查在iTunes connect中, app是否开启了GameCenter支持
iTunes connect
开启Keychain支持, 注意, 请正确填入包名到Keychain Groups中
Bolts.frameworkFBSDKCoreKit.frameworkFBSDKLoginKit.frameworkFBSDKShareKit.frameworkNGALoginSDK.frameworkFacebookSDKStrings.bundleNGALoginSDKResource.bundleNGALoginSDKStrings.bundleGameKit.framework (系统库)
Bolts.framework
FBSDKCoreKit.framework
FBSDKLoginKit.framework
FBSDKShareKit.framework
NGALoginSDK.framework
FacebookSDKStrings.bundle
NGALoginSDKResource.bundle
NGALoginSDKStrings.bundle
GameKit.framework (系统库)
然后将文件添加到Build Phases中如下图:
Build Phases
framework添加到 Link Binary With Libraries 中, bundle资源文件添加到 Copy Bundle Resources中:
Link Binary With Libraries
Copy Bundle Resources
注意拼写为: -ObjC
Last updated 7 years ago