- [Instructor] A common thing that needs to change…as part of a build are elements of the iOS,…info p-list, or Android manifest.…We can do this with custom scripts.…For this, we need a good text editor.…A normal development tool like Visual Studio for Mac…will work fine.…Here we're going to go in and create a new file…by going to file, new file…and we're going to select an empty text file.…And for the name, we're going to call this appcenter-pre-build…because you want this to happen right before the build.…
And since it's running on a Mac,…we'll give it an sh extension and click new.…Keep in mind if this is running on Windows,…we'd have to use a .ps1 extension for PowerShell scripts.…What we are going to do is change the CFBundleDisplayName…to include the branch name if a QA branch is being built.…This is the name that is displayed next to the icon…so this is one way we can easily see…that we have a QA build.…Inside the script,…we're going to initialize this as a bash script…so we'll key in pound bang forward slash user…
Author
Released
3/13/2018- Adding applications to the VSAC
- Using custom build scripts
- Creating iOS and Android builds
- Creating UI tests
- Automating tests
- Distributing apps
- Examining crash logs and analytics
- Adding push notifications
- Using CodePush for deployments
Skill Level Intermediate
Duration
Views
Related Courses
-
Visual Studio Code for Web Developers
with Joe Marini1h 21m Intermediate
-
Introduction
-
Welcome1m 34s
-
What you should know1m 43s
-
Using the exercise files4m 6s
-
Set up Android Keystore2m 45s
-
-
1. Introduction to Visual Studio App Center
-
The VSAC web portal3m 16s
-
Adding organizations3m 5s
-
Adding applications2m 50s
-
2. Creating Builds
-
Signing builds: iOS4m 30s
-
Signing builds: Android1m 35s
-
Custom build scripts1m 57s
-
Using custom build scripts5m 43s
-
Environment variables6m 28s
-
Create iOS CI builds4m 36s
-
Create iOS CD builds2m 3s
-
Create Android CI builds2m 47s
-
Create Android CD builds1m 18s
-
3. Test Runs
-
Create UI tests2m 32s
-
Set up the App Center CLI2m 30s
-
Automate a test with the CLI2m 59s
-
Using CLI in a script1m 50s
-
-
4. App Distribution
-
Set up distribution groups2m 41s
-
Install the apps on devices1m 48s
-
Register iOS devices3m 54s
-
5. Crash Reporting and Analytics
-
Examine crash logs3m 32s
-
Add custom analytics3m 23s
-
Examine analytics3m 50s
-
6. Push Notifications
-
7. Code Push
-
Set up code push frequency3m 44s
-
Conclusion
-
Next steps51s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Using custom build scripts