Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-Java-based Universal Binary?



In article <email@hidden>,
 Frédéric BLANC <email@hidden> wrote:

> > > (Š) I [can't] get my Cocoa-Java project to be built as a Universal
> > > Binary :( !
> > Are you using native targets?
> Nope. I tried to convert my project to native targets when they were
> introduced in Xcode v1.0 (my Cocoa-Java project has started its life
> under the "Project Builder" sunŠ) But I was informed back then that
> Java wasn't supported. I didn't try to do so since that day.
> 
> > Universal binaries are only supported for native targets.
> HmmŠ This should explain why my attempts failed. Thanks for this
> additional bit of information; I now know a valid reason why I don't
> manage to generate a Universal Binary for my project while I have
> absolutely no problem to do so for Cocoa-ObjC.
> 
> > To upgrade your targets, go to the Project menu in Xcode and select
> > "Upgrade All Targets in Project to Native".
> I was kind of nervous to try this in Xcode v2.1, thinking that you
> finally brought me the ultimate step I neededŠ but it failed for the
> exact same reason reported by Xcode v1.0: Java classes are not
> supported in native targets, and such a project can't be properly
> upgraded :( ! (Note: A new "copied" target was created, but some
> additional (blind) attemps with it didn't lead to a Universal Binary
> eitherŠ)
> 
> I think I'll have to wait for some improved support regarding
> "Cocoa-Java on Intel"; or either for an official word from Apple if
> such a support wasn't to be expected. Do you think I should file a bug
> report on Radar?

I wrote up <rdar://problem/4147285> just now to cover this, but you're 
welcome to file your own, too.  I'd also suggest asking about this on 
the xcode-users mailing list to see if the Xcode folks can give you a 
workaround.

-Eric

-- 
Eric Albert            email@hidden
Core Technologies
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Cocoa-Java-based Universal Binary? (From: Eric Albert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.