This configuration allows you to run a program from Genero Studio and display it to your
iOS device. This configuration does require an Apple iOS developer account.
-
Log into the iOS Developer Center. If you are a member of the iOS Developer Center then just
log in. If not, follow these steps to enroll in an iOS developer program. Please note, it can take
Apple a day or two to approve memberships.
-
Go to http://developer.apple.com and select
the iOS Developer Program option.
-
Select the Enroll Now option and follow the instructions. You will need
to enroll in either a Developer or Enterprise program. When you are finished you will have an Apple
ID with which to log in. If you are a member of the IOS Developer Program select Member
Center to log in.
-
Generate and import a development certificate. The Development Certificate will be used to
allow you to view your program on your iOS device which can be an iPhone, iPod, or iPad.
-
Select Certificates, Identifiers & Profiles.
-
Select Certificates under the iOS Apps section.
-
Under Certificates, select Development followed
by the + symbol.
-
Follow the instructions, on the Select Type page and select the
iOS App Development option for an iOS App Development
certificate then click Continue.
-
Follow the instructions on the page to create a CSR file then click
Continue.
-
Your certificate request is now available. Now you can go back to the Development Certificate
section still active in your browser and click Choose file....
-
Navigate to the file you just saved and choose that file.
-
Click Generate.
-
Once the certificate is generated, click Download. The certificate will
download into your Downloads folder.
-
Double-click this file to install it into Keychain.
-
When done, your new certificate should be listed in the Certificates
list.
-
Provision your device for development. If you have only an iOS developer account, you need to
register each device you will use to test your IOS app. These steps are not necessary if you
have an iOS enterprise account. Follow Apple's instructions for provisioning your device.
-
For iOS 8 and above, enable UI automation.
-
Open the Settings app.
-
Select Developer.
-
Turn on Enable UI automation.
-
Go back to the Member Center and you should have a provisioning profile granted. Please note,
it can take some time before Apple changes the status from Pending to Active.
-
Select the Provisioning Profile and click Download.
-
From the Xcode Organizer (), select Devices.
-
Drag the provisioning profile you downloaded into the Xcode Organizer window. You should see a
valid provisioning profile installed with a green check mark.
-
Launch Genero Studio.
-
Select Tools >> Genero Configurations.
-
Select the iOS environment set.
-
Set the IDENTITY environment variable in the
iOS environment set, to identify which certificate to use from those defined
in Keychain Access.
The certificate name generally contain the first and last name of the developer as defined in
your Apple ID account. You can find it at http://appleid.apple.com/.
To view the list of certificates in the Keychain Access, leave Genero Studio and complete
these steps:
-
Open .
-
Select login in the Keychain section.
-
Select My certificates in the Categories section.
The list of certificates displays. Use this list to find the sub string to enter for the
IDENTITY environment variable. At a minimum, the IDENTITY
environment variable must contain just enough characters to identify the certificate (amongst those
listed in Keychain Access) used to sign the package. In theory, it can be as small as two letters,
if those two letters are sufficient enough to identify the certificate.
-
Set the PROVISIONING_PROFILE environment variable to the provisioning profile
file you downloaded.
-
Select . A USB connection is required to deploy to the device.
In the Genero Studio output panel you will see that the deploy started and finished. On the
device you will see a new icon labeled GMI.
-
Set up your device as a display client. Wi-Fi is used to display the app to the device in
developer mode.
-
Confirm that your computer and your mobile device are on the same Wi-Fi network.
-
Get the IP address of your device. (From your device, select and select the Wi-Fi network to see the network details and IP Address.)
-
Edit the iOS Display client setting for the iOS
Genero configuration. In the Host field, enter your device's IP address.
-
Select OK to save the changes.
-
On the device, tap the GMI app to launch it.
-
Test your configuration. From Genero Studio, find the
OfficeStoreMobile project and open it. Execute the
OrdersApp. You should now see the Orders program running on the device.
-
You can now run your own apps from Genero Studio to the device.