|  |      1txx      2019-08-27 01:20:28 +08:00 via Android 与其在这里问 不如直接读一下 dyld 源码  几年前读过 还是挺清晰的 | 
|  |      2KomeijiSatori      2019-08-27 02:13:37 +08:00 | 
|      3Buffer2Disk OP 找到问题原因了,是因为开启了 hardened runtime 后,没有去指定开启权限,导致一些权限默认被禁止掉了 这里被禁掉的权限就是 DYLD Environment Variables 这个 具体文档如下 https://developer.apple.com/documentation/security/hardened_runtime_entitlements https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-dyld-environment-variables |