Skip to content

microsoft/appcenter-sampleapp-ios-swift

Repository files navigation

App Center Sample App for iOS

The iOS application in this repository and its corresponding tutorials will help you quickly and easily onboard to Visual Studio App Center.

About this repository

The App Center SDK modules are already integrated within the application. Simply follow the tutorials to learn how to use each service.

Build status (master branch)

Build Service Status
App Center Build status
Azure Pipelines Build Status

Build the sample app

After forking the repository, you'll need to install CocoaPods to build the app.

sudo gem install cocoapods

Next, install the dependencies.

pod install

Open the .xcworkspace. The app can now build and run. You can learn to use the sample app with App Center with the tutorials below.

Codesigning

Codesigning is optional, but recommended.

Codesigning will allow you to deploy this sample app to your device. The Build and Distribute tutorials recommend that you codesign.

When creating a new App ID for this sample app, be sure to check the ** Notifications** service under the App Services section.

To sign the app in Xcode:

  1. Open .xcworkspace from the sample app's folder.
  2. Go to General within the .xcworkspace file.
  3. Under Identity, edit the Bundle Identifier to match the app ID.
  4. Import and select the provisioning profile under Signing (Debug) and Signing (Release).

Tutorial links

Begin with the Getting Started tutorial. After you've completed that, you can do the rest in the order below, or choose a specific tutorial to follow.

Contents

Tutorial Description
Getting Started Set up the app
Build Build the app
Test Run automated UI tests on real devices
Distribute Distribute application to a group of users
Crashes Monitor application crashes
Analytics View user analytics