Wednesday, March 8, 2017

ios & xcode: Fix framework not load with error of "code signing blocked mmap()"

When running ios project on ios real device, the app may crash with an error of "code signing blocked mmap()". Although the same project can run properly on simulator.

After some testing, figure out the issue is related to the Apple Signing certificate. To fix the issue, first delete all Apple signing cert from keychain. Then open Xcode preference/Account, select the Apple ID, and the right team. Click view details, and reset button for ios development in signing identity section.

This is the only method that fixes the error in my test.

No comments:

Post a Comment