Building an iOS App from a FileMaker Database
Welcome to Part 2 of the FileMaker iOS App SDK series, in this article I will take you through setting up Xcode and creating a provisioning profile for an iOS device. In part 1 I highlighted some of the considerations that need to be made when turning a custom FileMaker solution into an iOS App.
Register in the Apple developer program
First things first, we need to register in the Apple Developer program. Head over to the Apple Developer Program page and click the "Enroll" button on the top right of the page. Log in with your Apple ID and follow through the prompts to enroll.
Download Xcode
We will need to download and install the latest version of Xcode, which is available from the Apple Developer website.
Setting up Xcode
Now that we're enrolled in the developer program we can start registering our App ID.
- Launch Xcode, click on the 'Xcode' menu and open the preferences dialog.
- Click on the 'Accounts' tab. In the bottom left hand corner of the window click the plus icon and select 'Add Apple ID...'
- Sign into your Apple Developer account
- Once signed in select the 'Team Name' and click on the 'View Details...' button
- In the Signing Identities section click the 'Create' button next to iOS Development.
Registering our App ID
Registering our App ID with Apple will allow us to create a provisioning profile which will be used in building, testing and distribution of our iOS App.
- Log into the Apple Developer Member Centre
- Click on 'Certificates, Identifiers & Profiles'
- Under the iOS Apps heading click on 'Identifiers'
- Click the plus button to register a new app ID, enter the App ID Description, Prefix and Suffix.
- In the App Services section tick 'Data Protection' and ensure 'Complete Protection' is selected
- Tick the box to enable iCloud.
- Click continue to review our App ID, finally click the 'Submit' button to create the App ID.
Registering our Device for testing
If we want to use an actual iOS device for testing we need to register the UDID (Unique Device Identifier) with Apple.
- Under Devices click on 'All' and then click the plus button in the top right corner
- Enter the device name and UDID. We can copy and paste the UDID from Xcode.
- Ensure your device is plugged in to your Mac
- Click on the Window menu and select 'Devices'.
- Select iOS device and copy the Identifier, paste this into the UDID field on the Apple Developer site.
- Click continue and then register to add your device
Create and download the Provisioning Profile
Now that we’ve created our App ID we need to create and download our provisioning profile.
- Under Provisioning profiles click 'All' then click the plus button in the top right corner
- Select 'iOS App Development' and select the 'Distribution' method required. Click continue.
- Select the 'App ID, Certificate and Devices'. We’ll give our provisioning profile a name and finally click the generate button.
- Switch back to Xcode and open the preferences dialog
- Click on 'Accounts' then click on 'View Details'
- Click the 'Download' button next to our newly created provisioning profile
Continue reading on to Part 3
Something to say? Post a comment...
Comments
James Currie 20/07/2016 11:58am (8 years ago)
Registering in the Apple Developer Program ($US 99/year) is required, creating provisioning profiles and registering devices is not available on the free Apple Developer accounts.
Javier Miranda 19/07/2016 4:27pm (8 years ago)
Thank you for the information you provide it opens a world of oportunities. Can you please tell me if the registration in the Apple Developer Program is mandatory and If I have to pay $us 99/year. I´m completely lost, I have an Apple ID, XCode 7.3 installed. It has my Apple ID in the Accounts, also XCode show a Personal Team with my name. I have Created iOS Development and Mac Development Signing Identities, but I can not register a Device and can´t create a Provisioning Profile.
No one has commented on this page yet.
RSS feed for comments on this page | RSS feed for all comments