Follow

Re-signing SpotMe apps

This page provides you with concrete steps on how to re-sign an iOS or Android app provided by SpotMe.

iOS Apps

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

Ex:

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):

Screen_Shot_2018-03-25_at_16.42.13.png

The result should look like this:

Screen_Shot_2018-03-25_at_16.42.23.png

This will also change the bundle id to the one in the provided (new) provisioning profile (.mobileprovision file).

Android Apps

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.

Screen_Shot_2018-03-25_at_16.48.39.png

2. Install Android Studio

3. Move Android Studio to the Apllications folder

Screen_Shot_2018-03-25_at_16.49.27.png

4. Launch Android Studio app

Screen_Shot_2018-03-25_at_16.50.39.png

5. Install Android SDK

Screen_Shot_2018-03-25_at_16.51.29.png

6. Install the latest SDK components

Screen_Shot_2018-03-25_at_16.52.30.png

7. Resign the .apk file

  • Open the Terminal app

Screen_Shot_2018-03-25_at_16.53.22.png

  • Find apksigner in the Library directory:

> ls ~/Library/Android/sdk/build-tools/26.0.1/lib

Screen_Shot_2018-03-25_at_16.54.22.png

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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.