mail-archives/mono-osx/2010-August/003083.html

84 строки
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] [MonoMac] Failed to run Hello.app sample
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%20%5BMonoMac%5D%20Failed%20to%20run%20Hello.app%20sample&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003091.html">
<LINK REL="Next" HREF="003084.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] [MonoMac] Failed to run Hello.app sample</H1>
<B>Lee V. Andrus</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20%20%5BMonoMac%5D%20Failed%20to%20run%20Hello.app%20sample&In-Reply-To="
TITLE="[Mono-osx] [MonoMac] Failed to run Hello.app sample">landrus2 at by-rite.net
</A><BR>
<I>Wed Aug 25 15:33:48 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="003091.html">[Mono-osx] [MonoMac] Failed to run Hello.app sample
</A></li>
<LI>Next message: <A HREF="003084.html">[Mono-osx] [MonoMac] Failed to run Hello.app sample
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3083">[ date ]</a>
<a href="thread.html#3083">[ thread ]</a>
<a href="subject.html#3083">[ subject ]</a>
<a href="author.html#3083">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>A search of the web (<A HREF="http://www.mactipsandtricks.com/articles/Wiley_HT_appBundles2.lasso">http://www.mactipsandtricks.com/articles/Wiley_HT_appBundles2.lasso</A>
) reveals that NSPrincipalClass is an Info.plist key whose value is
NSApplication or the name of the class in your application that is
derived from NSApplication. So try adding that to your Info.plist file.
On Aug 25, 2010, at 11:09 AM, Alexander Shulgin-2 wrote:
...
&gt;<i> MonoMac builds successfully, but when I try to run the sample
</I>&gt;<i> Hello.app
</I>&gt;<i> I get the following error:
</I>&gt;<i>
</I>&gt;<i> 2010-08-25 19:01:34.783 Hello[74370:60b] No Info.plist file in
</I>&gt;<i> application bundle or no NSPrincipalClass in the Info.plist file,
</I>&gt;<i> exiting
</I>&gt;<i>
</I>&gt;<i> I noticed that Info.plist contains LSMinimumSystemVersion =&gt; 10.6 and
</I>&gt;<i> I'm on Mac OS X 10.5.8.
</I>
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20100825/98c74cbc/attachment.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20100825/98c74cbc/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003091.html">[Mono-osx] [MonoMac] Failed to run Hello.app sample
</A></li>
<LI>Next message: <A HREF="003084.html">[Mono-osx] [MonoMac] Failed to run Hello.app sample
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3083">[ date ]</a>
<a href="thread.html#3083">[ thread ]</a>
<a href="subject.html#3083">[ subject ]</a>
<a href="author.html#3083">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>