Questions tagged [dsymutil]
20 questions
16
votes
4 answers
where/how does Apples GCC store DWARF inside an executable
Where/how does Apples GCC store DWARF inside an executable?
I compiled a binary via gcc -gdwarf-2 (Apples GCC). However, neither objdump -g nor objdump -h does show me any debug information.
Also libbfd does not find any debug information. (I asked…

Albert
- 65,406
- 61
- 242
- 386
13
votes
5 answers
What do these Dsymutil Warnings mean in XCode 4.5?
I am linking a static framework for iOS, against an armv7 ios 6 application, I suspect that the original binaries are from XCode 3.x and were compiled with GCC, and that I'm now linking it using CLang compiler. I do not have the source code for the…

Warren P
- 65,725
- 40
- 181
- 316
11
votes
4 answers
GenerateDSYMFile: dsymutil fails with exit code 11
I upgraded from MacOS X 10.6 (Snow Leopard) to 10.7 (Lion) this morning, and also from Xcode 4.2 to Xcode 4.3.2. Perhaps more importantly, that means that I'm now building my project against the iOS 5.1 SDK instead of 5.0. That's a lot of changes,…

Caleb
- 124,013
- 19
- 183
- 272
6
votes
1 answer
Dsymutil warning "no debug symbols in executable"
I am working on eliminating warnings for an iOS program in Xcode by fixing the problems causing the warnings as much as possible. Thankfully, I have been mostly successful at this, but I have two warnings which refuse to go away: I get a report of…

אהרן אדלמן
- 399
- 3
- 10
4
votes
0 answers
Xcode: "no debug symbols in executable" for repeated Release build with Deployment Postprocessing
The Problem
When I repeatedly build release in Xcode, the resulting dSYM is completely empty and so the debugger can't show anything.
I've been able to reproduce this with a minimal project as follows in Xcode 11.3.1:
File -> New Project (macOS,…

Tobi
- 2,591
- 15
- 34
4
votes
1 answer
Point cloud library apps difficult to debug, possibly due to threading?
I'm using the Point Cloud Library with cmake for compilation, and I've got it building in debug mode, but my program doesn't seg fault or abort in the way I'd expect it to.
Specifically, I get messages like this:
(gdb) run bunny
Starting program:…

Translunar
- 3,739
- 33
- 55
3
votes
1 answer
How to debug dsymutil error: "Clang modules are expected to have exactly 1 compile unit."
Received this error message during GenerateDSYMFile phase for an iOS app:
/Users/name/Library/Developer/Xcode/DerivedData/ModuleCache/HASH/FrameworkName-HASH:
Clang modules are expected to have exactly 1 compile unit.
Command…

alfwatt
- 2,010
- 2
- 18
- 29
2
votes
5 answers
How to fix dsymutil in Xamarin
I am trying to build the iOS App on a real device but unfortunately I get hit by a
dsymutil exited with code 1
Things I did:
I did search google but it says my Harddisk is full which is not the
case.
I did try to clean and build multiple times -…

Noob Coder
- 444
- 1
- 5
- 16
2
votes
0 answers
Linking error with cocoapods on simulator and device: Dsymutil
I have a project that recently, inexplicably stopped being able to run on both the simulator and the device. Everything compiles normally but there are two linker errors that occur.
The first is a lipo…

Mason
- 6,893
- 15
- 71
- 115
2
votes
1 answer
Terminal MacOS Fastlane/Gym/xcodebuild Error 65: GenerateDSYMFile, dsymutil malloc: pointer being freed was not allocated
I'm trying to make an little bash script for automatisation of ipa uploading on itunes. [From Xcode uploading it works fine].
For command:
gym
from Fastlane,some projects are uploading fine, others are failing with log:
The following build…

CheshireKat
- 463
- 3
- 9
2
votes
1 answer
Apple Dsymutil Error "Unable to Open Executable"
I have an app that has been working perfectly, and without changing anything (so I think) it suddenly refuses to build and gives me this error:
error: unable to open executable…

woakley5
- 304
- 3
- 17
2
votes
1 answer
Most binaries compiled for Qt 5.3.2 are built without debugging info
I'm trying to build release version of Qt 5.3.2 with debugging info which I later dump using dsymutil.
Here is the configuration summary used to build Qt:
Configure summary
Build type: macx-clang (x86_64, CPU features: cx16 mmx sse sse2 sse3…

Kentzo
- 3,881
- 29
- 54
1
vote
2 answers
getting xcode dsymutil warning
I am getting the dsymutil warning as follow:
Can somebody tell me how to fix this? thank you i'm new to Xcode
Update

H. Lamb
- 299
- 1
- 5
- 15
1
vote
1 answer
dsymutil missing compiling GNU bash on iOS
I'm trying to compile GNU bash 4.3.30 on (and for) my iPad 2, iOS 8.4 using Clang, ld64, cctools, GNU make and the iOS 8.1 SDK. When processing bashversion, Clang is "unable to execute dsymutil", and reports that it "doesn't exist", exiting with…

osvein
- 625
- 2
- 10
- 31
1
vote
1 answer
how can I get the `__NSAutoreleaseNoPool` address?
I tried with
extern void __NSAutoreleaseNoPool(void* obj);
but that results in an unresolved symbol when linking (not sure what Framework it needs, though).
I also tried
dlsym(RTLD_DEFAULT, "__NSAutoreleaseNoPool")
but that just gives be NULL.
And…

Albert
- 65,406
- 61
- 242
- 386