Xcode build failure
Xcode build failure
- Subject: Xcode build failure
- From: Livio Isaia <email@hidden>
- Date: Fri, 18 Mar 2011 12:26:47 +0100
I have a Cocoa project called ImageHandler created on an older computer
(macos 10.4.11 and Xcode 2.5) and tried to build it on a new computer
with OS 10.6.6 and Xcode 3.2.6, but it fails:
Ld build/Debug/ImageHandler.app/Contents/MacOS/ImageHandler normal x86_64
cd /Users/livioisaia/ImageHandler
setenv MACOSX_DEPLOYMENT_TARGET 10.6
/Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot
/Developer/SDKs/MacOSX10.6.sdk
-L/Users/livioisaia/ImageHandler/build/Debug
-F/Users/livioisaia/ImageHandler/build/Debug -filelist
/Users/livioisaia/ImageHandler/build/ImageHandler.build/Debug/ImageHandler.build/Objects-normal/x86_64/ImageHandler.LinkFileList
-mmacosx-version-min=10.6 -framework Cocoa -o
/Users/livioisaia/ImageHandler/build/Debug/ImageHandler.app/Contents/MacOS/ImageHandler
Undefined symbols:
"_OBJC_CLASS_$_ImageCell", referenced from:
objc-class-ref-to-ImageCell in ImageView.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I have ImageCell.h (defining ImageCell class) and ImageCell.m, then
ImageView.h and ImageView.m. ImageView.m calls methods on ImageCell.m,
so I import ImageCell.h from ImageView.m.
Can anybody tell me why? Do I have to change some settings importing the
project from Xcode 2 to Xcode 3?
Thank you all in advance,
regards,
livio.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden