How to test and debug Cocoa App on different version of OSx using same Mac?

我怕爱的太早我们不能终老 提交于 2020-06-23 08:27:06

问题


I made an Application using my Mac with Yosemite. On Completion of that I archived it and Then distribute to few friends, one of them have Mavericks. I faced some issues on that Mavericks System. With the occurrence of this thing, following queries raised in my mind,

  • Can I check my application on different OSX version, without running it actually on different MACs?
  • Can I also debug my application with different OSX Versions, using a system having single Osx?

In Nutshell, I want to know, is it Possible to test Cocoa application with multiple versions? something similar like iOS development where I can run app on different iOS versions.


回答1:


I am going to suggest to buy a copy of VMWare or Parallels to install older OS X versions in a virtual machine.

You can download older versions of OS X from https://developer.apple.com or buy them online via http://store.apple.com/ca/help/downloadable_software#MacOSX

This works pretty well and saves you from the trouble of making a dual boot machine. Which is often not even possible because recent hardware may only work with Yosemite.



来源:https://stackoverflow.com/questions/28188263/how-to-test-and-debug-cocoa-app-on-different-version-of-osx-using-same-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!