Strip PPC Support from Growl.framework for Mac App Store
When using Growl in your Mac App you have to include Growl.framework. The current Growl framework includes PPC support, which may not be supported by Apps in the Mac App Store.
When trying to upload your Application you will receive the following reject message:
Unsupported Architecture - Application executables may support either or both of the Intel architectures:
i386 (32-bit)
x86_64 (64-bit)
First you would think, that your own binary is having some bad architecture support. But probably not. It’s the Growl framework, which includes PPC support. Seems like Apple changed their binary checks, because a few weeks ago PPC support in included frameworks did not make problems.
Growl 1.3 will drop PPC support. Then this problem is solved.
But now? You want to upload your binary, right? You can do this by stripping PPC support from Growl.framework.
First check the current architecture support of Growl:
lipo -info path/to/Growl.framework/Growl
Architectures in the fat file: Growl are: x86_64 i386 ppc
Then remove PPC support from the binary:
lipo -remove ppc path/to/Growl.framework/Growl -output GrowlIntel
Now replace the original binary in Growl.framework with the stripped binary. (Note: replace the binary under “Versions/A/”!!!)
That’s all. Rebuild your project and upload.
2 Notes/ Hide
-
hardcore-fishsauce liked this
-
jdg liked this
-
i-novation posted this