Simple in-app updates for Enterprise App Distribution
- Set up a new bucket on S3 to contain your app beta. Make a new access key configured with write access to this bucket.
- Upload full (512x512) and display (57x57) pngs for your app icon. Make them public and make note of their urls.
- Edit manifest.plist to include your app display name, company name, bundle idenitifer and the full-size-image and display-image urls you created in step 2.
- Edit upload-iphone to include your app name and AWS bucketname and acess keys from step 1.
- Copy SoftwareUpdateManager.swift to your iOS project.
- Edit SoftwareUpdateManager.swift to include your bucketName and appName.
- Somewhere during your application application didFinishLaunchingWithOptions, call:
SoftwareUpdateManager.startup()
- Make sure you've incremented the bundle-version in your Info.plist file.
- Archive the build and export it for enterprise to the directory containing upload-iphone and your edited manifest.plist file.
- Run:
ruby upload-iphone