Setup Mac for Piwik Mobile
You need MacOSX 10.6.4 or higher, iTunes 10.1 or higher
Install Certificates
- Install "Certificates.cer" via doubleclick into Keychain "login" (ask matt if you don't have this file). Certificates.cer includes a developer and a distribution certification and the corresponding private key.
- Login to https://developer.apple.com/devcenter/ios/index.action using mobile@... account (ask matt if you need credentials).
- Click "iOS Provisioning Portal"
- Click "Certificates"
- Download & Install WWDR intermediate certificate (Doubleclick and Keychain: Login)
Setup Test Device
- Login to https://developer.apple.com/devcenter/ios/index.action using mobile@... account (ask matt if you need credentials).
- Click "iOS Provisioning Portal"
- If you haven't added your device click on "device" and add your device (Device ID)
- Click "Provisioning"
- If you haven't added your device to the "Provisioning Configuration" you have to edit the "Provisioning Profile" via "Edit" -> "Select your Device" -> "Submit"
- Download and Install the "Provisioning Profile"
Setup for distribution
- Login to https://developer.apple.com/devcenter/ios/index.action using mobile@... account (ask matt if you need credentials).
- Click "iOS Provisioning Portal"
- Click "Provisioning"
- Click tab "Distribution"
- Download and Install the "Provisioning Profile"
Build and install Piwik Mobile app on a test device
- Start "Titanium Developer"
- Select the "Piwik Mobile" project
- Select "Test & Package"
- Select "Run on Device"
- Titanium should detect all certificates and the provisioning file automatically
- Select "Install now". This builds the app.
- Errors while building the app? do a "tail -f {project_dir}/build/iphone/build/build.log" while building the app
- Start Xcode
- Select "Window" -> "Organizer" from file menu
- Plug in your device
- Select your device
- You can add the downloaded provisioning file if not already added here
- click "+" in "Application" section and select the binary from the directory "{project_dir}/build/iphone/build/Release-iphoneos/Piwik Mobile.ipa"
- Have fun
