首页
社区
课程
招聘
[求助]求助如何编译dyld
发表于: 2015-4-25 20:49 8037

[求助]求助如何编译dyld

2015-4-25 20:49
8037
CrashReporterClient.h这些头文件都哪里来了

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

上传的附件:
收藏
免费 0
支持
分享
最新回复 (3)
雪    币: 71
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
2015-4-25 20:58
0
雪    币: 71
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
注意第4条,应该是添加一个框架.
 1) Create Directory: /tmp/objc.dst/usr/include

  2) from libauto project, get auto_zone.h. Put it in the directory we just created.

  3) from libclosure project, get Block_private.h. Put it in the directory we just created.

  4) from libc project, get CrashReporterClient.h. Put it in the directory we just created.

      from libc project, get pthreads/pthread_machdep.h. Put it in the directory we just created with dirname of "system".

  5) from libdispatch project, get private-dir codes. Put it in the directory we just created with dirname of "dispatch".

  6) from dyld project, get dyld_priv.h. Put it in the directory we just created with dirname of "mach-o".

      from dyld project, get objc-shared-cache.h. Put it in the directory we just created.

  7) from xnu project, get osfmk/machine/cpu_capabilities.h. Put it in the directory we just created with dirname of "system/machine".

  8) from lanuchd project, get vproc_priv. Put it in the directory we just created.

  After did all these stuff, you'll get a structure as follow:
2015-4-25 21:02
0
雪    币: 71
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
In the project navigator, select your project.
Select your target.
Select the "Build Phases" tab.
Open "Link Binaries With Libraries" expander.
Click the + button.
Select your framework.
2015-4-25 21:04
0
游客
登录 | 注册 方可回帖
返回
//