-
Notifications
You must be signed in to change notification settings - Fork 13
Using Flipper from Xcode
George Morgan edited this page Feb 16, 2018
·
1 revision
This Wiki page details how to use Xcode to control a Flipper board.
- C
- C++
- Objective-C
- Swift
- macOS
- iOS
- watchOS
- tvOS
Create the Xcode project from the app template you want to build.
To use Flipper on an Apple platform, you must first build Flipper.framework. This framework contains an embedded version of libflipper for the Apple platforms as well as bindings for the Apple languages supported by Apple.
- Navigate to the root of the repository and then to
languages/apple/Flipper. - Open
Flipper.xcodeprojand runProduct-Buildor press⌘+Bto build the project. - Expand the Products group.
- Right click on
Flipper.frameworkand clickShow in Finder. - Highlight
Flipper.framework.
- Open your Xcode project and navigate to
MyProduct-General. - Go to Finder and drag
Flipper.framework-
iOS/watchOS/tvOS: into Embedded Binaries -
macOS: into Linked Frameworks and Libraries
-
- Write some code!