HomeiOS Developmentxcode - Methods to run a number of iOS schemes (dev, prod,...

xcode – Methods to run a number of iOS schemes (dev, prod, mock) as separate apps on the identical simulator?


I am constructing an iOS app with one goal and three schemes: Manufacturing, Improvement, and Mock.

Initially, I might run all three schemes on the identical simulator, and every one appeared as a separate app, which allowed me to match options facet by facet. Every scheme has a unique show title set in Data.plist, like this:
Proper simulator behaviour

Nonetheless, after a while, the simulator began eradicating one of many apps, and now solely two scheme apps are seen at any given time. It appears to rotate between holding Mock and both Manufacturing or Improvement.

Only 2 scheme apps - not 3

This habits forces me to continually swap schemes and rebuild, which is time-consuming. I would wish to have all three schemes put in and accessible on the simulator concurrently, similar to it was working earlier than.

What’s the right method to make sure that all three schemes stay put in as separate apps on the identical simulator?

What I’ve tried:

  • Verified that every scheme has a novel CFBundleDisplayName.

  • Checked that the schemes level to the identical goal however construct with totally different configurations.

  • Cleaned the construct folder and reset the simulator.

  • Tried altering CFBundleIdentifier dynamically however nonetheless seeing conflicts.

Is there a strategy to persist all three scheme builds on the simulator with out them changing one another?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments