1
dingtianran 2012-07-27 11:39:55 +08:00
的确是 现在只有5.1模拟器了
|
2
lqik2004 2012-07-27 12:02:46 +08:00
嗯,确实是没法用了。
我打开 ~/Library/Caches/com.apple.dt.Xcode/Downloads/eded78df8bfabaf6560841d10cf8e53766f74f28.dvtdownloadableindex 然后发现 <dict> <key>source</key> <string>http://adcdownload.apple.com/ios/ios_simulator__resigned/ios_43_simulator.dmg</string> <key>identifier</key> <string>Xcode.SDK.iPhoneSimulator.4.3</string> <key>name</key> <string>iOS 4.3 Simulator</string> <key>userInfo</key> <dict> <key>InstalledIfAllPathsArePresent</key> <array> <string>$(DEVELOPER)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk</string> </array> <key>ActivationPredicate</key> <string>$MAC_OS_X_VERSION < "10.8.0"</string> </dict> </dict> 其中有一句<key>ActivationPredicate</key> <string>$MAC_OS_X_VERSION < "10.8.0"</string> 但是如果我修改了这句话也还是不行,一旦打开xcode这个文件就会被修改回去(貌似是被替换成别的) |
3
yingkong1987 2012-08-09 04:31:11 +08:00
I've looked into it, and this is a deliberate behavior from Apple.
Here is an (edited) extract of the cache for Xcode download locations: ~/Library/Caches/com.apple.dt.Xcode/Downloads/eded78df8bfabaf6560841d10cf8e53766f74f28.dvtdownloadableindex <dict> <key>source</key> <string>http://adcdownload.apple.com/ios/ios_simulator__resigned/ios_43_simulator.dmg</string> <key>identifier</key> <string>Xcode.SDK.iPhoneSimulator.4.3</string> <key>name</key> <string>iOS 4.3 Simulator</string> <key>userInfo</key> <dict> <key>InstalledIfAllPathsArePresent</key> <array> <string>$(DEVELOPER)/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk</string> </array> <key>ActivationPredicate</key> <string>$MAC_OS_X_VERSION < "10.8.0"</string> </dict> </dict> Note the explicit "ActivationPredicate: $MAC_OS_X_VERSION < 10.8.0" setting, which is not present on other simulator packages. I tried to edit the file, but it is replaced by another version as soon as Xcode opens. And I couldn't manage a manual download of the 4.3 Simulator DMG: the ADG website throws a "Session expired" error. Looks like Apple had issues with the 4.3 simulator, and decided to disable it. Which sucks for people that have to support this version. http://stackoverflow.com/questions/11651773/how-to-install-simulator-sdk-4-3-to-xcode-4-4-on-mountain-lion 也就说,山狮系统中无法使用4.3模拟器..楼上翻译的还行.大概意思都出来了. |
4
zhigang1992 2012-08-09 16:22:45 +08:00
ML中英还可以同时安装两个Xcode的不? 不知道行不行...
|
5
blank_dlh 2012-08-09 16:37:37 +08:00
看了下4.4.1的说明,貌似已经修复了
|
6
adow 2012-08-17 16:44:49 +08:00
啊我刚升级到了Moutain Lion,XCode Version 4.4.1 (4F1003),但是发现 Downloads里面只有iOS 5.0 Simulator了,4.3的没有了,居然也没有5.1的啊,这是怎么回事?
|
7
wezzard 2012-08-17 16:46:51 +08:00 1
因爲5.1就是自帶的模擬器
|
9
csx163 2012-08-17 16:59:26 +08:00
请问lion不升级还能用xcode么
|