Re: application support x86_64 architecture issue
Re: application support x86_64 architecture issue
- Subject: Re: application support x86_64 architecture issue
- From: "XiaoGang Li" <email@hidden>
- Date: Wed, 29 Oct 2008 16:06:45 +0800
Thanks very much. I think I got the answer now.
2008/10/29 Stefan Werner
<email@hidden>
On Oct 29, 2008, at 6:37 AM, XiaoGang Li wrote:
Sorry.
I build my simple cocoa-based application at OS Version 10.5.5, Xcode version 3.1.1
In what way did it fail?
-- the application can not run on OSX10.4;
What was the exact error message?
I launch my application in the terminal on OSX10.4, then i can see the error message below:
dyld: Library not loaded: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
Referenced from: /Users/jiaxiong/Desktop/ArchitectureTest.app/Contents/MacOS/./ArchitectureTest
Reason: no suitable image found. Did find:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa: no matching architecture in universal wrapper
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa: no matching architecture in universal wrapper
Trace/BPT trap
Cocoa for ppc64 and x86_64 is only available in 10.5. On 10.4 you must run your application in 32-bit, there are instructions on how to do that in the 64-bit transition guide:
http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/chapter_5_section_4.html#//apple_ref/doc/uid/TP40001064-CH208-DontLinkElementID_20
-Stefan
_______________________________________________
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