Bitrise User Group #4 — iOS Edition (Recap)

During the fourth installment of our BUG webinar series, our main focus was iOS and WWDC20.

Bitrise User Groups (or BUGs) are live meetups where Bitrise users and community members share knowledge, best practices, and ideas with each other. During the fourth installment of our BUG webinar series, our main focus was iOS and WWDC20. Let's take a look at what we discussed during the event.

XCUITest, TestRail, and Bitrise — Putting It All Together

As the first presenter, Moataz Nabil kicked off the event by talking about how his team uses Bitrise to connect XCUITest and TestRail to measure and evaluate the performance of their test automation. Tune in to his talk to learn what you need to do to set up the integration locally (2:05) and in Bitrise (15:32).

Recap

  1. Enable TestRail API (10:29): As the first step, you will need to enable and then generate an API key in TestRail.
  2. Integrate TestRail API Client using QuizTrain (11:14): QuizTrain is an open-source framework that will allow us to interact with TestRail’s API using Swift.
  3. Map the test cases' IDs (12:42): After integrating the API, you can start mapping out the TestRail test cases with test automation scripts.
  4. Run the tests locally (13:52): Before you can run the tests, you will need to set up four environment variables, then download and run the shell script to install a tool that will inject the variables into the Swift file. After all that’s done, you will be able to run the Xcode build.
  5. Putting all that together in Bitrise under a minute (15:32): You can set up those four steps in Bitrise by adding the Swift Environment Variable Injector Step to an iOS workflow, where you can set up the same environment variables you would use locally.
  6. See it in action — you can watch the demo from 16:38.

Privacy on iOS — What you should know and do!

Next up, StuffMC, aka Manuel Carrasco Molina talked about the ins-and-outs of data security and privacy on iOS, including the recent changes introduced on WWDC20. During his presentation, he talked about a wide range of topics such as photos & cameras, location, contacts, and a lot more.

Recap

  1. Import Photos (36:42): An overview of the settings and options you need to be aware of when your app needs to access the photo library on a user’s phone.
  2. Access Location (40:05): Helpful tips to help you protect user privacy, decrease your app’s power usage, and improve location accuracy.
  3. Import Contacts (49:59): Learn how to import contacts with your users in mind — good and bad practices of importing contacts in mobile development.

WWDC20 panel discussion

The last talk was a panel discussion about WWDC20 with Alexander Botkin, Khoa Pham, and Shams Ahmed, facilitated by Akos Hantos. They talked about the biggest surprises, best takeaways, and the most exciting new features announced on the event — tune in from 58:28 to listen to the full discussion.

If you have any questions for the presenters, we created a dedicated channel for the BUG on our community Slack. Join us there!

See you at our next BUG on 6 August — reserve your seat here.

No items found.
The Mobile DevOps Newsletter

Explore more topics

App Development

Learn how to optimize your mobile app deployment processes for iOS, Android, Flutter, ReactNative, and more

Bitrise & Community

Check out the latest from Bitrise and the community. Learn about the upcoming mobile events, employee spotlights, women in tech, and more

Mobile App Releases

Learn how to release faster, better apps on the App Store, Google Play Store, Huawei AppGallery, and other app stores

Mobile DevOps

Learn Mobile DevOps best practices such as DevOps for iOS, Android, and industry-specific DevOps tips for mobile engineers

Mobile Testing & Security

Learn how to optimize mobile testing and security — from automated security checks to robust mobile testing and more.

Product Updates

Check out the latest product updates from Bitrise — Build Insights updates, product news, and more.

The Mobile DevOps Newsletter

Join 1000s of your peers. Sign up to receive Mobile DevOps tips, news, and best practice guides once every two weeks.