Hello,
I'm trying to publish Xamarin.Mac app with the help of Application Loader but getting few errors and one of them is like:
ERROR ITMS-90240: "Unsupported Architectures. Your executable contained the following disallowed architectures: '[i386 (in com.xyz.testapp.pkg/Payload/testapp.app/Contents/MonoBundle/libMonoPosixHelper.dylib)]'.
There are two options in the Architecture Dropdown (i386 & x86_64) and i have selected x86_64 which indicates for 64 bit.
I have searched online and got many results about fix but didn't get it clearly how to proceed with it. Also read about Lipo command but couldn't get how to start with it using my Terminal.
One solution from stackoverflow.com ([https://stackoverflow.com/questions/30547283/submit-to-app-store-issues-unsupported-architecture-x86/30866648#30866648])
-Open Terminal
-open your project drag path of respective framework to Terminal
-example : cd /Users/MAC/Desktop/MyProject/Alamofire.framework
-set your Framework name in below command and run
-lipo -remove i386 Alamofire -o Alamofire && lipo -remove x86_64 Alamofire -o Alamofire
I didn't get the framework path here (how to get that).
Please help me. Thank you.