Apple Mach-o linker error after editing older project
I've been asked to make changes to a project that was developed on an
older version of XCode. I'm using version 4.6.3 and when I compile the
project I get the Apple Mach-o linker error which appears to relate to all
of the Frameworks included in the project.
Ld
/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Products/Debug-iphonesimulator/Holiday\
Cash.app/Holiday\ Cash normal i386
cd "/Users/stevecallahan/Documents/Development/Backups/Holiday Cash"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
-L/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Products/Debug-iphonesimulator
-F/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Products/Debug-iphonesimulator
-filelist
/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Intermediates/Holiday\
Cash.build/Debug-iphonesimulator/Holiday\
Cash.build/Objects-normal/i386/Holiday\ Cash.LinkFileList -Xlinker
-objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime
-mios-simulator-version-min=4.3 -framework CoreGraphics -framework UIKit
-framework Foundation -framework QuartzCore -framework CFNetwork
-framework CoreLocation -framework CoreTelephony -framework
SystemConfiguration -lxml2 -lxml2.2 -Xlinker -dependency_info -Xlinker
/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Intermediates/Holiday\
Cash.build/Debug-iphonesimulator/Holiday\
Cash.build/Objects-normal/i386/Holiday\ Cash_dependency_info.dat -o
/Users/stevecallahan/Library/Developer/Xcode/DerivedData/Holiday_Cash-esepntvcbxyfowcnsvozpxnthhel/Build/Products/Debug-iphonesimulator/Holiday\
Cash.app/Holiday\ Cash
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_CoreLocationController", referenced from:
objc-class-ref in PlacesTableViewController.o
"_OBJC_CLASS_$_GDataXMLDocument", referenced from:
objc-class-ref in PlacesTableViewController.o
objc-class-ref in CurrancyViewController.o
"_OBJC_CLASS_$_KLCalendarView", referenced from:
objc-class-ref in CalendarTestViewController.o
"_OBJC_CLASS_$_KLTile", referenced from:
_OBJC_CLASS_$_CheckmarkTile in CheckmarkTile.o
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref in actaulMap.o
"_OBJC_CLASS_$_MapView", referenced from:
objc-class-ref in PlacesTableViewController.o
"_OBJC_CLASS_$_Reachability", referenced from:
objc-class-ref in FirstLevelViewController.o
"_OBJC_CLASS_$_THCalendarInfo", referenced from:
objc-class-ref in KLCalendarModel.o
"_OBJC_METACLASS_$_KLTile", referenced from:
_OBJC_METACLASS_$_CheckmarkTile in CheckmarkTile.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I've tried a number of solutions including making sure all of the .m files
were added to Compile Sources of Build Phases Tab under the Project
Settings. I also ensured the Architectures were all the same but I still
get the error and I'm not sure what to try next.
No comments:
Post a Comment