realbasic-plugins
[Top] [All Lists]

Re: New XCode RB 2006r3 users complaining Two Level Namespace

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: New XCode RB 2006r3 users complaining Two Level Namespace
From: Jonathan Johnson <jonj at realsoftware dot com>
Date: Tue, 5 Dec 2006 14:11:46 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <B448BF55-C26D-4A60-BD71-5F24762BD959 at einhugur dot com> <FA6CC2A0-696A-4E52-B682-772D3822F52D at realsoftware dot com> <DDC363D7-61A4-40EB-88B9-8678A9DDF9B8 at einhugur dot com>

On Dec 5, 2006, at 1:46 PM, Björn Eiríksson wrote:


On Dec 5, 2006, at 7:41 PM, Jonathan Johnson wrote:

The issue is that 2006r3 did not support Universal Binaries, and it's choking on the different Mach-O header. To create a plugin that is compatible with r3 and prior, you need to put just a PowerPC part in the "Mac Carbon Mach-O" folder, and the universal part can live in a "Mac Carbon Mach-O Universal" folder. r4 will prefer the part that lives in the Universal folder, but will fall back on the part that lives in the Mach-O folder if that folder isn't present. r3 however, has no knowledge of the Universal folder, and thus things still work properly.

HTH,
Jon

Yes I know, I had this part correct. (And have had that right from start from when the new folder was introduced, always publishing both new and old part)

After I found that this was the only plugin behaving like this then I at first compared it to other project, saw no difference, then re- created the X-Code project file by copying the other project and put the correct cpp files into it and finally got it to not post that error. I am assuming here that the project file was simply just corrupt in some way.

Oh, sorry about that, I didn't understand the situation fully.

Unfortunately in later versions of Xcode the setting is not prominent. In 2.2 and prior, it was easily seen. In later versions, I'm not sure where you can find the setting.

It might be worthwhile to ask on the Apple Xcode-users list if you haven't already.

HTH,
-Jon


--
Jonathan Johnson
jonj at realsoftware dot com
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>