Skip to main content

How to run and Release Mobile

Debugging the iOS app:

  1. Set efcMobileApp.iOS as the startup project
  2. Pair the Mac by clicking this icon:
    image.png
  3. Make sure you are in Debug mode, not Release mode
  4. Click the down arrow on the start options, and pick the device you want to simulate - Remote Device will not work
  5. Happy testing!

Releasing the iOS app:

  1. In the efcMobileApp.iOS/Info.plist file, scroll down to Bundle version and bundle versions string (short) then add 1 to theeach existing version numbervalue.
  2. Set efcMobileApp.iOS as the startup project
  3. Pair the Mac (see step 2 of Debugging the iOS app)
  4. Make sure you are in Release mode, not Debug mode
  5. Right click on efcMobileApp.iOS and click Archive...
  6. Wait for the Archive to finish - if there's a signing error:
    a. Right click on efcMobileApp.iOS and click Properties.
    b. Once there, click the iOS Bundle Signing tab and make sure the Signing Identity is: iPhone Distribution: eFileCabinet, Inc. and the Provisioning Profile is: eFileCabinet Online AppStore and try the Archive again.
    c. If there's still an issue, the signing certificate may be out of date. Please get with dev management to get a new signing certificate.
  7. Once the Archive has finished, use VNC Viewer to connect to the Mac Mini (if you need credentials, ask dev management)
  8. Open XCode
  9. On the top toolbar, click Windows and then click Organizers
  10. You should see Archives as a tab on the left, and in there you should see the archive you just created in Visual Studio
  11. Select the archive and click distribute app
  12. Follow the wizard, leaving all the defaults except the one asking about sending reports to Apple and XCode - uncheck that box
  13. Have dev management go to itunes connect to complete the final steps for the app to show up in TestFlight

image.png

image.png

 

 

Debugging the Android app:

  1. Set efcMobileApp.Droid as the startup project
  2. Make sure you are in Debug mode, not Release mode
  3. Run the emulator you have (you may need to install a new device)
  4. Wait for a long time - the Android emulator is very slow on startup
  5. Alternative: If you have an Android phone, plug it in and on step 3 select your phone on the run dropdown. That way debugging should be a lot faster.

Releasing the Android app:

  1. Set efcMobileApp.Droid as the startup project
  2. Make sure you are in Release mode, not Debug mode
  3. Right click on efcMobileApp.Droid and click Archive...
  4. Once the Archive has completed, click Open Distribution
  5. If at any point you are asked for signing credentials, they are found in the Android Signature Key Info file in the root of the source code.
  6. If at any point you are asked for a keystore file, import the keystore file found in the root of the source code.
  7. Give the resulting apk file to dev management to upload to the play store.