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 3 Next »

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

Setup SalesWarrior App on XCode

A. Download XCode, AWS S3, 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. On top left Title bar, click on WasteManagementCRM (next to pencil and ruler icon), and select WasteManagementCRM_PROD, and select iOS Device.
  2. Click on the triangle right arrow on the top left to run on the device.

 

TODO: (Carlos to verify the information below)

Deploying to the iPad through a USB cable may not require a developer certificate or provisioning profile.

A developer certificate and 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