Using xcode12 to build the cocos2d 3.17 project has the following similar problems:
the linked framework is missing one or more architectures required by this target arm64
The reason: because V8 does not support 32-bit CPU, that is, it does not support armv7. If you do not need to support 32-bit devices, you can directly remove the compilation of armv7
Amend as follows:
Basically, the above four modifications can solve the project running in the debug mode. It has not been tried on the real machine for the time being. It should also directly modify the configuration in the release.
There will be some minor problems after modifying the above:
1.Argument value 10880 is outside the valid range [0, 255]
Amend as follows:
Need to
#define BT_ SHUFFLE(x,y,z,w) ((w)<& lt; 6 | (z)<& lt; 4 | (y)<& lt; 2 | (x))
Change to
#define BT_ SHUFFLE(x, y, z, w) (((w) <& lt; 6 | (z) <& lt; 4 | (y) <& lt; 2 | (x)) & 0xff)
2.The application’s Info.plist does not contain CFBundleShortVersionString.
Modify as follows: add cfbundleshortversion in info.plist
Read More:
- Cocos creator 2.4.5 2D RPG (Infinite scrolling background implementation)
- How to Solve Cocos Creator 3.x 2D Ray Detect Error
- swift stdlib tool error is reported after xcode upgrade xcode9 1
- Unity3D error CS0227: Unsafe code may only appear if compiling with /unsafe…
- “There was an internal API error” in Xcode debugging;
- Start react-native after updating Xcode11 and report an error: Unknown argument type ‘_attribute_’ in method -[RCTAppState getCurren
- Open the Cocos creator editor and report an error property UUID of null
- Problems in compiling and using node FFI under electron
- A strange problem in compiling OpenGL program
- IOS automation: error dyld in Xcode compilation_ shared_ cache_ extract_ Dylibs failed — the solution is as follows
- Summary of problems encountered in compiling opengl code
- Small problems encountered in compiling OpenGL under VS2010
- Summary of problems encountered in compiling and installing vtk7 + vs2013 / 2015 + cmake
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- A solution to the problem of “straight ‘\ 357’ in program” when compiling GCC
- Methods of compiling and installing ffmpeg and libx264 in Linux
- Create a D3D11 application process
- Xcode 12 compiles and reports errors on simulator
- Xcode – pbxcp Error Repair – no such file or directory
- Error in compiling rmarkdown to PDF file` xxx.sty ‘ not found.