I can't seem to build a project that uses Growl-WithInstaller.framework v1.2 with Xcode 3.1.4 on Leopard. Everything works fine if I'm building with Xcode 3.2 on SnowLeopard, but when I compile on Leopard I get the error:
strip: for architecture x86_64 object: <path to GWI.framework> malformed object (unknown load command 5)
Anyone have a clue about why this is happening? All of my code is building fine on 10.6 & 10.5 for both 32 & 64-bit architectures. Just the step that sets up the Growl framework fails.
We still need to be able to build on 10.5 for a time.
Kevin
(unknown load command 5) - 1.2 Growl-WithInstaller.framework
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
This specifically would mean that G-WI was built with x86_64 arch's Mac OS X Deployment OS set to 10.6, I'll file it as a bug when i get home.
C4 & Demolitions Expert / Ambrosia Software, Inc. / http://www.AmbrosiaSW.com/
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
Interesting. It does successfully install and run on 10.5 if the package is built on 10.6.
I checked with otool and found that the unknown load command appears to be 0x00000022, which shows up as 'unknown' on 10.5 and as LC_DYLD_INFO on 10.6.
I checked with otool and found that the unknown load command appears to be 0x00000022, which shows up as 'unknown' on 10.5 and as LC_DYLD_INFO on 10.6.
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
I took a look at the Growl sources, and it didn't appear that any of the deployment targets were set higher than 10.5. Some were set *lower*, but I didn't see any higher.
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
Yes, it appears that there's a bug in Xcode 3.2 that causes frameworks to be built which the dev tools on 10.5 don't recognize.
A workaround for now is to download the Growl 1.2 source and rebuild it on Leopard. I did this yesterday and can verify that it works.
A workaround for now is to download the Growl 1.2 source and rebuild it on Leopard. I did this yesterday and can verify that it works.
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
This is fixed in Growl.framework 1.2.1. There is no WithInstaller version yet; that's waiting on Growl 1.2.1.
Re: (unknown load command 5) - 1.2 Growl-WithInstaller.framework
Growl 1.2.1 is now out, with Growl-WithInstaller.framework 1.2.1 included in its SDK. Please let us know through the growldiscuss Google Group (since this forum is closed) whether that works for you.