osx-mountain-lion

How to simulate a retina display (HiDPI mode) in Mac OS X 10.8 Mountain Lion on a non-retina display?

元气小坏坏 提交于 2019-11-26 08:39:51
问题 How can you simulate a retina display (HiDPI mode) in Mac OS X 10.8 Mountain Lion on a non-retina display? 回答1: Search for, download, and install Apple's free Additional Tools for Xcode 8 (for previous Xcode releases search for Graphics Tools for Xcode according to your version). Note: free Apple Developer account required. Launch Quartz Debug application. Go to menu: Window ---> UI Resolution . Check Enable HiDPI display modes . Quit Quartz Debug . Open System Preferences . Select Displays

Install Simulator SDK 4.3 to Xcode 4.4 on Mountain Lion

帅比萌擦擦* 提交于 2019-11-26 08:04:03
问题 I want to install SDK 4.3 in xcode 4.4 on mountain lion (os x 10.8), but when I installed the 4.3 sdk package from xcode 4.1 and launched the simulator from xcode 4.4, the simulator just told me that the ios simulator could not find the sdk. The sdk may need to be reinstalled, which means it couldn\'t run! What\'s wrong with xcode 4.4 GM? Are there any ideas about how to solve this kind of problem? 回答1: I've looked into it, and this is a deliberate behavior from Apple. Here is an (edited)

What is the “Illegal Instruction: 4” error and why does “-mmacosx-version-min=10.x” fix it?

大城市里の小女人 提交于 2019-11-26 03:39:19
问题 I get Illegal Instruction: 4 errors with binaries compiled with GCC 4.7.2 under Mac OS X 10.8.2 (\"Mountain Lion\"), when those binaries are run under Mac OS X 10.7.x (\"Lion\") and earlier versions. The binaries work properly under Mac OS X 10.8.x. I added -mmacosx-version-min=10.5 to my compile flags and this seems to help resolve the issue for 10.5.x, 10.6.x and 10.7.x clients, whatever that issue is. Which gets to my question(s): What is the Illegal Instruction: 4 error? Why does -mmacosx