The 1. dynamic library is built for the correct architecture. If the mobile phone is iPhone7, it is necessary to establish a dynamic library of ARM64 architecture.
2. Dynamic libraries depend on other system libraries or frameworks. If these dependencies do not exist or are unavailable, problems will arise. Ensure that the dynamic library has all necessary dependencies and that these dependencies are compatible with the system libraries and frameworks on the target device.