Visual Studio Mobile Center brings together multiple services, commonly used by mobile developers, into a single, integrated product.
This sample Swift app and its collection of tutorials is designed to help you quickly and easily onboard to Mobile Center for iOS.
This sample Swift app has the Mobile Center SDK already integrated - all you need to do is follow the tutorials at the bottom to learn how to use each service.
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 Mobile Center with the tutorials below.
Codesigning is optional, but recommended.
Codesigning will allow you to deploy this sample app to your device. The Build, Distribute, and Push tutorials recommend that you codesign.
When creating a new App ID for this sample app, be sure to check the Push Notifications service under the App Services section.
To sign the app in Xcode:
- Open .xcworkspace from the sample app's folder.
- Go to General within the .xcworkspace file.
- Under Identity, edit the Bundle Identifier to match the app ID.
- Import and select the provisioning profile under Signing (Debug) and Signing (Release).
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.
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 |
Push | Send push notifications to your app users |