Answered
1
0

Hi There,

From June Apple is blocking 32bit architecture content.

Subsequently I’m getting the following error when uploading my ‘pkg’ file.

ERROR ITMS-90240: “Unsupported Architectures. Your executable contained the following disallowed architectures: ‘[i386 (in com.sakanastudios.mykoi.pkg/Payload/MyKoi.app/Contents/Plugins/fmodstudio.bundle/Contents/MacOS/fmodstudio, com.sakanastudios.mykoi.pkg/Payload/MyKoi.app/Contents/Plugins/fmodstudioL.bundle/Contents/MacOS/fmodstudioL)]’. New apps submitted to the Mac App Store must support 64-bit starting January 2018, and Mac app updates and existing apps must support 64-bit starting June 2018.”

I read a thread (linked below) where someone had already encountered and resolved this issue, however I’m not a programmer by trade and this thread did not clearly, in my limited capabilities, explain how to extrapolate the 32bit content.

Here are the links for reference.

http://www.fmod.org/questions/question/mac-os-bundle-files-not-supporting-64-bit-flagged-as-disallowed-architechture-by-itunesconnect/

https://www.fmod.org/questions/question/fmod-64-bit-for-mac/

Any help, clarification would be greatly appreciated.

Many thanks,

Andy

  • You must to post comments
Best Answer
0
0

Looks like I’m better at this than I thought. Whether by luck or having sufficient patience to battle the Unity OSX build / packaging code, signing marathon. I figured out my own answer.

Might as well share it should anyone else require similar clarity on the necessary steps.

First here is a helpful link describing the functionality of ‘lipo’.
https://ss64.com/osx/lipo.html

In terminal you simply need to type the following.

$ lipo [Path to fmodstudio plugin in the fmodstudio.bundle, usually something like this; ‘/Users/UserName/FolderWhereYourAppFileIs/Your.app/contents/plugins/fmodstudio.bundle/Contents/MacOS/fmodstudio’] -output [Where ever you want to send the modified file, I just copied the above link and called the output file fmodstudio2, you might actually be able copy it over the existing file but I didn’t try] -remove i386

Once you run it you will get a new file that only contains the x86_64 architecture. You can then delete the old file and rename the modified file back to fmodstudio.

You then need to repeat the process for fmodstudioL

I guess it’s worth noting that if you got this far you will have already been through the process of removing all the meta data from said bundle files (thanks unity) and you can keep a copy of the cleaned Plugins folder so you no longer need to run through this process every time you create a new build until such time that you update FMOD.

Apologies for the length of this post. There might be better ways of achieving this and I’m all ears if anyone would like to share, but at least this might eventually help some poor soul out there.

  • Cameron Baron

    We will be removing the 32bit Mac libs but not until 1.11.

  • Andrew Dyson

    Thanks Cameron, that will be very helpful.

  • Ryan Miller

    It’s upsetting that FMOD still ships with 32-bit plugins on Mac when it’s been disallowed from App Store submission for months. Asking your users to lipo -thin the package themselves is a poor solution. FMOD mentions MacOS support, but currently does not do that out of the box.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.