Questions tagged [mach-o]

Executable file format utilized by Darwin.

Mach-O is the file format used for executables, shared libraries and object files on OS X and iOS. It supports both single-architecture and multiple-architecture ("fat") binaries.

371 questions
0
votes
1 answer

XCode Mach-O linker error

After upgrading to XCode 4.5 GM from XCode 4.3 + llvm 3.1, I start getting the following linker errors. I have verified that the static library where "_InvokeBridge" is defined is linked correctly. Any idea what might cause the error? Also, Are…
0
votes
1 answer

Why is this ViewController crashing my code?

I found this Color Picker online and I am currently trying to implement it into my code. I followed all the instructions to implement it but when I try to load the ViewController that came with the code (using a UITableView cell), I get an Apple…
cory ginsberg
  • 2,907
  • 6
  • 25
  • 37
0
votes
1 answer

Editable / patchable resources within dylib?

Is there any way to embed resources (e.g. strings / images) within a Mach-O dylib such that they are editable post-build? Similar to resources in PE files. I know I should be using Bundles instead, but humour me ;-)
snowcrash09
  • 4,694
  • 27
  • 45
0
votes
1 answer

ld: library not found for -lFlurryWithLocation

I just check out an old project from SVN for my work and when I tried to build it, i got 6 errors. I can't resolve 2 of 'em. So the first one is about the Flurry library. here is the error : "I replaced the name of the app buy APPNAME" Ld…
JuGdx
  • 3
  • 5
-1
votes
1 answer

How to install `yq` with Mach-O 64-bit executable? I got error `bad CPU executable`

I'm not very familiar with Mac system, so I used brew install jq and brew install yq, then I got: $ file /usr/local/bin/xxx/lib/jq /usr/local/bin/xxx/lib/jq: Mach-O 64-bit executable x86_64 $ file…
wawawa
  • 2,835
  • 6
  • 44
  • 105
-1
votes
1 answer

Why do I still have mach-o linker errors in my iOS project even after removing the files that caused them?

These are the errors: Ld /Users/gearhead2727/Library/Developer/Xcode/DerivedData/TR-bwdsurqqtlxmnhdpvfqmdqftqsun/Build/Intermediates/TR.build/Debug-iphoneos/TR.build/Objects-normal/armv6/TR normal armv6 cd /Users/gearhead2727/Dropbox/TR …
Paluter
  • 1
  • 1
  • 1
-1
votes
2 answers

Apple Mach-O Linker Warning, in xcode 9.4

I update xcode version 9.4 to 10.2.1, I have created a project on xcode 9.4, run it once on xcode 10.2.1 and then delete this version and switch back to xcode 9.4 due to some reasons ... when I tried to run project on xcode 9.4 it gives lot of…
-1
votes
1 answer

Structure about the Mach_O File

Hi guys who knows the align field is what?I use ida pro to destruct this file but interrupted at the __text section its maybe the developer had do someting into this macho file. like edit the offset field to avoid the developer decomplier this…
TKingLee
  • 13
  • 4
-1
votes
2 answers

Getting Apple Mach-O Linker error C99. How do i fix it?

Ld /Users/ashutoshagarwal/Library/Developer/Xcode/DerivedData/c-cnyfflmvjyaashaoduqduqqsfegd/Build/Products/Debug/c normal x86_64 cd /Users/ashutoshagarwal/Desktop/c setenv MACOSX_DEPLOYMENT_TARGET…
-3
votes
0 answers

Build failed because the Mach-O file couldn’t be generated using Swift Playground on an iPad

This happens to me every time I try to code using Swift Playgrounds on my iPad. I tried to make a music app for my online service. But it went wrong: Build failed because the Mach-O file couldn’t be generated
-5
votes
2 answers

How to create an iPhone mach-o file?

How can I create a HelloWorld iPhone mach-o file? I want to test it on my jailbreak iPhone. Help me please!!!
1 2 3
24
25