Xcode 8 : Cocoa touch static library - Error: Apple App Store allows only universal applications.


        Actually, i've build cocoa touch static library for adobe air app but then this full error happen.
Error: Apple App Store allows only universal applications. "libxxx.a" is not a universal binary. Please change build settings in Xcode project to "Standard Architecture" to create universal library/framework.

        Because one of "iOS Simulators" list was selected before build library like below image.


        So the easy way is under category "Build Only Device" change it to "Generic iOS Device", all build goes fine and when we build for adobe air app it's no problem too.


Let's take care about it.

Comments