System group container for systemgroup.com.apple.configurationprofiles path is /Users/wxx/Library/Developer/CoreSimulator/Devices/B1BA3ACB-6A80-4CF5-8D7B-BE79E9A84AA6/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
寫了一個請求網絡的方法,就提示上面的錯誤
然後在xcode中 Product->Scheme->Edit Scheme->Arguments->Environment Variables 中添加一個屬性 OS_ACTIVITY_MODE,值爲 disable
不過這樣一弄,啥錯誤提示都沒了有,因噎廢食。