Submit Mac App to the Appstore

Hi people, 

I’m trying to submit Mac App to the AppStore. An app is created with Unreal Engine. Of course, I spent some time reading every guide that I found on the web. I made all kinds of certificates, Identifiers&Profiles. Everything is correct and showing up where it must be. I’m running Unreal Engine 4.26.1 (already tried 4.26.2) on Mac. I’m generating an X-code project. Inside X-code, I edit info and adding profiles, then after I click "ARCHIVE", I’m getting a signing error. Already tried both manual and automatically manage signing and many, many more solutions from the web. And I’m always getting the same error: Command /usr/bin/codesign failed with exit code 1.

Please, have a look at the attached screenshots. Any thoughts? I’m trying to add an app to AppStore because if I’m trying to spread it by myself, people get these “undefined developer” warnings and frustrating issues. 

Any help is much appreciated! 

Thank you so much, people!

Replies

The last line of your build log:

bundle format unrecognized, invalid, or unsuitable

indicates that the item you’re trying to sign, UE4Editor.app, looks kinda like a bundle, so code signing is trying to sign it as a bundle, but is broken in some way. Looking further up your build log I see a bunch of custom build steps (Make symlink UEEditor.app, Run custom shell script ‘Sign Manual Frameworks’, and so on) which suggest that your third-party tooling has created a highly customised Xcode project.

My advice here is that you try to split this problem in two. To do that, create a new project (File > New > Project) from the macOS > App template and give it the same bundle ID as your main app. You should then be able to build and run this locally, and validate it for upload to the App Store (using the Validate App button in the Organizer).

If you run into problems doing that, post the details here and I’ll try to help out.

Once you have that working then you know that there’s nothing fundamentally wrong with your developer account or your code signing setup. At that point you should escalate the problem you have with your main app via the support channel for the third-party tools that it depends on.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"