简体   繁体   English

iOS错误:在iOS12上运行项目会出现错误,但在iOS11上运行正常

[英]iOS Error: Running the project on iOS12 gives an error, but it works fine on iOS11

The project enters the background, switches the wifi network, and enters the project to make a network request. 该项目进入后台,切换wifi网络,然后进入该项目以发出网络请求。 The request process will report an error. 请求过程将报告错误。 The error message is as follows: 错误消息如下:

xxx(739,0x16ca7f000) malloc: Heap corruption detected, free list is damaged at 0x280c78fa0 xxx(739,0x16ca7f000)malloc:检测到堆损坏,空闲列表在0x280c78fa0处损坏

*** Incorrect guard value: 206401777864449 ***防护值不正确:206401777864449

xxx(739,0x16ca7f000) malloc: *** set a breakpoint in malloc_error_break to debug. xxx(739,0x16ca7f000)malloc:***在malloc_error_break中设置一个断点进行调试。

在此处输入图片说明

xcode10 -- Edit scheme -- Diagnostics -- select "Address Sanitizer"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CGImageSourceCreateThumbnailAtIndex()在iOS11和iOS12中给出不同的结果 - CGImageSourceCreateThumbnailAtIndex() giving different results in iOS11 and iOS12 iOS共享扩展名-loadItemForTypeIdentifier调用返回iOS11中的文件url和iOS12中的文件内容 - iOS Share extension - the loadItemForTypeIdentifier call returns file url in iOS11 and file content in iOS12 使用UNAuthorizationStatus.provisional时,如何编写使用Xcode 9.x(iOS11)和Xcode10.x(iOS12)编译的代码? - How can I write code that compiles with Xcode 9.x(iOS11) and Xcode10.x(iOS12) when using UNAuthorizationStatus.provisional? 在iOS12中找不到ASIdentifierManager - ASIdentifierManager is not found in iOS12 iOS12,无法执行kReachabilityChangedNotification - iOS12, kReachabilityChangedNotification is not worked 即使应用程序在前台运行,也会调用通知-iOS12 - Notifications are called even if app is running in foreground - iOS12 如何实现苹果登录到iOS12兼容项目 - How to implement sign in with apple to iOS12 compatible project UIStackView在iOS 12中可以很好地工作,但在iOS 11中则不能 - UIStackView works nicely in iOS 12, but not in iOS 11 UILocalNotification在iOS11中不起作用 - UILocalNotification not work in iOS11 iOS11 backBarButtonItem已禁用 - iOS11 backBarButtonItem disabled
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM