This page provides you with concrete steps on how to re-sign an iOS or Android app provided by SpotMe.
In order to re-sign an app provided by SpotMe, you will need to use the fastlane tool.
Fastlane is one of the few tools whose script correctly resigns all frameworks for hybrid objective-c/swift apps.
Please follow the steps below to re-sign the app:
1. Install fastlane
Go to https://docs.fastlane.tools and navigate to the Getting Started section for instructions on how to install fastlane.
Multiple install methods are listed Homebrew/ Installer script /Gems
2. Save the SpotMe .ipa file
3. Save your .mobileprovision file
4. Re-sign the app
Instructions can be found here : https://github.com/fastlane/fastlane/tree/master/sigh#resign
fastlane sigh resign /Users/alexandru/Desktop/Tutorial/SpotMe_ios_store_1501232142.ipa --signing_identity "iPhone Distribution: SpotMe SA" -p "/Users/alexandru/Desktop/Tutorial/comspotmeappstore_AppStore.mobileprovision"
If the signing identity is not found or there are multiple choices available, a prompt will ask you to select the correct one (simply copy paste the id):
The result should look like this:
This will also change the bundle id to the one in the provided (new) provisioning profile (.mobileprovision file).
To re-sign an Android app provided by SpotMe you will need to use the apksigner tool.
Follow the steps below to download the tool and re-sign the android app:
1. Download Android Studio
More information could be found here.
2. Install Android Studio
3. Move Android Studio to the Apllications folder
4. Launch Android Studio app
5. Install Android SDK
6. Install the latest SDK components
7. Resign the .apk file
- Open the Terminal app
- Find apksigner in the Library directory:
> ls ~/Library/Android/sdk/build-tools/26.0.1/lib
26.0.1 may change according to what has been installed in Android Studio
Optional: Set the bash path
> nano ~/.bash_profile
> export PATH=$ANDROID_HOME/build-tools/26.0.1/:$PATH
Update 26.0.1 according to your install
- Re-sign apk
> apksigner sign --ks my-release-key.keystore app-full-release.apk
- Verify signature
> jarsigner -verify -verbose -certs app-full-release.apk