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
0 answers

Change symbol name in Mach-O

I have an iOS binary that oddly uses the wrong symbol names. For example, it looks for the symbol UIProgressBar instead of UIProgressView in UIKit.framework. Now, I need to run that binary. If I manually edit it, I get a truncated Mach-O file, and…
Spotlight
  • 472
  • 1
  • 11
  • 22
0
votes
1 answer

Apple Mach-O linker Error Xcode 6.2

I'm sorry if this question is a duplicate, but I only asked it because I didn't find a solution in other related questions. I started a new project in Xcode 6.2 and I imported AFNetworking using pods. I also imported SWRevealViewController by…
ANA
  • 282
  • 2
  • 16
0
votes
0 answers

Match O-linker Error , clang error iOS 8.3

I recently created a new project and copied resources from another project, But when i compiled, it generated one error, I checked twice resources are ok, but its showing Mach-O Linker error, I tried other answers, but nothing is working for…
Majid Bashir
  • 558
  • 1
  • 4
  • 27
0
votes
1 answer

iOS Linker Error Unable to Find File

I've got this error that doesn't occur on my machine in the file it was originally created in...However, when I upload to GitHub and try it on another machine, this linker error occurs. I have no idea how to fix it because I don't really know what…
user1572597
  • 373
  • 3
  • 15
0
votes
0 answers

Apple Mach-O Linker Warning ignoring unexpected dylib file

I'm trying to build a framework(Valid Architectures in my settings are arm64, armv7, armv7s, $(ARCHS_STANDARD), i386) and my Xcode project is throwing out these warnings at me. The project builds successfully but I want to get these resolved. If…
Priyatham51
  • 1,864
  • 1
  • 16
  • 24
0
votes
1 answer

X64 assembly, how to have a function always return the same int

Assembly beginner here, please be gentle! I have the following x64 assembly procedure and would like to patch it to always return a 15 (type int). 0000000000005f2c push rbp 0000000000005f2d mov rbp, rsp 0000000000005f30 …
DavidD
  • 1,009
  • 1
  • 14
  • 29
0
votes
0 answers

Apple Mach-O Error

I have Mach-O error in my code. Undefined symbols for architecture i386: "_OBJC_CLASS_$_UIMutableUserNotificationAction", referenced from: objc-class-ref in GameThrive(GameThrive.o) "_OBJC_CLASS_$_UIMutableUserNotificationCategory", referenced…
0
votes
1 answer

mach-o linker error duplicate symbol. No imported .m files or declarations in headers

I've come across an error in a project in Xcode. I've been making good progress, and everything has been working reasonably well up until now. After making a few subtle layout changes to one of the pages in my app, when trying to run it - I get a…
docBen
  • 39
  • 7
0
votes
0 answers

Custom Framework from Ray Wenderlich's Tutorial

I'm trying to create my own framework for iOS and I am encountering many problems. I followed Ray Wenderlich's tutorial here: http://www.raywenderlich.com/65964/create-a-framework-for-ios And successfully created my framework. I dragged it into one…
jeremyabannister
  • 3,796
  • 3
  • 16
  • 25
0
votes
1 answer

Alternative for .string pseudo op?

I am trying to run an assembly file on Mac OS X that uses .string pseudo-ops, which apparently aren't recognized. How should the following lines be replaced so it will work on a mac? ArrayIndexOutOfBoundsException: .long 35 .string "Array index out…
Kvass
  • 8,294
  • 12
  • 65
  • 108
0
votes
1 answer

execute mach-0 bundle executable i386

I have few files with the extension .macho32 but not able to execute... when i checked the type using file command it showed me 1169168835_559582_T.macho32: Mach-O bundle i386 any idea about this file type ? and how can i execute them.
Tanuj
  • 298
  • 1
  • 5
  • 15
0
votes
2 answers

Apple Mach-O Linker error

I'm using Xcode 5. I can build and simulate my app, but when I archive my app I receive this eror: "Apple Mach-O linker Error Linker Command Failed with exit code 1." Ld …
0
votes
0 answers

Apple Mach-O linker Error relating to ShareKit

Thank you for reading this. I am trying to rebuild/reskin an iOS app. I just started at this job and everyone who originally worked on it is gone so I am a little stuck on this error I am getting. Undefined symbols for architecture i386: …
OThatSean
  • 31
  • 4
0
votes
1 answer

Xcode debugger does not find my files

I have taken over a rather large and complex project. A part of it is a static (C++) library, which is produced by an Xcode file (which actually was generated by CMake, I believe …) The App itself is in a completely different project. When I debug…
below
  • 929
  • 6
  • 26
0
votes
1 answer

Cross-compiling C to armv7 using arm-apple-darwin10-llvm-gcc-4.2

This might seem like a very specific question but central idea is quite broad. I have a simple hello world console application in C. I've compiled it on Mac OS X using following command: $ export PLATFORM=/Developer/Platforms/iPhoneOS.platform $…
bytefire
  • 4,156
  • 2
  • 27
  • 36