Win7下使用VMware Workstation 12 Pro安装OS X 10.8(2015-12-30 10:28)

Win7台式机配置:
CPU:i3-4150,3.50GHz,双核四线程
RAM:4.00GB(3.89GB=3980MB可用)
OS:Windows 7 Ultimate, 64-bit 6.1.7601, Service Pack 1
VMware12虚拟机许可证密钥:5A02H-AU243-TZJ49-GTC7K-3C61N
虚拟机苹果补丁unlocker203
苹果镜像:
OS_X_10_8_Mountain_Lion.torrent
OS X 10.8 Mountain Lion GM Build 12A269.dmg
OS X 10.8 Mountain Lion GM Build 12A269.iso
下载并安装软碟通UltraISO,将DMG格式转换为ISO格式

关闭系统睡眠功能,因为黑苹果待机会导致死机。
点击“系统偏好设置 | 节能器”,将睡眠设置为永不。

问题1:
我们无法完成您的购物操作。
“Xcode”不能安装在“未命名”上,因为需要OS X v10.10.5或更高版本。
解决方法:
使用ISO镜像文件darwin.iso,安装VMware Tools
未命名,29.37GB可用,总共42.09GB
安装这个软件需要6.5MB的磁盘空间
重启OS X
启用共享文件夹
D:\hxhwin7
重启OS X
前往|电脑
采用DiskImageMounter方式打开D:\hxhwin7\Xcode5.1.1\xcode 5.1.1.dmg
Xcode 5.1.1.dmg
http://pan.baidu.com/share/link?uk=1579991764&shareid=789357667&third=0&adapt=pc&fr=ftw
Xcode 4.6.3(app.maiyadi.com).dmg
http://pan.baidu.com/share/link?shareid=2280564070&uk=3591059215&fid=420163109045607
前往|应用程序
点击Xcode
应用程序Xcode的这个版本不能与此版本的OS X配合使用。
您使用的是OS X 10.8。该应用程序要求OS X 10.8.4或更高版本。

正在安装OS X更新
正在重新启动
打开“关于本机”,可以发现已经更新到10.8.5了
版本10.8.5
软件OS X 10.8.5(12F45)
HelloWorld
创建新项目
创建iOS应用
Single View Application
Deployment Target:
6.0
6.1
7.0
7.1
在主视图加入一个Button
运行
iOS模拟器-iPhone Retina(3.5-inch)/iOS7.1(11D167)
 
问题2:
Product|Archive
No matching code signing identify found
No codesigning identities(i.e. certificate and private key pairs)matching "iPhone Developer" were found.Xcode can resolve this issue by downloading a new provision profile from the Member Center.
【Cancel】【Fix Issue】

第一步:制作证书
1)打开  Finder->应用程序->实用工具 ->  钥匙串访问
2)单击:"钥匙串访问"选择"证书助理" 再选择"创建证书"过程如下图:
第二步:修改Xcode配置文件
注:如遇到文件无法解锁没有权限不能修改,可以复制一份出来,修改好之后将原来的替换掉
1)修改SDKsettings.plist文件
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk
打开该目录下的SDKSettings.plist文件,把CODE_SIGNING_REQUIRED和ENTITLEMENTS_REQUIRED的值改成NO

打开Xcode中product安装包目录文件夹方法
1. 打开终端
2. cd /Users/Hsq/Library/Developer/Xcode/DerivedData     进入到DerivedData目录
3. 命令:  open .      打开DerivedData文件夹

第四步:修改项目属性
1)点击项目图标,找到"Build Settings"选项下的"Code Sign Identity",将其值全部改为"Don't Code Sign"
……
生成HelloWorld.ipa

Xcode4.6.3
iOS SDK 6.1
iPhone 6.1 Simulator
Deployment Target
6.1
6.0
5.1
5.0
4.3
问题3:Code Signing Error
Code Sign error:A valid provisoning profile matching the application's Identifier 'bll-HelloXcode4-6-3' could not be found
修改SDKSettings.plist、Info.plist
问题4:Dependency Analysis Error
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 6.1'
CodeSign error: A valid provisioning profile matching the application's Identifier 'bll.HelloXcode4-6-3' could not be found
解决方法如下:
选择工程->Build Settings -> Code Signing -> Code Signing Identity -> Debug -> Any ios SDK 将选项改为:iPhone Developer
生成Xcode4.6.3Test.ipa

Xcode4.6.3破解前:
The run destination iOS Device is not valid for Running the scheme 'HelloXcode4.6.3'.
The scheme 'HelloXcode4.6.3' contains no buildables that can be built for the architectures supported by the run
destination iOS Device. Make sure your targets build for architectures compatible with the run destination iOS
Device.
Xcode4.6.3破解后:
"codesign"想要使用您的钥匙串中的秘钥"iPhone Developer"进行签名。
您要允许访问此项目吗?
【总是允许】【拒绝】【允许】

20160121问题:
无法从虚拟机OS X 10.8.5升级到OS X EI Capitan(OS X 10.11),此版本的OS X不支持银联
解决方法:
登录iTunes,在帐户信息中把Apple ID的付款方式换成无就可以了。




你可能感兴趣的:(Win7下使用VMware Workstation 12 Pro安装OS X 10.8(2015-12-30 10:28))