Lazy loading NSBundle MobileCoreServices.framework,
Loaded MobileCoreServices.framework,
System group container for systemgroup.com.apple.configurationprofiles path is /Users/develop/Library/Developer/CoreSimulator/Devices/083C0102-C85F-463A-96F4-CA1B9AC7919D/data/Containers/Shared/SystemGroup/ systemgroup.com.apple.configurationprofiles
1. Open your project and find Scheme –> Edit Scheme–> Run–>environment variable (name) OS_ACTIVITY_MODE; Value $(DEBUG_ACTIVITY_MODE), as shown in the figure

2. Find your project and click project–> build settings, click + to add the setting name as DEBUG_ACTIVITY_MODE. Then click + in Debug, then select “Any iOS Simulator SDK”, and set the value to “default” as shown in the figure:

Done!