Re: Universal version wont compile due External Framework "does not match cputype"
Re: Universal version wont compile due External Framework "does not match cputype"
- Subject: Re: Universal version wont compile due External Framework "does not match cputype"
- From: tyler <email@hidden>
- Date: Tue, 7 Mar 2006 09:21:58 -0800
you could use the "file" command in the terminal on the actual binary
inside the framework to confirm it's universal:
.../YourFramework.framework/Versions/A/YourFramework: Mach-O fat file
with 2 architectures
.../YourFramework.framework/Versions/A/YourFramewor (for architecture
ppc): Mach-O executable ppc
.../YourFramework.framework/Versions/A/YourFramewor (for architecture
i386): Mach-O executable i386
if you don't see this 2 architectures stuff then your framework is
not universal which seems the most likely problem.
Tyler
On Mar 5, 2006, at 8:35 PM, Felipe Baytelman wrote:
Hi Everyone:
I'm trying to port my PPC application to UB.
I'm working with an external framework, also done with XCode, which
I have already compiled using UB (adding i386 architecture).
Anyway, I'm getting this error in my app's compile process. It says
the framework does not support i386... although I have just
compiled it and copied to the proper location.
This is the error I get:
/usr/bin/ld: warning /Volumes/Personal/Documents/Proyectos/Party/
party_4/party4/ID3.framework/ID3 cputype (18, architecture ppc)
does not match cputype (7) for specified -arch flag: i386 (file
not loaded)
/usr/bin/ld: Undefined symbols:
.objc_class_name_TagAPI
collect2: ld returned 1 exit status
I'm compiling both binaries with gcc 4, and using the corresponding
SDK for each architecture.
Thanks in advance for your help...
Felipe Bruno Baytelman P.
Baytex Software
email@hidden http://www.baytex.net (+56 8) 249 62 41
_______________________________________________
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
_______________________________________________
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