如何使用 PackageMaker 更新现有框架包?
我开发了一个框架,在其中更改了库 API。我更改了安装的版本号以指示 API 更改。但是,旧版本会被安装程序删除。
如何构建一个包,将旧的 API 版本保留在新库旁边?
例如,MyFramework v1.0 实现了接口的版本 A,并安装在 /Library/Frameworks/MyFramework/Versions/A 中。 v2.0 实现了接口的版本 B。它安装在/Library/Frameworks/MyFramework/Versions/B中。 安装程序应用程序不断删除目录/Library/Frameworks/MyFramework/A。我想保留该目录,以便我有:
/Library/Frameworks/MyFramework/A
/Library/Frameworks/MyFramework/B
I have developed a framework where I changed the library API. I changed the installed version letter to indicate the API change. However, the old versions are deleted by Installer.
How do I build a package that will leave the old API version beside the new library?
For example, MyFramework v1.0 implements version A of the interface and is installed at /Library/Frameworks/MyFramework/Versions/A. v2.0 implements version B of the interface. It is installed in /Library/Frameworks/MyFramework/Versions/B. The Installer applicaiton keeps deleting the directory /Library/Frameworks/MyFramework/A. I want to keep that directory so that i have:
/Library/Frameworks/MyFramework/A
/Library/Frameworks/MyFramework/B
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论