Environment Requirements
- macOS Version:
macOS 10.14and above - Development Language:
Objective-C - Architecture Support:
x86_64,arm64(Apple Silicon)
Get Sample Source Code
Clone the GitHub repository locally, and navigate to thedemo/macos directory.
Configure Application Information and Keys
Bind Application Bundle ID
Follow the instructions on this page to bind your macOS application Bundle ID in the console, for example:com.example.app
Get AppID and AppKey
Follow the instructions on this page to get yourappid and appkey. Open ViewController.m in the project and modify the appid and appkey.
Run the Project
Opendemo/macos/FBExampleObjc.xcworkspace
- Ensure Xcode project signing is correct
- Ensure network permissions are enabled for appkey validation
- Build and run

