Enable NSZombieEnabled for archived release builds

When I launch the connected iPad, I can enable NSZombieEnabled through "Enable Zombie Objects" or by passing NSZombieEnabled as an environment variable. However, I cannot create assemblies (i.e. the View that you archive and distribute ad-hoc) with NSZombie enabled.

How to enable NSZombieEnabled to create archive versions?

The code I use to determine if it is included inside the code: (getenv("NSZombieEnabled") || getenv("NSAutoreleaseFreedObjectCheckEnabled"))

+4
source share
1 answer

NSZombieEnabled is not what you need. You must get them to send you accident logs. Or you can use the TestFlight SDK to get crash reports sent to a web dashboard that you can monitor. There you can often see where the accident occurs.

+1
source

Source: https://habr.com/ru/post/1390937/


All Articles