Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Create a brand new C# MonoMac Solution with MD 3.0.2, (let's call it "MyApplication"). And use the "MonoMac Project" template. Then go into project options and change the Assembly Name in Debug Mode to "My Application" (now with a space between the 2 words) and start debugging, your program will run fine and cause a blank window to pop up. The icon for the running application that shows up in the dock says "My Application" with the blank space as it should.
Now let's say I wanted to submit this application to the Mac App Store. First I switch the Active Configuration from Debug to App Store. Then in project options I change Assembly Name (under App Store configuration) to be "My Application" as I did with Debug config. Then I have to fill out the "Mac OS X Packaging" section in project options:
I must make sure that the Provision section is filled in or else MD will not allow me to build. And also must make sure that the "Identifier" field in Info.plist matches the name supplied when creating the provisioning profile I selected.
Now if I rebuild, it builds fine without errors. Now that I have my .pkg file ready to submit to Apple, Apple suggests first installing the application on my computer to make sure it runs ok. For simplicity, I'll move the .pkg file to my Desktop, rename it MyApplication.pkg. and delete the "bin" folder from my project so the installer doesn't overwrite the .app files in there.
Then, as per Apple, I should issue this command in Terminal to install the application:
sudo installer -store -pkg /Users/alfredomachin/Desktop/MyApplication.pkg -target /
And when I do, I now have "My Application.app" in my /Applications folder. But there is a big void sign on it and if you double click it it gives the following error message:
"You can't open the application My Application because it may be damaged or incomplete."
Did I miss something or is this a bug? Thanks for your time.
looks like the mmp tool does not properly handle paths with spaces in the name.
In the meantime, avoid using spaces in the name of your app.
try replacing your mmp (it'll be in your MonoDevelop.app) with http://files.xamarin.com/~jeff/mmp
Hi Jeff, thanks for the mmp file. Unfortunately the resulting "My Application.app" still gives the
"You can't open the application My Application because it may be damaged or
error when trying to run it.
I think this is very important because the Mac App store rejects apps if the name listed in the Mac App store does not match the name of the app once installed. So if I wanted to submit a game called "My Fun Adventure" I would be forced to display it on the Mac App Store as something like "MyFunAdventure" which isn't a very marketable approach to naming an application, in my opinion.
Perhaps this bug should not be set as Resolved/Fixed?
Anyway thanks, for checking this out for me.
I realized after I left the office that I had accidentally uploaded the wrong mmp binary... I'll upload the correct one tomorrow morning when I get back to the office.
try the same link now
It works perfectly now! Not only did I try it with the simple MonoMac Template project. I also packaged up my very complex game with the MonoGame framework and the resulting .pkg file installed a perfect working .app file using that Terminal command. Thanks so much!
No prob, always glad to help!