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、打开你的项目找到 Scheme --> Edit Scheme--> Run-->environment variable (name) OS_ACTIVITY_MODE ; Value ${DEBUG_ACTIVITY_MODE},如图所示

2、找到你的项目点击 project--> build settings, 点击 + 添加设置名字为 DEBUG_ACTIVITY_MODE.然后在 Debug点击+ ,然后选择"Any iOS Simulator SDK",并且把值设置 "default" 如图所示:

网友评论