Mach-O Linker Error When Adding Unit Tests - XCode

ansible

I'm trying to add OCUnit tests to an existing project (in XCode 4.6.3). I followed the instructions here - http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/ however I'm getting 78 Mach-O errors only when trying to run the tests. I can compile the main target just fine.

One thing to note I have not modified the tests yet, they are just the standard template. I'm not sure example what I'm doing wrong.

One error message

Undefined symbols for architecture i386: "_AudioComponentFindNext", referenced from: l651 in libNuanceSpeechAnywhere.a(libSpeechKit.a-i386-master.o) l652 in libNuanceSpeechAnywhere.a(libSpeechKit.a-i386-master.o)

Here is a screen shot of a bunch of the errors.

enter image description here

Enrico Susatyo

You have to add AudioUnit framework to your project first and then rebuild it.

This is how you add frameworks to your project.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Mach-O Linker Error Xcode 5

From Dev

Mach-O Linker Error in Xcode 6.1

From Dev

Apple Mach O-Linker Error Xcode

From Dev

Apple Mach O-Linker Error Xcode

From Dev

Apple Mach-O Linker Error in xcode 6

From Dev

Xcode 6 Beta - Apple Mach-O Linker error

From Dev

Xcode gives Apple Mach-O linker error

From Dev

Error Apple Mach-O linker Warning on Xcode 5.1

From Dev

Apple Mach-O Linker Error XCODE 5

From Dev

Unity build to xcode with gives error: Apple Mach-O Linker

From Dev

Error Apple Mach-O linker Warning on Xcode 5.1

From Dev

Apple Mach-O linker Error Xcode 6.2

From Dev

Apple Mach-O Linker Error when Building

From Dev

Error when running unit tests in Xcode 5.0

From Dev

(Cordova) Xcode 5.1 Error Apple Mach-O Linker error libCordova.a file not found

From Dev

(Cordova) Xcode 5.1 Error Apple Mach-O Linker error libCordova.a file not found

From Dev

Xcode gives Mach-O linker error: "_JNI_CreateJavaVM", referenced from: _main in main.o

From Dev

apple mach-o linker (id) error after adding admob (Unity)

From Dev

Apple mach -o- Linker Error

From Dev

Unexplained apple mach o linker error

From Dev

Apple Mach-O Linker Error Parse

From Dev

Apple Mach-O-Linker Error CocoaPods

From Dev

Bolts Apple Mach-O Linker Error

From Dev

Cordova 3.5 iOS - Xcode Apple Mach-O Linker error for CDVCamera

From Dev

How to solve Mach-O-Linker error in ios7 & Xcode 5.0.1

From Dev

Xcode Version 6.1 (6A1030) - Apple Mach O-Linker Error - Building

From Dev

Mach-O Linker error, undefined symbols for architecture after upgrading xcode to 8.0

From Dev

Apple Mach-O Linker Error when Run simulator with Facebook SDK

From Dev

Apple Mach-O Linker Error when Architectures to support 64-bit added

Related Related

HotTag

Archive