Re: [Bug?] Xcode 2..2, Mach-O Type = Bundle do not links because ..
Re: [Bug?] Xcode 2..2, Mach-O Type = Bundle do not links because ..
- Subject: Re: [Bug?] Xcode 2..2, Mach-O Type = Bundle do not links because ..
- From: j o a r <email@hidden>
- Date: Sun, 15 Jan 2006 02:13:11 +0100
On 14 jan 2006, at 16.25, Ruslan Zasukhin wrote:
powerpc-apple-darwin8-g++-4.0.1: -compatibility_version only
allowed with -dynamiclib
We also bumped into this problem when we migrated to Xcode 2.2. Filed
as case 4323981, and closed as "behaves correctly". They also implied
that it could not have worked in earlier versions of Xcode, while in
fact it did... :-)
Anyway, they were very helpful with providing this two-step workaround:
1) You can remove these offending build settings from the target by
copying the empty build settings for "current version" and
"compatibility version" from the project build settings, and pasting
them into the build settings for the target. They agreed that it's a
bug that you can't do this by using the "-" button, or similar simple
control in the inspector.
2) In addition to doing this, you need to set the
GENERATE_MASTER_OBJECT_FILE to YES to suppress the -single_module
flag. You can do this easily using the build settings inspector for
the target (paste the GENERATE... string into the search field to
easily locate the correct build setting).
After applying these changes, we could build our projects fine again.
We're in the process of moving from the slightly exotic bundle
libraries to plain dylibs, but this workaround made it possible for
us to not have to modify our old and supposedly stable branches.
Invaluable, and much appreciated!
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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