Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Next »

Setup SalesWarrior App on XCode to compile and deliver on an iPad

Setup SalesWarrior App on XCode

A. Download XCode, AWS S3 SDK for iOS, and the source code:

  1. Download and Install XCode version 5.0 or higher (https://developer.apple.com/xcode/downloads/)
  2. Download and Unzip Amazon S3 SDK for iOS (http://aws.amazon.com/sdkforios/)
  3. Open XCode and click on "Check out an existing project"

  4. Enter in a repository location:  https://bitbucket.org/cmaldonados2r/ipad.git , and click Next. 
  5. (You will be prompted for username and password on first try.  Your bitbucket username is shift2right, and password is your original 2013 password)
  6. Enter in a directory where the workspace will be created on the machine and click Next.  Wait for the source code to be downloaded from BitBucket.

B. Fix/Re-link AWS S3 SDK library to locally downloaded library:

  1. Click on WasteManagementCRM on the top left (in blue), then click on Build Phases tab.
  2. Open up "Link Binary With Libraries" section.
  3. Select AWSS3.framework, and click on the - (minus) sign to remove it.
  4. Click on the + (plus) sign to add in the AWSS3.framework from the unzipped directory for the S3 SDK for iOS.

C. Compile and run the app locally on Simulator:

  1. On top left Title bar, click on WasteManagementCRM (next to pencil and ruler icon), and select WasteManagementCRM_PROD, and select iOS Simulator - iPad.
  2. Click on the triangle right arrow on the top left to run on the Simulator.

D. Compile and run through a device:

  1. The device needs to be set on Development mode on XCode
    1. Plug-in a device
    2. Go to Organizer under Window menu
    3. Select the device then click on button "Development Mode"
    4. Close Organizer Window
  2. On top left Title bar, click on WasteManagementCRM (next to pencil and ruler icon), and select WasteManagementCRM_DEV, and select iOS Device.
  3. Click on the triangle right arrow on the top left to run on the device.

 

For deploying to a device a developer provisioning profile is needed as well as the device's UUID. A distribution provisioning profile is needed if the app is to be sent to the Apple Store or to be distributed as an Enterprise App.

An Ad-hoc distribution provisioning profile is needed when deploying to a device remotely through TestFlight or hosted elsewhere.

 

E.  Setup Developer Certificate and Provisioning Profile (Carlos TODO - in case needed)

 

  • No labels