If it's a blank MacRuby application, definitely check the "Valid Architectures" 
again, for *all* configurations. You might be editing only Debug, and not 
Release.

Dominic Dagradi
Developer, Bearded
domi...@bearded.com
http://bearded.com
412.376.7273 tel
412.945.6017 fax


On Monday, May 9, 2011 at 10:55 AM, Daniel Westendorf wrote:
That is good to know. I don't think it relates to my specific problem though, 
since I'm getting the same error with a "blank" MacRuby application generated 
from Xcode, or am I misunderstanding? 
> 
> Thanks,
> Daniel
> 
> On Mon, May 9, 2011 at 11:42 AM, Dominic Dagradi <domi...@bearded.com> wrote:
> > It's not necessarily MacRuby or your application that is raising the 
> > invalid architecture warning. Any framework that contains PPC code will now 
> > flag your binary with Apple, so you need to remove the offending code. 
> > Growl seems to be a pretty common one in this case. 
> > 
> > Check out the comments on this 
> > question:http://stackoverflow.com/questions/5684244/mac-app-store-binary-rejection-question
> > 
> > Dominic Dagradi
> > Developer, Bearded
> > domi...@bearded.com
> > http://bearded.com
> > 412.376.7273 tel
> > 412.945.6017 fax
> > 
> > 
> > On Monday, May 9, 2011 at 10:39 AM, Daniel Westendorf wrote:
> > > 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? 
> > > 
> > > Thanks!
> > > 
> > > On Mon, May 9, 2011 at 12:00 AM, Thomas R. Koll <i...@ananasblau.com> 
> > > wrote:
> > > >  Hi Daniel,
> > > > 
> > > >  I have those two related to the arch:
> > > > 
> > > >  ARCHS = $(ARCHS_STANDARD_64_BIT)
> > > >  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@lists.macosforge.org
> > > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> > > > 
> > > _______________________________________________
> > > MacRuby-devel mailing list
> > > MacRuby-devel@lists.macosforge.org
> > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> > > 
> > 
> > _______________________________________________
> >  MacRuby-devel mailing list
> > MacRuby-devel@lists.macosforge.org
> > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> > 
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to