info.plist

It would be nice when Xojo offers a kind of textfield somewhere where I can enter some extra stuff like " NSHighResolutionCapable ".
Or is there a better way already?

You can do this in an IDE script or Postbuild script.

Thx Bob

This script will do the trick, but it also means you can only build from Mac:

Dim App As String = CurrentBuildLocation + "/""" + CurrentBuildAppName + ".app""" Call DoShellCommand("/usr/bin/defaults write " + App + "/Contents/Info ""NSHighResolutionCapable"" YES")

There’s a LONG standing feature request for a PLIST editor within the project:

feedback://showreport?report_id=4113

And, Greg O was the originator!

Personally, I’d like to a new Mac Options dialog, not just a plist editor, but also the ability to code sign and sandbox directly within Xojo… Yes it sound odd coming from the man who’s spent years developing App Wrapper, but I do believe to be in Xojo’s best interest to integrate these functions into the IDE.

Oh yes and a built-in UTI editor or ‘quick creator’ that tacks onto the end of the current file type editor.

That would be very welcome and I think it’s very very easy to do this for the Xojo team!

Nope, not so simple. Good features, but not simple, and more importantly, not cross-platform .

It may not be x-plat, but it would help new developers to be able to make mac apps for the Mac App Store.

If a new Mac only developer is comparing Xojo to Xcode, they either have a lot to learn in order to add the correct plist key, to code sign and sandbox an app, or to invest in a tool, on top of paying for a license for Xojo, where as Xcode is free and already includes the tools to do this. I’m not comparing with Xcode to say that Xcode is better, I’m comparing with Xcode because if I were a new developer I would compare the two tools and draw up a conclusion before I invested (not just money but time).

I also realize that Xojo is designed as a x-plat tool and not as a specific Mac only tool.

I don’t agree with you Thom!

After each build and upload to the App Store I have a text file with 9 things I have to do. Some I have to do in the info.plist, other in a shell. Everytime copy/paste/execute the same things. If Sam not already build his Wrapper, I would! But we all don’t want all kind of tools beside our IDE. Building is building for 100% like the way Xcode of Flex do!

And nobody is asking Xojo for 100% crossplatform!
It’s impossible!

Sam, you have a fan. http://www.ohanaware.com/appwrapper/ for those who doesn’t know your work.

Believe me, I absolutely understand that. Before I started at Real I was arguing similar things. But cross-platform really is a problem. If Xojo did the signing for you, it would only work on the one platform you happen to be using to build. Building a Mac app from Windows or a Windows app from Mac will not get you a signed binary. That needs to be very obvious to the developer. For an app that you compile for multiple platforms, it will never behave correctly. The features you’re asking for can ONLY work for single-platform apps. That’s not really our specialty.

Post-production tools have been necessary for commercial apps for a very long time. Windows installers are built on Windows, Disk Images on Mac, multi-res tiffs are a new Mac-only feature too. It’s the law of leaky abstractions. We can shield you from a lot of platform-specific stuff, but not all of it.

The only argument I have is that anyone looking to distribute an app on the Mac, has to endure the extra hassle. I can appreciate that a app signed in Windows wouldn’t be accepted for the Mac App Store, but you can make it so that these options are only applied when building on a Mac. Considering the new license model, I honestly think that this would be a benefit for Xojo.

Would I be right in saying that most Xojo developers are Mac users, plus wouldn’t it be great for new Mac only developers to jump on Xojo to create the latest and greatest App Store apps?

For me it’s perfectly OK to use RB Package Maker Studio for code signing and preparing the Mac App Store package. Best $30 spent. Of course, if Xojo handled that as well, it would be great, but there’s nothing that build automation scripts couldn’t do right now (or an additional tool, like the one I mentioned).

[quote=8266:@Sam Rowlands]
Would I be right in saying that most Xojo developers are Mac users, plus wouldn’t it be great for new Mac only developers to jump on Xojo to create the latest and greatest App Store apps?[/quote]

I would say that most who start out doing Mac only will eventually want to do at least some Windows Apps. Some windows Xojo users will eventually want to do a Mac apps or two

Ether way lowering the barrier to building saleable Mac apps would likely result in more Xojo licenses sold with the new pricing structure…

In any case while code signing X-Platform may not be viable, at least a user friendly PLIST editor handling teh most common needs for Mac non experts should be.

While this is only a partial solution and may not seem that useful, I’ve requested a way that we can ask Xojo to include values in the plist file from a build script.

This has two advantages.
#1 It doesn’t use the ‘defaults’ command, which can corrupt the permissions on a plist leaving you with a dead app.
#2 It can then also be done on other platforms when a Mac app is built.

Case ID
feedback://showreport?report_id=26599

I understand code signing, but the other bits can be cross platform. Filling out the fields of a plist form or creating a default GNOME .desktop file can be done on all three platforms with no negative impact on either the host system or the target system.

Sure, leave code signing and package building to the platform, but the reset should be built-in to Xojo.

[quote=8312:@Tim Jones]I understand code signing, but the other bits can be cross platform. Filling out the fields of a plist form or creating a default GNOME .desktop file can be done on all three platforms with no negative impact on either the host system or the target system.

Sure, leave code signing and package building to the platform, but the reset should be built-in to Xojo.[/quote]
Oh that I agree with. For the record, I’m not arguing a plist editor - or anything else that could be done on all platforms.

Thanks - I appreciate it - I’m working on something right now, that I think will blow your mind!