As I want to publish one or more apps on one of my websites I thought I give App Wrapper a go.
Besides the sparse documentation and Intel only platform (took me a long while to figure out options and what they mean ;o) I got this error in packaging:
failed Running altool at path '/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/AppStoreService.framework/Support/altool'...
2024-10-17 15:00:29.809 *** Error: altool: option '-' is unknown: ignored
2024-10-17 15:00:29.814 *** Error: altool encountered an error. No command argument was specified. Use -h for help. (-1003)
{
NSLocalizedDescription = "altool encountered an error.";
NSLocalizedFailureReason = "No command argument was specified. Use -h for help.";
}
Or is there somewhere a good step-by-step documenation? Maybe got something set up wrong (o;
I guess you need to inform Ohanaware about this. And Include the infos about your macOS version and the Xcode CLI tools version reported by the pkgutil
Probably something changed and has broken AppWrapper (a very Sequoia current behavior )
altool is an XCode command line tool used for interacting with various Apple services.
If you are trying to notarize an app for deployment outside the Mac App Store then altool can no longer be used as it was discontinued about a year ago.
I suggest you contact Sam to see if there is a new version that uses notarytool which is the altool replacement.
Let’s hope the new version will also be an universal build (o;
But: has anyone stumbled upon a good step-by-step guide for App Wrapper? The built-in help is rather useless as it doesn’t explains all fields to fill out.
I’ve added my Apple Developer ID into the IDE, so the IDE code-signs my app at build time.
There is some other stuff (mailto URL) I have AppWrapper add to the app, so to have that happen I drag and drop the app onto AppWrapper and then choose Wrap from the little Process menu at the top.
I use the “New Image from folder” option in Disk Utility to create a DMG out of a folder with the now-code-signed app and some other stuff in it. I don’t set any DU options.
D and D the dmg onto AppWrapper, and select my account and app-specific password, AppWrapper checks that is OK and then I click Notarise.
Need to click a second Notarise button, then have a coffeee while AppWrapper sends my dmg to Apple and waits for the results.
This provisioning/packaging is all new to me…and I’m kinda lost here (o;
When for example adding a provisioning profile for web deployment it tells me that a certificate can’t be found though it is installed on the machine:
This means you have not downloaded the development certificate correctly. XCode is able to do this. Alternatively you need to download to include the public key. Which it will only do if there is a passphrase in the file. I think it’s pks3 that supports this. I’m not at a machine at the moment.
Do not try adding new certificates unless you are sure there is no other option. You only get 5 developer and 5 AppStore certs ever.