[MacRuby-devel] MacRuby Application .pkg install results in Unsupported Architecture

Daniel Westendorf daniel at prowestech.com
Mon May 9 10:39:40 PDT 2011

Hi Thomas,

Thanks for the response.

I actually already had both the ARCHS and VALID_ARCHS set exactly as you do.
I'm also using codesign to sign the .app before I submit it. I'm still
getting the same error.

On a side note, if I create a fresh MacRuby application, don't change a
thing, attempt to Archive it as a .pkg, then try to install, I get the same
error "Testapp can't be installed on this computer". It looks like there is
a default setting that is causing this. Any other suggestions?


On Mon, May 9, 2011 at 12:00 AM, Thomas R. Koll <info at ananasblau.com> wrote:

> Hi Daniel,
> I have those two related to the arch:
> VALID_ARCHS = x86_64
> Don't forget that you have to codesign the rbo files,
> a look into the resulting app's CodeResources will tell you.
> and welcome to the shop :)
> Am 09.05.2011 um 02:47 schrieb Daniel Westendorf:
> > Hi all,
> >
> > I'm trying to get my application submitted to the Mac App Store, and I've
> gotten the following response:
> >
> > Unsupported Architecture - Application executables may support either or
> both of the Intel architectures:
> >
> >       • i386 (32-bit)
> >       • x86_64 (64-bit)
> > I have specified the Valid Architectures in my Build Settings to be
> x86_64 and removed the i386 entry. When I Archive the application and create
> a .pkg using the "Share" button, the package is created, but when I attempt
> to launch it, I immediately get the response "MyApp can’t be installed on
> this computer."
> >
> > This is on my development machine. If I create an .app, it launches and
> runs fine. I'm running the latest nightly build of MacRuby.
> >
> > Any thoughts on how to track this issue down?
> --
> Thomas R. "TomK32" Koll, Ruby/Rails freelancer
> http://ananasblau.com
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110509/6694ac0c/attachment.html>

More information about the MacRuby-devel mailing list