The Architecture of all projects uses Standard
Xcode setting when generating static libraries such as Libluacocos2d ios. a
Build Active Architecture Only — NO
Excluded Architecture – empty
The project file displays the package contents, the source code opens, search for the VALID_ARCHS, and remove all the keys and values for that item
Run the project and generate the. A file
Open a terminal, the implementation of lipo – info/Users/apple/Desktop/libluacocos2d \ iOS a check architecture At this time should be included, i386, x86_64, arm64
Perform lipo/Users/apple/Desktop/libluacocos2d \ iOS a – remove x86_64 – the output/Users/apple/Desktop/libluacocos2dios. A Remove the X86_64 schema
Import the. A file to the test project
Test engineering Settings:
Build Active Architecture Only — NO
Excluded Architecture — x86_64
VALID_ARCHS deletes key values
The test project was compiled and passed