Skip to content

Instantly share code, notes, and snippets.

@WDUK
Last active May 27, 2017 21:18
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save WDUK/9103200 to your computer and use it in GitHub Desktop.
Save WDUK/9103200 to your computer and use it in GitHub Desktop.
Install GBA4iOS 2.0 with Developer Credentials
Have a developer account?
Want to run GBA4iOS 2.0 without needing to change your device date all the time?
Here's what you do!
1. Safari: Download the ipa file direct
http://gba4iosapp.com/download/GBA4iOS.ipa
2. Terminal: Unzip the ipa (it's just a zip file after all)
unzip -q GBA4iOS.ipa
3. Terminal: This will produce a `Payload/` directory. Remove the existing code signature.
rm -rf Payload/GBA4iOS.app/_CodeSignature
4. Terminal: You'll need a valid provisioning profile. Copy this into the payload.
cp <file>.mobileprovision Payload/GBA4iOS.app/embedded.mobileprovision
Note: If you've had a provisioning profile setup by Xcode 5, they're at the location
~/Library/MobileDevice/Provisioning\ Profiles/
5. Terminal: Now resign the application with your developer certificate.
The certificate name needs to match what's listed within Keychain Access
/usr/bin/codesign -f -s "<Certificate Name>" --resource-rules Payload/GBA4iOS.app/ResourceRules.plist Payload/GBA4iOS.app
6. Terminal: Rezip the newly signed app
zip -qr GBA4iOS_DEV.ipa Payload
7. Xcode: Get your device in the Organizer, and drag the .ipa to the Applications section
Ta-da! GBA4iOS 2.0 that doesn't expire/cannot be revoked remotely. You'll need to do this process each time there's an update unfortunately. You can script this if you wish, to help automate the process for you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment