iphone:跨平台引用和引用外部框架资源
正在开发 iPhone 应用程序和单独的框架。
单独的框架适用于我正在构建的 API,以便在未来的多个应用程序中使用。
该 api 现在需要引用资源(图像)。我想做的是将 API 框架的资源保留为本地资源集。
我按照 http://www.clintharris.net/2009/ 的说明进行操作iphone-app-shared-libraries/ 设置我的应用程序项目以使用来自单独 API 框架的标头。
我似乎无法弄清楚如何将框架的资源自动加载到应用程序的 xcode 环境中,以便可以在应用程序编译时链接它们。
当然,我可以将框架中的资源拖到主应用程序的资源集中。但这看起来有点难看,而且另一个可能可以自动化的步骤(??)有人知道更好的方法吗?如果框架的任何更改都可以在主应用程序中自动可用(由于项目“link-age”),那就太好了。
感谢您的任何帮助/提示/建议...
working on an iphone app and separate framework.
the separate framework is for an API that i'm building for use in multiple future apps.
this api now needs to reference resources (images). what i would like to do is keep the resources WITH the API framework as local set of resources.
i followed the instructions from http://www.clintharris.net/2009/iphone-app-shared-libraries/ to setup my app's project to use the headers from the separate API framework.
what i can't seem to figure out is how to automatically load the framework's resources into the app's xcode environment so they can be linked in at app compile time.
sure, i can drag the resources across from the framework into the main app's set of resources. but that seems kinda ugly and another step that possibly can be automated (??) anyone know of a better way? it would be great if any changes from the framework would be automatically available in the main app (due to the project 'link-age').
thanks for any help/tips/suggestions...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法创建自己的框架并让使用该框架制作的应用程序被 iTunes 商店接受...Apple 不允许 App Store 中使用其他框架。
You can't make your own frameworks and have the apps made with that framework get accepted into the iTunes store... Apple doesn't allow other frameworks in the App Store.