Setting up Development Environment
Follow these step to set up your development environment in Xcode. A few extra steps are needed, if you choose to code your application in Swift.
- Start a new Xcode project, and select the appropriate template from the iOS Applications.
- Enter a Product Name, and select the Language.
- Finish creating the project, and after the main project window opens, drag the framework into the project.
- In the options window, select Copy items if needed, and make sure that your project is selected as a target. Click Finish.
Proceed with the following steps to create a bridging header file, if you chose
Swift as the coding language, otherwise you are finished with the setup.
- In Xcode, select File>New>File, select Cocoa Touch Class, and click Next
- Call the file something temporary, select Objective-C as the language, and click Next.
- Select your project, and click Create.
- The pop-up window asks you to create the bridging header file, click Create Bridging Header.
Open the bridging header file, called
<Project_Name>-Bridging-Header.h, and enter the import statement for
- Remove the tempory Cocoa Touch Class files.