![ios – 错误消息:[MC]从公共有效用户设置读取和[MC] systemgroup.com.apple.configurationprofiles路径的系统组容器是,第1张 ios – 错误消息:[MC]从公共有效用户设置读取和[MC] systemgroup.com.apple.configurationprofiles路径的系统组容器是,第1张](/aiimages/ios+%E2%80%93+%E9%94%99%E8%AF%AF%E6%B6%88%E6%81%AF%EF%BC%9A%5BMC%5D%E4%BB%8E%E5%85%AC%E5%85%B1%E6%9C%89%E6%95%88%E7%94%A8%E6%88%B7%E8%AE%BE%E7%BD%AE%E8%AF%BB%E5%8F%96%E5%92%8C%5BMC%5D+systemgroup.com.apple.configurationprofiles%E8%B7%AF%E5%BE%84%E7%9A%84%E7%B3%BB%E7%BB%9F%E7%BB%84%E5%AE%B9%E5%99%A8%E6%98%AF.png)
[NSURLConnection sendAsynchronousRequest:request queue:myQueue completionHandler:^(NSURLResponse *response,NSData *data,NSError *error) { NShttpURLResponse *httpResponse = (NShttpURLResponse *) response; NSLog(@"response status code: %ld,error status : %@",(long)[httpResponse statusCode],error.description); if ((long)[httpResponse statusCode] >= 200 && (long)[httpResponse statusCode]< 400) { // do stuff [self requestFunction]; //Web Service }}]; 错误消息:
2017-02-27 01:13:30.088641 RENAulT[210:12313] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles2017-02-27 01:13:30.090449 RENAulT[210:12313] [MC] Reading from public effective user settings.
[self requestFunction]函数启动一个简单的请求:
NSMutableURLRequest* request = [[NSMutableURLRequest alloc] init]; Nsstring *url_string = [bytes stringByAddingPercentEnCodingWithAllowedCharacters:[NSCharacterSet URLqueryAllowedCharacterSet]]; [request setURL:[NSURL URLWithString:[set_send_order stringByAppendingString: url_string]]]; [request setCachePolicy:NSURLRequestReloadIgnoringLocalCacheData]; [request setTimeoutInterval:timeOut]; [NSURLConnection connectionWithRequest:request delegate:self];
我确切地说没有调用connectionDIDFinishLoading:但是如果我在没有sendAsynchronousRequest:的情况下直接启动它,它就可以工作了.
那么为什么我使用sendAsynchronousRequest:函数会让我出现两条错误消息,并且错误地调用了connectionDIDFinishLoading?
先感谢您.
解决方法 它发生在我身上.我使用textFIEld时在控制台中记录相同的日志.跟着是我的 *** 作:>从Xcode菜单打开:产品>方案>编辑方案
>在您的环境变量上,在值集disable中设置OS_ACTIVITY_MODE
由于this讨论,我解决了它.
总结以上是内存溢出为你收集整理的ios – 错误消息:[MC]从公共有效用户设置读取和[MC] systemgroup.com.apple.configurationprofiles路径的系统组容器是全部内容,希望文章能够帮你解决ios – 错误消息:[MC]从公共有效用户设置读取和[MC] systemgroup.com.apple.configurationprofiles路径的系统组容器是所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)