Download the sample app - Adobe-Marketing-Cloud/aml-summit-lab GitHub Wiki
Setting up your App in Xcode and Adobe Mobile Services
Before we do anything else, we want to link our sample app in Xcode to our sample app in Adobe Mobile Services. To do that, we will log into Adobe Mobile Services, download the app configuration and put it in our sample app's Xcode project.
Sign into Adobe Mobile Services
Please log in to Adobe Mobile Services with the credentials provided at your lab station and ensure you have access to your designated app. Your user will have access to Lab App with the same number as that used in your login. For example, if you log in with [email protected], you will have access to Lab App 38
Download the Sample App Configuration file
-
Select your app (Lab App #) from the dropdown in the top left.
-
Click on "Manage App Settings" on the top left.
-
Scroll to the bottom of the settings page and click "Config File" to download the configuration file for the sample app. This will download a file named "ADBMobileConfig.json" to your computer, most likely to the Downloads folder.
Download the Sample App for Xcode
-
Download the source for the sample app here:
-
Open the zip file, open the SummitMobileLab folder, open the AdobeMobileLibrary folder and copy/paste the ADBMobileConfig.json that you downloaded and overwrite the config file in the project. This will now link your sample app in Xcode to the sample app that you see in Adobe Mobile Services
-
Now double-click on SummitMobileLab.xcodeproj. This will launch Xcode and open our sample app
- Click "Open" if prompted to trust the project.
-
Show Line Numbers: Xcode -> Preferences -> Text Editing -> Line Numbers
Run the Sample App in the Simulator
-
Change the Simulator type to iPhone 7
-
Hit the Run button
The simulator should automatically start and launch the sample app. If the size of the simulator is too large or too small, you can change the size by pressing ⌘1 (largest) to ⌘5 (smallest).
The login screen does not do any actual authentication, and you can simply press the Begin Trip button to get started. Click around through the app to get familiar with what it does.