search

Home  >  Q&A  >  body text

iOS 10通过dlopen加载动态库报错

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
这个错误怎么解决?

伊谢尔伦伊谢尔伦2771 days ago1173

reply all(0)I'll reply

No reply
  • Cancelreply