Post

Replies

Boosts

Views

Activity

App built with Xcode 15 beta 8 crashes on macOs 11.7.9
Hello, out team has faced with the problem that our app built with Xcode 15 beta 8 crashes at start on macOs 11.7.9, crash_at_start.txt I debuged it on macOs 11.7.9 and found out that loader did not setup pointers in import table to the functions: void* operator new(std::size_t, cont std::nothrow_t&) void* operator new[](std::size_t, cont std::nothrow_t&) void* operator delete(std::size_t, cont std::nothrow_t&) void* operator delete[](std::size_t, cont std::nothrow_t&) all functions which takes cont std::nothrow_t& App built with Xcode 14.3.1 works fine. Architecture of our program is following: Main app executable linked with the Ogre22.framework, Ogre.framework linked with static library FreeImage.a(only this lib uses operator new(std::size_t, cont std::nothrow_t&)) nm command shows me some diff in symbol table of Ogre22.framework
3
0
1.1k
Sep ’23
Termination Description: DYLD, can't resolve symbol _$s8RoomPlan0A14CaptureSessionC13ConfigurationVMa
I have got a crash related with RoomPlan framework on iOs 13.5.1 Hardware Model: iPad6,11 Process: xxxxxxx [4677] Path: /private/var/containers/Bundle/Application/15CC2737-2FFD-4A17-A111-A2DB7A6838E0/xxxxxxx.app/xxxxxxx Identifier: xxxxxxx Version: 1489 (4.7.3) AppStoreTools: 14E221 AppVariant: 1:iPad6,11:13 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: xxxxxxx [1071] Date/Time: 2023-08-05 04:34:53.0188 +0700 Launch Time: 2023-08-05 04:34:52.7050 +0700 OS Version: iPhone OS 13.5.1 (17F80) Release Type: User Baseband Version: n/a Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, can't resolve symbol _$s8RoomPlan0A14CaptureSessionC13ConfigurationVMa in /private/var/containers/Bundle/Application/15CC2737-2FFD-4A17-A111-A2DB7A6838E0/xxxxxxx.app/xxxxxxx because dependent dylib #40 could not be loaded Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 dyld 0x0000000105ea8f68 __abort_with_payload + 8 1 dyld 0x0000000105eafee8 abort_with_payload_wrapper_internal + 100 (terminate_with_reason.c:102) 2 dyld 0x0000000105eaff18 abort_with_payload + 12 (terminate_with_reason.c:124) 3 dyld 0x0000000105ead13c dyld::halt(char const*) + 384 (dyld2.cpp:4240) 4 dyld 0x0000000105e607fc dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 168 (dyld2.cpp:4328) 5 libdyld.dylib 0x00000001b1482398 dyld_stub_binder + 60 6 xxxxxxx 0x000000010475cc38 type metadata completion function for RoomPlanCaptureViewController + 60 (<compiler-generated>:0) 7 libswiftCore.dylib 0x00000001bedcf76c swift_getSingletonMetadata + 956 (MetadataCache.h:920) 8 xxxxxxx 0x000000010475a540 type metadata accessor for RoomPlanCaptureViewController + 48 (<compiler-generated>:0) 9 libobjc.A.dylib 0x00000001b13ab958 realizeAllClasses() + 112 (objc-runtime-new.mm:2840) 10 libobjc.A.dylib 0x00000001b13ae6dc objc_getClassList + 92 (objc-runtime-new.mm:5013) . . 14 dyld 0x0000000105e732c4 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 428 (ImageLoaderMachO.cpp:2427) 15 dyld 0x0000000105e736b0 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 52 (ImageLoaderMachO.cpp:2524) 16 dyld 0x0000000105e6e0f0 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 536 (ImageLoader.cpp:1621) 17 dyld 0x0000000105e6c520 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 184 (ImageLoader.cpp:605) 18 dyld 0x0000000105e6c5e8 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 92 (ImageLoader.cpp:620) 19 dyld 0x0000000105e61a64 dyld::runInitializers(ImageLoader*) + 88 (dyld2.cpp:4923) 20 dyld 0x0000000105e687b8 dlopen_internal + 832 (dyldAPIs.cpp:1761) 21 libdyld.dylib 0x00000001b1483a08 dlopen + 172 (dyldAPIsInLibSystem.cpp:1545) . . . 30 dyld 0x0000000105e732c4 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 428 (ImageLoaderMachO.cpp:2427) 31 dyld 0x0000000105e736b0 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 52 (ImageLoaderMachO.cpp:2524) 32 dyld 0x0000000105e6e0f0 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 536 (ImageLoader.cpp:1621) . . 36 dyld 0x0000000105e687b8 dlopen_internal + 832 (dyldAPIs.cpp:1761) 37 libdyld.dylib 0x00000001b1483a08 dlopen + 172 (dyldAPIsInLibSystem.cpp:1545) 38 substitute-inserter.dylib 0x0000000106019284 0x105f3c000 + 905860 39 substitute-inserter.dylib 0x0000000106326ac0 0x105f3c000 + 4106944 40 substitute-inserter.dylib 0x00000001062e7980 0x105f3c000 + 3848576 41 dyld 0x0000000105e732c4 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 428 (ImageLoaderMachO.cpp:2427) 42 dyld 0x0000000105e736b0 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 52 (ImageLoaderMachO.cpp:2524) 43 dyld 0x0000000105e6e0f0 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 536 (ImageLoader.cpp:1621) 44 dyld 0x0000000105e6c520 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 184 (ImageLoader.cpp:605) 45 dyld 0x0000000105e6c5e8 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 92 (ImageLoader.cpp:620) 46 dyld 0x0000000105e5e608 dyld::initializeMainExecutable() + 136 (dyld2.cpp:1569) 47 dyld 0x0000000105e62eb0 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 4400 (dyld2.cpp:6989) 48 dyld 0x0000000105e5d208 dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 396 (dyldInitialization.cpp:145) 49 dyld 0x0000000105e5d038 _dyld_start + 56 by framework is weakly linked Load command 53 cmd LC_LOAD_WEAK_DYLIB cmdsize 80 name /System/Library/Frameworks/RoomPlan.framework/RoomPlan (offset 24) time stamp 2 Thu Jan 1 03:00:02 1970 current version 1.0.0 compatibility version 1.0.0
5
0
984
Aug ’23
Debugging Big Sur kernel on inter-based macbook from Monterey on m1
HI devs, help me please, i want to debug Big Sur kernel on inter-based macbook from Monterey on m1, i have installed KDK_11.6.4_20G417.kdk in Monterey system on m1 macmini, then launch lldb, have created target and got this message : WARNING! Python version 3 is not supported for xnu lldbmacros. (lldb) target create /Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel warning: 'kernel' contains a debug script. To run this script in this debug session:   command script import "/Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/Python/kernel.py" To run all discovered debug scripts in this session:   settings set target.load-script-from-symbol-file true Current executable set to '/Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel' (x86_64). (lldb) settings set target.load-script-from-symbol-file true ############################## WARNING! Python version 3 is not supported for xnu lldbmacros. Please restart your debugging session with the following workaround defaults write com.apple.dt.lldb DefaultPythonVersion 2 ############################## Loading kernel debugging from /Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/Python/kernel.py LLDB version lldb-1300.0.42.3 Swift version 5.5.2-dev settings set target.process.python-os-plugin-path "/Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/Python/lldbmacros/core/operating_system.py" settings set target.trap-handler-names hndl_allintrs hndl_alltraps trap_from_kernel hndl_double_fault hndl_machine_check _fleh_prefabt _ExceptionVectorsBase _ExceptionVectorsTable _fleh_undef _fleh_dataabt _fleh_irq _fleh_decirq _fleh_fiq_generic _fleh_dec command script import "/Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/Python/lldbmacros/xnu.py" error: module importing failed: Traceback (most recent call last):  File "<string>", line 1, in <module>  File "/Library/Developer/KDKs/KDK_11.6.4_20G417.kdk/System/Library/Kernels/kernel.dSYM/Contents/Resources/Python/lldbmacros/xnu.py", line 123   print "Execution interrupted by user"      ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Execution interrupted by user")? settings set target.process.optimization-warnings false How can i solve this problem? lldb linked with python 3, but kdk uses python 2, also command line tools version 12.5.1 which uses python 2 i can not install on monterey too.
4
0
2.5k
Feb ’22
[_UITableViewDragController beginDragForTentativeRows] crashes with exception
Hello, apple devs. Drag and Drop from UITableView causes crash with exception message "_UITableViewDragController internal inconsistency: tentativeIndexPaths cannot be empty in %@". Can you fix this problem of inconsistency in feature release? Here is disassebled code of [_UITableViewDragController beginDragForTentativeRows] function __text:0000000000DF110C LDR X1, [X8,#0x6F8] __text:0000000000DF1110 STR X0, [SP] __text:0000000000DF1114 ADRL X4, cfstr_Uitableviewdra ; "_UITableViewDragController.m" __text:0000000000DF111C ADRL X6, cfstr_Uitableviewdra_2 ; "_UITableViewDragController internal inconsistency: tentativeIndexPaths cannot be empty in %@" __text:0000000000DF1124 MOV X0, X21 __text:0000000000DF1128 MOV X2, X20 __text:0000000000DF112C MOV X3, X19 __text:0000000000DF1130 MOV W5, #0xF1 __text:0000000000DF1134 BL _objc_msgSend Date/Time: 2021-10-21 22:46:25.8983 +0200 Launch Time: 2021-10-15 15:39:29.9331 +0200 OS Version: iPhone OS 15.0 (19A346) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x18322905c __exceptionPreprocess + 220 (NSException.m:200) 1 libobjc.A.dylib 0x19b743f54 objc_exception_throw + 60 (objc-exception.mm:565) 2 Foundation 0x184aea99c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 200 (NSException.m:242) 3 UIKitCore 0x1866c1ed4 -[_UITableViewDragController beginDragForTentativeRows] + 580 (_UITableViewDragController.m:241) 4 UIKitCore 0x1866c2168 -[_UITableViewDragController beginDragOfRowsForSession:notifyDelegate:] + 56 (_UITableViewDragController.m:251) 5 UIKitCore 0x1866c3124 -[_UITableViewDragController dragInteraction:sessionWillBegin:] + 84 (_UITableViewDragController.m:397) 6 UIKitCore 0x186053768 -[UIDragInteraction _sessionHandedOffDragImage:] + 116 (UIDragInteraction.m:1167) 7 UIKitCore 0x186066c88 -[_UIDragSessionImpl _draggingSessionHandedOffDragImage:] + 48 (UIDragSession.m:304) 8 UIKitCore 0x186076524 -[_UIInternalDraggingSessionSource _sendHandedOffDragImage] + 124 (UIDragging.m:1155) 9 UIKitCore 0x186074930 __94-[_UIInternalDraggingSessionSource _sendDragPreviewReplyWithIndexSet:dragPreviews:completion:]_block_invoke + 188 (UIDragging.m:808) 10 UIKitCore 0x185966db4 -[_UIAfterCACommitBlock run] + 72 (_UIAfterCACommitQueue.m:137) 11 UIKitCore 0x185877fe0 -[_UIAfterCACommitQueue flush] + 200 (_UIAfterCACommitQueue.m:228) 12 libdispatch.dylib 0x182e99c04 _dispatch_call_block_and_release + 32 (init.c:1516) 13 libdispatch.dylib 0x182e9b950 _dispatch_client_callout + 20 (object.m:560) 14 libdispatch.dylib 0x182ea9d30 _dispatch_main_queue_callback_4CF + 940 (inline_internal.h:2597) 15 CoreFoundation 0x1831e1ce4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795) 16 CoreFoundation 0x18319bebc __CFRunLoopRun + 2540 (CFRunLoop.c:3144) 17 CoreFoundation 0x1831af3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 18 GraphicsServices 0x19e9c038c GSEventRunModal + 164 (GSEvent.c:2200) 19 UIKitCore 0x185b550bc -[UIApplication _run] + 1100 (UIApplication.m:3457) 20 UIKitCore 0x1858d2be8 UIApplicationMain + 2124 (UIApplication.m:5013) 21 Live Home 3D 0x100eeca34 main + 96 (main.m:24) 22 dyld 0x10281da24 start + 520 (dyldMain.cpp:876) Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001b90269c4 __pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001f255f434 pthread_kill + 268 (pthread.c:1609) 2 libsystem_c.dylib 0x000000018e024f64 abort + 164 (abort.c:118) 3 libc++abi.dylib 0x000000019b84bbc4 abort_message + 132 (abort_message.cpp:78) 4 libc++abi.dylib 0x000000019b83cfd8 demangling_terminate_handler() + 332 (cxa_default_handlers.cpp:71) 5 libobjc.A.dylib 0x000000019b74a064 _objc_terminate() + 144 (objc-exception.mm:701) 6 libc++abi.dylib 0x000000019b84af58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59) 7 libc++abi.dylib 0x000000019b84aef4 std::terminate() + 64 (cxa_handlers.cpp:88) 8 libdispatch.dylib 0x0000000182e9b964 _dispatch_client_callout + 40 (object.m:563) 9 libdispatch.dylib 0x0000000182ea9d30 _dispatch_main_queue_callback_4CF + 940 (inline_internal.h:2597) 10 CoreFoundation 0x00000001831e1ce4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1795) 11 CoreFoundation 0x000000018319bebc __CFRunLoopRun + 2540 (CFRunLoop.c:3144) 12 CoreFoundation 0x00000001831af3c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 13 GraphicsServices 0x000000019e9c038c GSEventRunModal + 164 (GSEvent.c:2200) 14 UIKitCore 0x0000000185b550bc -[UIApplication _run] + 1100 (UIApplication.m:3457) 15 UIKitCore 0x00000001858d2be8 UIApplicationMain + 2124 (UIApplication.m:5013) 16 Live Home 3D 0x0000000100eeca34 main + 96 (main.m:24) 17 dyld
0
1
579
Nov ’21
[SKProductStorePromotionController updateStorePromotionVisibility:forProduct:completionHandler:]_block_invoke crashes with exception
Hello, apple devs. When I call [SKProductStorePromotionController updateStorePromotionVisibility:forProduct:completionHandler:] with completion handler my program crashes with obj-c exception. Can you fix this problem in feature releases? Date/Time: 2021-10-30 11:15:01.6092 +0900 Launch Time: 2021-10-30 11:15:00.4154 +0900 OS Version: iPhone OS 14.7.1 (18G82) Release Type: User Baseband Version: 2.05.01 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 3 Last Exception Backtrace: 0 CoreFoundation 0x1970e2708 __exceptionPreprocess + 220 (NSException.m:199) 1 libobjc.A.dylib 0x1abbec7a8 objc_exception_throw + 60 (objc-exception.mm:565) 2 CoreFoundation 0x196fe5bfc -[NSObject(NSObject) doesNotRecognizeSelector:] + 144 (NSObject.m:146) 3 CoreFoundation 0x1970e5260 ___forwarding___ + 1444 (NSForwarding.m:3651) 4 CoreFoundation 0x1970e7560 _CF_forwarding_prep_0 + 96 5 StoreKit 0x1b51afe5c _SKErrorFromNSError + 48 (SKError.m:22) 6 StoreKit 0x1b51ca788 __97-[SKProductStorePromotionController updateStorePromotionVisibility:forProduct:completionHandler:]_block_invoke + 56 (SKProductStorePromotionController.m:96) 7 StoreKit 0x1b51af6c0 __50-[SKPromotedIAPSetVisibilityRequest _handleReply:]_block_invoke + 64 (SKPromotedIAPSetVisibilityRequest.m:56) 8 libdispatch.dylib 0x196ccda84 _dispatch_call_block_and_release + 32 (init.c:1466) 9 libdispatch.dylib 0x196ccf81c _dispatch_client_callout + 20 (object.m:559) 10 libdispatch.dylib 0x196cd2968 _dispatch_queue_override_invoke + 756 (inline_internal.h:2557) 11 libdispatch.dylib 0x196ce0fe0 _dispatch_root_queue_drain + 388 (inline_internal.h:2598) 12 libdispatch.dylib 0x196ce17d8 _dispatch_worker_thread2 + 112 (queue.c:6765) 13 libsystem_pthread.dylib 0x1e2d52768 _pthread_wqthread + 216 (pthread.c:2449) 14 libsystem_pthread.dylib 0x1e2d5974c start_wqthread + 8
2
0
725
Nov ’21
VM - Compressor failed a blocking pager_get
Hallo. Can anyone explain me what means "VM - Compressor failed a blocking pager_get" in crash log? Date/Time: 2021-08-08 05:45:03.7625 -0500 Launch Time: 2021-08-08 04:52:53.1849 -0500 OS Version: iPhone OS 15.0 (19A5307g) Release Type: Beta Baseband Version: 2.50.05 Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get Thread 0 name: Thread 0 Crashed: 0 libsystem_kernel.dylib 0x00000001bcb519d0 __pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001f5ace388 0x1f5ac7000 + 29576 2 libsystem_c.dylib 0x0000000191cb4cf0 abort + 164 (abort.c:118) 3 libc++abi.dylib 0x000000019f4d9bc4 abort_message + 132 (abort_message.cpp:78) 4 libc++abi.dylib 0x000000019f4cafc0 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:66) 5 libobjc.A.dylib 0x000000019f3d7f84 _objc_terminate() + 160 (objc-exception.mm:704) 6 libc++abi.dylib 0x000000019f4d8f58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59) 7 libc++abi.dylib 0x000000019f4dbefc __cxa_rethrow + 148 (cxa_exception.cpp:616) 8 libobjc.A.dylib 0x000000019f3d3d1c objc_exception_rethrow + 44 (objc-exception.mm:604) 9 CoreFoundation 0x00000001869d2e94 CFRunLoopRunSpecific + 836 (CFRunLoop.c:3283) 10 GraphicsServices 0x00000001a26cd38c GSEventRunModal + 164 (GSEvent.c:2200) 11 UIKitCore 0x0000000189350f78 -[UIApplication _run] + 1100 (UIApplication.m:3442) 12 UIKitCore 0x00000001890ccff4 UIApplicationMain + 2208 (UIApplication.m:4992) 13 <AppName> 0x00000001007cebc4 main + 96 (main.m:24) 14 dyld 0x00000001022059e4 start + 520 (dyldMain.cpp:876)
1
1
4.1k
Aug ’21
Hiding in-app promotions in appstore does not work
Hello devs, I am trying to hide in-app promotions which was successfully bought with calling function [[SKProductStorePromotionController defaultController] updateStorePromotionVisibility:SKProductStorePromotionVisibilityHide forProduct:skproduct completionHandler:^(NSError * Nullable error) { if(error) NSLog(@"Error: can't hide promotion with error code: %ld, error description: %@ for product Id: %@ :", (long)error.code, error.description, productId); else NSLog(@"Product %@ was successfully hidden", productId); }]; After that I check the result with calling [[SKProductStorePromotionController defaultController] fetchStorePromotionVisibilityForProduct:product.skproduct completionHandler:^(SKProductStorePromotionVisibility storePromotionVisibility, NSError * Nullable error) {}]; The result is as I expected, promo is hidden by result of the function, but in AppStore it is not hidden but marked as purchased. Can some body explain me what i am doing wrong?
0
0
451
Jun ’20
Block leaking after Drag and Drop on iOs 13.4.1
Hello developers, I recently faced a problem with leaking std::shared_ptr object captured in block after Drag and Drop on iOs 13.4.1. To investigate this problem I made simple application based on MasterDetail template, adopt master table view and detail view for drag and drop, i used this functions of NSItemProvider :- (void)registerDataRepresentationForTypeIdentifier:(NSString *)typeIdentifier visibility:(NSItemProviderRepresentationVisibility)visibility loadHandler:(NSProgress * _Nullable (^)(void (^completionHandler)(NSData * _Nullable data, NSError * _Nullable error)))loadHandlerand this one- (NSProgress *)loadDataRepresentationForTypeIdentifier:(NSString *)typeIdentifier completionHandler:(void(^)(NSData * _Nullable data, NSError * _Nullable error))completionHandlerSo after all I rut it on simulator on iOs 13.5, on real device with iOs 13.4.1 and iOs 12.4.1.I saw that on real device with iOs 13.4.1 only the block uses in function loadDataRepresentationForTypeIdentifier was not destroyed with my std::shared_ptr object captured in this block. on simulator and on real device with iOs 12.4.1 this block was destroyed. I have used memory graph to see what objects hold this block and my shared object, finally I realised there is a cycle of internal blocks refered to each other.Here is the link to the MasterDetail project with the Drag and Drop, run it on iPad only to check drag and drop, on iPhone you cann't drop on detail view because master view covers detail view.https://www.dropbox.com/s/svsf1vf8ly50n04/MasterDetail.zip?dl=0Can anyone help me to solve this problem or this is proble of iOs 13.4.1?
4
0
957
May ’20