MacOS Build Rejected by Apple - Unsupported Architechture

After building my project for MacOS in Unreal Engine and attempting to upload it to the Apple Store, I’ve told that the app contains unsupported architecture and I’m not sure how to proceed from here - is this an issue anyone else has encountered while developing for MacOS?

Side notes:

Here is the list of issues I was served by Apple:


Dear Developer,

We identified one or more issues with a recent delivery for your app, “EMAP Soundgate”. Please correct the following issues, then upload again.

Unsupported Architecture - Application executables may support either or both of the Intel architectures:

  • i386 (32-bit)
  • x86_64 (64-bit)

Other architectures may not be included in submitted binaries. Confirm that your Xcode project’s build settings include those architectures and no others.

Specifically, we found the following unsupported architectures in your binary:

  • i386 (in
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/MacOS/libfmod.dylib,
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/MacOS/libfmodStudio.dylib,
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/MacOS/libogg.dylib,
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/MacOS/libvorbis.dylib,
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/UE4/EMAPMusicProjectPC14/Plugins/FMODStudio/Binaries/Mac/libfmod.dylib,
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/UE4/EMAPMusicProjectPC14/Plugins/FMODStudio/Binaries/Mac/libfmodstudio.dylib)

Unsupported Architecture - Application executables may support either or both of the Intel architectures:

  • i386 (32-bit)
  • x86_64 (64-bit)

Other architectures may not be included in submitted binaries. Confirm that your Xcode project’s build settings include those architectures and no others.

Specifically, we found the following unsupported architectures in your binary:

  • i386 (in
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/Resources/RadioEffectUnit.component/Contents/MacOS/RadioEffectUnit)

Unsupported Architecture - Application executables may support either or both of the Intel architectures:

  • i386 (32-bit)
  • x86_64 (64-bit)

Other architectures may not be included in submitted binaries. Confirm that your Xcode project’s build settings include those architectures and no others.

Specifically, we found the following unsupported architectures in your binary:

  • i386 (in
    com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/UE4/Engine/Build/Mac/RadioEffectUnit/RadioEffectUnit.component/Contents/MacOS/RadioEffectUnit)

The product archive is invalid - The Info.plist must contain a LSApplicationCategoryType key, whose value is the UTI for a valid category. For more details, see “Submitting your Mac apps to the App Store”.

CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value ‘com.epicgames.CrashReportClient’ of ‘EMAP Soundgate Mac.app/Contents/UE4/Engine/Binaries/Mac/CrashReportClient.app’ is already in use by another application.

CFBundleIdentifier Collision - The Info.plist CFBundleIdentifier value ‘com.epicgames.audiounit.radio’ of ‘EMAP Soundgate Mac.app/Contents/UE4/Engine/Build/Mac/RadioEffectUnit/RadioEffectUnit.component’ is already in use by another application.

App sandbox not enabled - The following executables must include the “com.apple.security.app-sandbox” entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.

  • com.soundgate.Soundgate.pkg/Payload/EMAP
    Soundgate
    Mac.app/Contents/MacOS/EMAPMusicProjectPC1

4

Invalid Executable or Signature - Your app could not be re-signed by the App Store for distribution, because of an issue with the app’s executable (com.soundgate.Soundgate.pkg/Payload/EMAP Soundgate Mac.app/Contents/UE4/EMAPMusicProjectPC14/Binaries/Mac/EMAPMusicProject-Mac-Shipping.dSYM) or its signature. The app may have been built or signed with non-compliant or pre-release tools.


Any help would be greatly appreciated.

Hey @1996Langley,

I’ve run into the same issue as you have. Did you manage to figure it out?

Thanks in advance

We’re hitting this as well with 4.22. Any luck?

When you see any of the “Unsupported Architecture” issues, it’s because the binary supports both 32-bit and 64-bit. The App Store only wants 64-bit architectures. There’s a way to remove 32-bit support using the following command.

lipo /path/to/file -remove i386 -output /path/to/file