Hello guys and Apple team: I'm currently in a project with my XCode 15.0.1. My app runs well on my iPhoneX with iOS 16.7.2 and my iPad Air 5 with iPadOS 17.1.2. But I encountered EXC_BAD_ACCESS exception on my iPad Air (1gen) with iOS 12.5.7.
Let me attach the exception details image here:
The exception thread call stack list:
Thread 1 Queue : com.apple.main-thread (serial)
#0 0x00000001009c4058 in __llvm_profile_initialize_file [inlined] at /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/clang_compiler_rt/clang-1500.0.40.1/compiler-rt/lib/profile/InstrProfilingFile.c:1031
#1 0x00000001009c4050 in __llvm_profile_initialize at /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/clang_compiler_rt/clang-1500.0.40.1/compiler-rt/lib/profile/InstrProfilingFile.c:1055
#2 0x0000000100b310e0 in ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) ()
#3 0x0000000100b31314 in ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) ()
#4 0x0000000100b2c398 in ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) ()
#5 0x0000000100b2b3dc in ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) ()
#6 0x0000000100b2b498 in ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) ()
#7 0x0000000100b1a6d8 in dyld::initializeMainExecutable() ()
#8 0x0000000100b1f2a0 in dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) ()
#9 0x0000000100b19044 in _dyld_start ()
And here are the device XCode environment: My Mac Device: Mac Mini 2018 (Intel CPU) macOS version: 14.1.2 (23B92) XCode Version: 15.0.1 (15A507)
Since by now, part of our clients may still use the iOS12 device, so, does anybody here or the Apple team know that what happens here while running on iOS12 or above on XCode15.0.1? Thanks in advance.
And if more xcodeproj settings or libs dependency needed, please let me know/provide for better solve this issue we are facing. Thanks a lot.