Post not yet marked as solved
Hello,
Having a bit of an issue with my application since updating to Xcode 13. Whenever I try to run on a Simulator, I get a signal SIGARBT error. I have done a backtrace and get the following output:
* frame #0: 0x0000000202a4d0ce dyld`__abort_with_payload + 10
frame #1: 0x0000000202a631cf dyld`abort_with_payload_wrapper_internal + 80
frame #2: 0x0000000202a63201 dyld`abort_with_payload + 9
frame #3: 0x000000010b0d0060 dyld_sim`abort_with_payload + 26
frame #4: 0x000000010b09008b dyld_sim`dyld4::halt(char const*) + 375
frame #5: 0x000000010b08cb15 dyld_sim`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2807
frame #6: 0x000000010b08cd3f dyld_sim`_dyld_sim_prepare + 379
frame #7: 0x0000000202a0db24 dyld`dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1265
frame #8: 0x0000000202a0c6de dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
frame #9: 0x0000000202a0c4b4 dyld`start + 388
The project is building fine, when I run the application on my iPhone device it is also running fine, although I have left my phone on iOS 14. Too nervous to update it as that is the only way I can develop at the moment.
I have the following specs:
Macbook Air M1
macOS Monterey v12.0.1
Xcode 13.1
I downgraded to Xcode 12 last week and it continued to run fine on the simulator, as it did before, I have since re-updated to Xcode 13 as I need to get it working with iOS 15, but cannot get it to run on the simulator.
I have done all of the arm64 exclusion on the project, as I needed to do that in order to get it working on Xcode 12 with the M1.
Has anyone else experienced this? Does anyone understand the backtrace better than I do?
Many thanks in advance!
Post not yet marked as solved
Showing All Messages
On-Demand Resources is enabled (ENABLE_ON_DEMAND_RESOURCES = YES), but is not supported for framework targets
This is the error is just have to say that this project is a game made in unity.
Thanks
Post not yet marked as solved
Process: Origin [17077]
Path: /Users/USER/Desktop/Origin.app/Contents/MacOS/Origin
Identifier: com.ea.Origin
Version: ???
Code Type: X86-64 (Translated)
Parent Process: ??? [1]
Responsible: Origin [17077]
User ID: 501
Post not yet marked as solved
Hi!
I am trying to build a Flutter project, but I keep getting this message :
Target Support Files/GoogleUserMessagingPlatform/GoogleUserMessagingPlatform-xcframeworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
I tried pod init / pod install / etc. but I get messages there like
_ [!] No Xcode project found, please specify one
_
Post not yet marked as solved
There are two scenarios when the main thread gets deadlocked in the app. One of them happens on incoming call, facilitated by CallKit. Can anyone make any sense from this thread backtrace?
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00000001bba510e8 libsystem_kernel.dylib`__semwait_signal + 8
frame #1: 0x000000018c9a28ac libsystem_c.dylib`nanosleep + 212
frame #2: 0x000000019968ef4c libc++.1.dylib`std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 80
frame #3: 0x0000000199ee0bcc libAudioToolboxUtility.dylib`caulk::concurrent::guarded_lookup_hash_table<unsigned int, BaseOpaqueObject*, (caulk::concurrent::guarded_lookup_hash_table_options)0>::remove(unsigned int) + 180
frame #4: 0x0000000199ee3bdc libAudioToolboxUtility.dylib`BaseOpaqueObject::~BaseOpaqueObject() + 48
frame #5: 0x00000001c001a440 libEmbeddedSystemAUs.dylib`AURemoteIO::~AURemoteIO() + 264
frame #6: 0x00000001c00238d0 libEmbeddedSystemAUs.dylib`ausdk::ComponentBase::AP_Close(void*) + 64
frame #7: 0x000000019406e354 AudioToolboxCore`AudioComponentInstanceDispose + 60
frame #8: 0x00000001159abba0 UnityFramework`FMOD::OutputCoreAudio::reset(bool, bool) + 472
frame #9: 0x0000000183c685f8 Foundation`-[__NSObserver _doit:] + 316
frame #10: 0x0000000182518c5c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
frame #11: 0x00000001825ad564 CoreFoundation`___CFXRegistrationPost_block_invoke + 48
frame #12: 0x0000000182582b44 CoreFoundation`_CFXRegistrationPost + 416
frame #13: 0x000000018252d764 CoreFoundation`_CFXNotificationPost + 696
frame #14: 0x0000000183c4ec98 Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 92
frame #15: 0x000000018b06d66c AudioSession`-[AVAudioSession privateInterruptionWithInfo:] + 1892
frame #16: 0x000000018b06e2e4 AudioSession`invocation function for block in avfaudio::AVAudioSessionPropertyListener(void*, unsigned int, unsigned int, void const*) + 52
frame #17: 0x000000018224d2ec libdispatch.dylib`_dispatch_call_block_and_release + 24
frame #18: 0x000000018224e2f0 libdispatch.dylib`_dispatch_client_callout + 16
frame #19: 0x000000018222f6a4 libdispatch.dylib`_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 904
frame #20: 0x000000018253d7f8 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
frame #21: 0x00000001824fb0f8 CoreFoundation`__CFRunLoopRun + 2528
frame #22: 0x000000018250dd8c CoreFoundation`CFRunLoopRunSpecific + 572
frame #23: 0x000000019c61a9a0 GraphicsServices`GSEventRunModal + 160
frame #24: 0x0000000184d42fa8 UIKitCore`-[UIApplication _run] + 1080
frame #25: 0x0000000184ad722c UIKitCore`UIApplicationMain + 2060
frame #26: 0x0000000114043928 UnityFramework`-[UnityFramework runUIApplicationMainWithArgc:argv:] + 108
frame #27: 0x0000000100ee0024 Kinoo`main(argc=<unavailable>, argv=<unavailable>) at main.mm:26:9 [opt]
frame #28: 0x0000000101518190 dyld`start + 444
Post not yet marked as solved
Translated Report (Full Report Below)
Process: Xcode [1095]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.1 (19466)
Build Info: IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID: 497799835
App External ID: 844664792
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-11-15 13:41:31.2832 +0530
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Bridge OS Version: 6.0 (19P548)
Anonymous UUID: 2260F7E0-4F63-D410-DEEF-87EDB6E09FB5
Time Awake Since Boot: 1000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process: exc handler [1095]
Application Specific Information:
Crashing on exception: -[__NSArrayM dvt_literalValueOfCommonString]: unrecognized selector sent to instance 0x7f7f436a69d0
ProductBuildVersion: 13A1030d
Possibly stale failure hints from 2021-11-15 08:11:31 +0000:
0: Replacement view is installing: <Xcode3TargetEditor: 0x7f7f37c83230 representing: (null)>
1: DVTSplitView
2: Xcode3ProjectEditorContentView
3: DVTControllerContentView_ControlledBy_Xcode3ProjectEditor
4: NSView
5: IDEEditorContainerViewControllerView
6: _NSSplitViewItemViewWrapper
7: _IDEEditorContextSplitView
8: NSView
9: IDEEditorContextClipView
10: DVTControllerContentView_ControlledBy_IDEEditorContext
11: DVTControllerContentView_ControlledBy_IDEEditorBasicMode
12: NSView
13: IDEEditorAreaSplitView
14: DVTControllerContentView_ControlledBy_IDEEditorAreaSplit
15: DVTReplacementView
16: IDEEditorSplitView
17: DVTControllerContentView_ControlledBy_IDEEditorMultipleSplit
18: NSView
19: IDEEditorAreaContainer
20: DVTSplitView
21: NSView
22: DVTControllerContentView_ControlledBy_IDEEditorArea
23: _NSSplitViewItemViewWrapper
24: IDEWorkspaceDesignAreaSplitView
25: NSView
26: DVTControllerContentView_ControlledBy_IDEWorkspaceTabController
27: NSThemeFrame
28: Consider running with:
defaults write com.apple.dt.Xcode DVTEnableStructureLayoutCycleDetection YES
To workaround infinite layout crashes under this backtrace.
Post not yet marked as solved
Since ios15 was released, we got massive crashes on the Home page. it's not sure related to GCD or something else. and we difficult to reproduce this issue. the Home is the first page that will appear after spashscreen.
Here is a sample stack crash at the top one.
crash top one
Post not yet marked as solved
Hello Developers,
I am using Xcode(Rosetta Enabled) in macBook Air (2020) with M1 Chip.
I am facing an issue with Xcode 13.1 in macOS 12.0.1
whenever I run my project in my device first time it's running successfully but when i do some changes in code and re run the project then it's not responding at all.
I need to force quit and re open the xcode do all stuff.
I am facing this is issue with my project only..for all other projects Xcode working fine and seamless
So I am not understanding what is the issue with my project
So If anybody face similar issue please help me
Thank you
Post not yet marked as solved
Hello Developers,
I am using Xcode(Rosetta Enabled) in macBook Air (2020) with M1 Chip.
I am facing an issue with Xcode 13.1 in macOS 12.0.1
whenever I run my project in my device first time it's running successfully but when i do some changes in code and re run the project then it's not responding at all. I need to force quit and re open the xcode do all stuff.
I am facing this is issue with my project only..for all other projects Xcode working fine and seamless
So I am not understanding what is the issue with my project
So If anybody face similar issue please help me
Thank you
Report
Post not yet marked as solved
Following the page
MallocDebug
After Enable Malloc Scribble,
free buffer will be set to 0x55,
malloc buffer will be set to 0xAA.
would I change 0x55 and 0xAA to another value ? e.g 0xFF ?
Post not yet marked as solved
I have an interesting crash case that basically just points the finger into one method. NodeFactory.appendChildren()
This method is parsing results from getattrlistbulk()
and uses some code excerpts from the following developer discussion Getting inode number from URL
The entire app has been using swift for the least couple of years and slowly evolving to use less and less C/Objective-C
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [3386]
...
Thread 8 Crashed:: Dispatch queue: NSOperationQueue 0x7f83aa104920 (QOS: USER_INTERACTIVE)
0 com.bla.myapp 0x000000010f5bd8f0 NodeFactory.appendChildren(_:_:_:_:_:) + 4544
1 com.bla.myapp 0x000000010f5bf15b NodeFactory.fetchChildren(_:) + 1163
2 com.bla.myapp 0x000000010f5bf9ca NodeFactory.fetch(nodeEntry:) + 90
3 com.bla.myapp 0x000000010f5c041f partial apply for closure #3 in NodeFactory.fetch(nodeEntry:) + 127
4 com.bla.myapp 0x000000010f5505fe thunk for @escaping @callee_guaranteed () -&gt; () + 14
5 com.apple.Foundation 0x00007fff33b72ac5 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
6 com.apple.Foundation 0x00007fff33b729e6 -[NSBlockOperation main] + 80
7 com.apple.Foundation 0x00007fff33b72981 __NSOPERATION_IS_INVOKING_MAIN__ + 17
8 com.apple.Foundation 0x00007fff33b71bb3 -[NSOperation start] + 722
A more seasoned programmer might see a bug in the body of the appendChildren(). However I'm interested in tips/flags to Xcode Settings so that apple's crash reporter is able to collect and provide more clues in the crash report.
The current Xcode has:
Debug Information Format = DWARF
Strip Debug Symbols = NO
Optimization Level = Fastest
Thank you.
Post not yet marked as solved
Anyone knows what's going on with Xcode 13.1? after upgrading to Xcode 13.1, it runs extremely slow, especially when I type code, roughly 5 times slower, I need to type and wait for the letters to pop up one by one (literally one by one popping).
BTW, performance of compiling doesn't drop much, only the performance of editing drops, that is why this is especially unacceptable .
My OS is Big Sur which has been upgraded for a while. and my Mac is pretty new (5 month? ) with 16 GB memory, 8 core i9, 1T SSD. So the hardware is not so bad at all.
thanks
Post not yet marked as solved
Target Platform: iphone xr
XCode: 12.4
After setting
"Enable Malloc Scribble"
"Malloc Guard Edges"
"Goard Malloc"
in Diagnostics and
"MallocCheckHeapEach=1"
"MallocCheckHeapSleep=100"
"MallocCheckHeapStart=100000"
in Environment Variables
Start up the app on iphone and I get the following information:
xxxx(1394,0x16f933000) malloc: *** MallocCheckHeap: FAILED check at operation #7444968
Stack for last operation where the malloc check succeeded: 0x1aefaed70 0x1aefa2f94 0x112f20540 0x1e904e76c 0x1e905a5e8 0x1e9054bf4 0x1e9035fc0 0x1b5ec57c4 0x112f216c0 0x112f25000 0x112f24e7c 0x1b5ec5268 0x1b5ed1348 0x1b5ed0e40 0x1a0b103f8 0x1a0b0e9a4 0x1a07a751c 0x1a0aef310 0x1a07afb74 0x1a07b6d38 0x1a0b1511c 0x1a0b12b28 0x1a02c2cc8 0x1a02bbac4 0x1a02bc7b0 0x1a0336028 0x1a02bb3c0 0x1a0336b60 0x1a0335344 0x1a03354c0 0x112f1fbcc 0x112f216c0 0x112f29354 0x112f2a0f4 0x112f2b5e4 0x112f36644 0x1e901c804 0x1e902375c
(Use 'atos' for a symbolic stack)
xxxx(1394,0x16f933000) malloc: *** Will sleep for 100 seconds to leave time to attach
xxxx(1394,0x16f933000) malloc: *** check: incorrect tiny region 44, counter=28255155
*** invariant broken for tiny block 0x13628fea0 this msize=0 - size is too small
xxxx(1394,0x16f933000) malloc: *** set a breakpoint in malloc_error_break to debug
xxxx(1394,0x16f933000) malloc: *** sleeping to help debug
Q.1 "Stack for last operation where the malloc check succeeded" means what ?
Q.2 the address is 'stack address' ? e.g 0x1aefaed70.
Following the hints "(Use 'atos' for a symbolic stack) ", I get nothing for 0x1aefaed70
$atos -o ./DerivedData/Build/Products/Debug-iphoneos/xxxx.app.dSYM/Contents/Resources/DWARF/xxxx -arch arm64 -l 0x10225c000 0x10225c000
0x0000000100000000 (in xxxx)
$atos -o ./DerivedData/Build/Products/Debug-iphoneos/xxxx.app.dSYM/Contents/Resources/DWARF/xxxx -arch arm64 -l 0x10225c000 0x1aefaed70
0x1aefaed70
(nothing)
0x10225c000 is load adress getting from AppDelegate after app start up.
uint32_t numImages = _dyld_image_count();
for (uint32_t i = 0; i < numImages; i++) {
const struct mach_header *header = _dyld_get_image_header(i);
const char *name = _dyld_get_image_name(i);
const char *p = strrchr(name, '/');
if (p && (strcmp(p + 1, "xxxx") == 0 || strcmp(p + 1, "libXxx.dylib") == 0)) {
NSLog(@"module=%s, address=%p", p + 1, header);
}
}
```
Post not yet marked as solved
Updated the app with the new size screenshots but not able to see the screenshot for the app.
Has anyone facing issues with app screenshots not showing on 12 series phones?
Thanks for the reply
Post not yet marked as solved
this error keeps popping up and i’m wondering how to clear space on my device
Post not yet marked as solved
I noticed a difference in NSDataDetector's behaviour between Xcode 12.5.1 and Xcode 13.1 when running my application's unit tests.
I extracted the relevant parts in this playground, and posted the different results in the repository's README. You can simply run this playground using different Xcode versions and see it for yourself:
https://github.com/vruzeda/NSDataDetector
I'm not 100% to the cause (if it's Xcode 13, iOS 15 SDK, or anything else). I'm running the exact same code in the same Mac (running Big Sur 11.6.1), the "only" variable I changed were Xcode versions.
Is this an expected change? Or is this a system bug?
Thanks!
Post not yet marked as solved
Hello,
A made my project suitable for iPad en iPhone. They both have there own storyboard but do uses the same View Controller.
I check on load which device is used and load to proper storyboard. I check the type of device also inside the View Controle to get the wanted result.
This works perfectly on every simulator on my Mac and on my iPad Air 2, iPhone 7 and on my wife's iPhone SE gen2.
But on my own iPhone Se gen2, I get an error:
All the IBoutlet's that are used in the iPhone storyboard are nil.
I did several reboot's, deletions of the app, etc. I also made sure that every device, Xcode and Mac OS is up-to-dat. But the error keeps coming every time.
I just can wrap my head around it. Why does it work on ever device or simulator and not on my iPhone?
Post not yet marked as solved
I'm coding with C in xCode and I built a project for my programs, suddently all my file's names became red and now I can't access to mains to modify them, but they build correctly and run without any problems. How do I fix this problem? Thank you for your response
Post not yet marked as solved
So basically I faced this error on Xcode 13.1 and tried building the 3.5 to 4.2 version but did not get built.
Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.5.1 compiler: /Users/Documents/Workspace/Project/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
Currently same error with
github "Hearst-DD/ObjectMapper" "3.5.3" to github "Hearst-DD/ObjectMapper" "4.2.0"
System: macOSBigSur: 11.6 (20G165)
Could anyone please help me on this?
I tried a couple of StackOverflow answers but does not seem to be working. Tried with NEW BUILD SYSTEM vs LEGACY BUILD SYSTEM.
and some options in build settings.
Post not yet marked as solved
Working through our app to get it setup to a newer iOS. Can't seem to figure out what to do with this error message:
Thread 1: EXC_BAD_ACCESS (code=2, address=0x7fff8647d5c8)
Appearing with this part of the code highlighted:
perform_rebinding_with_section(rebindings, sect, slide, symtab, strtab, indirect_symtab);
FULL CURRENT CODE:
static void rebind_symbols_for_image(struct rebindings_entry *rebindings,
const struct mach_header *header,
intptr_t slide) {
Dl_info info;
if (dladdr(header, &info) == 0) {
return;
}
segment_command_t *cur_seg_cmd;
segment_command_t *linkedit_segment = NULL;
struct symtab_command* symtab_cmd = NULL;
struct dysymtab_command* dysymtab_cmd = NULL;
uintptr_t cur = (uintptr_t)header + sizeof(mach_header_t);
for (uint i = 0; i < header->ncmds; i++, cur += cur_seg_cmd->cmdsize) {
cur_seg_cmd = (segment_command_t *)cur;
if (cur_seg_cmd->cmd == LC_SEGMENT_ARCH_DEPENDENT) {
if (strcmp(cur_seg_cmd->segname, SEG_LINKEDIT) == 0) {
linkedit_segment = cur_seg_cmd;
}
} else if (cur_seg_cmd->cmd == LC_SYMTAB) {
symtab_cmd = (struct symtab_command*)cur_seg_cmd;
} else if (cur_seg_cmd->cmd == LC_DYSYMTAB) {
dysymtab_cmd = (struct dysymtab_command*)cur_seg_cmd;
}
}
if (!symtab_cmd || !dysymtab_cmd || !linkedit_segment ||
!dysymtab_cmd->nindirectsyms) {
return;
}
// Find base symbol/string table addresses
uintptr_t linkedit_base = (uintptr_t)slide + linkedit_segment->vmaddr - linkedit_segment->fileoff;
nlist_t *symtab = (nlist_t *)(linkedit_base + symtab_cmd->symoff);
char *strtab = (char *)(linkedit_base + symtab_cmd->stroff);
// Get indirect symbol table (array of uint32_t indices into symbol table)
uint32_t *indirect_symtab = (uint32_t *)(linkedit_base + dysymtab_cmd->indirectsymoff);
cur = (uintptr_t)header + sizeof(mach_header_t);
for (uint i = 0; i < header->ncmds; i++, cur += cur_seg_cmd->cmdsize) {
cur_seg_cmd = (segment_command_t *)cur;
if (cur_seg_cmd->cmd == LC_SEGMENT_ARCH_DEPENDENT) {
if (strcmp(cur_seg_cmd->segname, SEG_DATA) != 0 &&
strcmp(cur_seg_cmd->segname, SEG_DATA_CONST) != 0) {
continue;
}
for (uint j = 0; j < cur_seg_cmd->nsects; j++) {
section_t *sect =
(section_t *)(cur + sizeof(segment_command_t)) + j;
if ((sect->flags & SECTION_TYPE) == S_LAZY_SYMBOL_POINTERS) {
perform_rebinding_with_section(rebindings, sect, slide, symtab, strtab, indirect_symtab);
}
if ((sect->flags & SECTION_TYPE) == S_NON_LAZY_SYMBOL_POINTERS) {
perform_rebinding_with_section(rebindings, sect, slide, symtab, strtab, indirect_symtab);
}
}
}
}
}