iOS 10通过dlopen()方法加载动态库文件(framework),加载失败,在iOS 10一下版本程序运行都是正常的。
失败log:
Unable to open library: dlopen(/var/mobile/Containers/Data/Application/D1A149D1-5CAF-4B69-8CB8-9A45CEAF86AB/Documents/MkDependency.framework/MkDependency, 4): no suitable image found. Did find:
/var/mobile/Containers/Data/Application/D1A149D1-5CAF-4B69-8CB8-9A45CEAF86AB/Documents/MkDependency.framework/MkDependency: file system sandbox blocked mmap() of '/var/mobile/Containers/Data/Application/D1A149D1-5CAF-4B69-8CB8-9A45CEAF86AB/Documents/MkDependency.framework/MkDependency'
file system sandbox blocked mmap() of
这个错误怎么解决?