【发布时间】:2013-06-10 10:15:04
【问题描述】:
在 Mountain Lion 上,使用 Xcode 4.6.2,如下代码
for (NSBundle *aBundle in [NSBundle allFrameworks]) NSLog(@"%@", [aBundle bundlePath]);
记录一切,我的意思是系统中安装的每个框架(不仅仅是应用程序的框架,如 NSBundle 文档中所述)。
这正常吗?
【问题讨论】:
-
可能只是因为它包含
usr/lib框架,这些框架被运行时和其他库隐式链接。你确定它是每个系统框架吗? -
你说得对。
-
那我就把它作为答案。
标签: objective-c xcode frameworks nsbundle