標籤:
http://www.cnblogs.com/cb168/p/4793913.html
Delphi IOS環境安裝
RAD Delphi XE/10 Seattle 安裝IOS、OSX環境安裝,IOS模擬器,MAC X
真機可以調試
http://community.embarcadero.com/blogs/entry/rad-studio-trial-fully-testeable
http://www.embarcadero.com/starthere/seattle/mobdevsetup/ios/en/index.html
參考
http://www.bubuko.com/infodetail-790015.html
1、Win7 開發主機,RAD Settle 10
7G
2、虛擬機器VMware11
300M
3、install unlocker 206
在win7系統裡,unlocker 203、VMware Unlocker for OS X 2.0.3,使得VMware support Apple OS X
11M
在windows系統裡解壓unlocker206,運行win-install.cmd
4、VMware安裝Mac系統
OS X 10.7,MAC OS X 10.10.5
7G,Yosemite Install(14F27).cdr
New virue machine select file ..
https://developer.apple.com/osx/download/
https://developer.apple.com/downloads/
VMware>Create a New Virtual Machine>Installerdiscimagefile(Yosemite Install(14F27).cdr)>
1)安裝虛擬機器,可能會出現提示
Mac OS X is not supported with binary translation. To run Mac OS X you need a host on which VMware Workstation supports Intel VT-x or AMD-V.
解決方案是 在BIOS裡開啟CPU虛擬化。
找到Config中的CPU中[Core Multi-Processing]及[Intel(R) Hyper-Threading Technology] 這2項都改成=>[Enabled]
找到Security中的Virtualization中[Intel(R) Hyper-Threading Technology]這項改成=>[Enabled]
參考這裡
http://jingyan.baidu.com/album/bad08e1e9a95ef09c8512192.html?picindex=3
2)此時啟動虛擬機器mac系統報錯,vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1123
find OS X folder 安裝目錄,開啟VMX檔案, 比如你的客戶機名字為OSX, 這個檔案就是OSX.vmx,
你將會看到有一個smc的參數:
smc.present = "TRUE"
把smc.version = 0 載入這個參數後面一行, 儲存退出。重新啟動客戶機發現能正常啟動了
3)there is not enough free space on yosemite install(14F27) to install
重啟安裝以後,選擇磁碟,只有14F27,此時在虛擬機器裡的OS X 系統>Utilities>Disk Utility>Erase ok >close window> 此時新增一個了一個磁碟。選擇安裝就可以了。
安裝 VMware tools
VMware>VM>VMware install tools是灰色的。安裝以後就可以了。
5、VMware安裝darwin6.0.3
11M,darwin6.0.3.iso,滑鼠流暢了。
Graphics Tools for Xcode7, 45M
在安裝目錄下也可以找到D:\Program Files (x86)\VMware\darwin.iso掛載安裝。
D:\Program Files (x86)\VMware\darwin.iso
vmware>setting>hardware>dvd/cd>select darwin.iso
參考
http://jingyan.baidu.com/article/d5c4b52bc05c1fda560dc5da.html
安裝後就可以共用資料夾了。
6.OS install PAServer ok! PAServer17.0.pkg
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Installing_PAServer
D:\Program Files (x86)\Embarcadero\Studio\17.0\PAServer\PAServer17.0.pkg
60M
on windows ,copy to VMshared folders.then open VMware,start os X ,find shared folders,double click PAServer17.0.pkg file,setup finished.
where is Shared Folders?
1.VM>Settings>options(not hardware)
2.Os X>Finder>Preferences>General>Connected servers checked>ok!
7.OS install XCODE
2.6G,V6.4
https://developer.apple.com/downloads/
Xcode7,3.5G
Xcode7.1 beta,4.3G,Xcode 7.1 beta requires a Mac running OS X 10.10.4 or later.
download xcode.dmg file>share file to vmware share folder>VMWare OS>VMWare shared folders>find xcode.dmg>double click xcode.dmg>move(drog) xcode to Applications.OK!
8.OS installl Command Line Tools
158M,Command_Line_Tools_OS_X_10.10_for_Xcode_6.4.dmg
https://developer.apple.com/downloads/
http://adcdownload.apple.com/Developer_Tools/Command_Line_Tools_OS_X_10.10_for_Xcode_6.4/Command_Line_Tools_OS_X_10.10_for_Xcode_6.4.dmg
Cmmand Line Tools OS X 10.10 for Xcode7,150M
vmware>OS X> open>VMWare shared folders>commm...dmg,open,open,command..pkg,open.install,next,next ok!
9.XCODE>downloads>Components
Xcode 手動安裝 iPhone simulator,
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
http://www.zuqan.com/archives/406
10.RAD IDE Adding a Mac OS X or iOS SDK
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Adding_a_Mac_OS_X_or_iOS_SDK
run osx PAServer.
RAD IDE/Tools>Options>SDK Manager>add
Adding a Mac OS X or iOS SDK
IP is OS X10.10.5 system IP. in Mac os,view ip command:ifconfig
port is default 64211,close firewall.
D:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.4.sdk\Applications
D:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.4.sdk\System
D:\Users\Administrator\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.4.sdk\usr
11.import IOS sdk
end
Target Platform選擇
OS X MacOSX10.10.3 ,F9,在虛擬機器上的mac系統看到app運行介面了。
IOS Simulator -iPhoneSimulator 8.4在虛擬機器上的mac系統看到app運行介面了。
IOS 帳號申請驗證的時候提示 暫時無法處理您的請求
那是因為之前提供的姓名、地址不正確,需要按正確格式填寫即可,不用綁定銀行卡也可以成功,要留電話號碼。
如何開啟IOS simulator
Xcode>Open Developer Toos>iOS Simulator
C:\Users\Administrator\Music\iTunes\iTunes Media\Mobile Applications\XXX 2.91.ipa
other problem
二進位轉換不支援用於 Mac OS X。要運行 Mac OS X,您需要一台 VMware Workstation 支援 Intel VT-x 或 AMD-V 的主機
fix:
在BIOS裡面開啟那個Visual Technology的東西
12.import IOS sdk
VMware os shared for other computer lnet,set 虛擬機器的網路需要設定為橋接模式,也就是bridge模式.ok,os ip 和其他區域網路的IP在一個段裡,其他機器就可以訪問了。
VMware>Open OS x tab>setting>Hardware>Network Adapter>Network connection>Bridged:Connected directly to the physical network.
reference http://www.2ccc.com/news/Html/?1487.htmlhttp://docwiki.embarcadero.com/RADStudio/Seattle/en/IOS_Mobile_Application_Development
http://www.cnblogs.com/weii/p/4688299.html 13.申請開發認證未付費的測試帳號,用Xcode申請一個7天認證。付費的登入網址 https://developer.apple.com
,找到Certificates, IDs & Profiles就可以申請了。沒有付費就沒有Certificates 菜單。只有下面的Document Forumns菜單。
14.查看上架結果https://itunesconnect.apple.com VMWare連不上iPhone,ipad的原因是虛擬機器的USB是3.0,設定為2.0就好了。開啟VMWare>選擇OS x,VM>Setting>Hardware>USB controller>USB2.0,restart OS ok!OS運行中無法設定USB 類型。
http://www.cnblogs.com/sun51586/p/5434112.html 機箱前面的USB插口有問題,串連不上,等待無響應,轉到後面的插口好了。 真機調試e8008015,2016.5.18,測試開發人員帳號,認證期限是1周,到期後無法安裝調試,用XCode裡開啟工程Fix一下,再看account的detail認證又有一個認證了,期限是1周。又可以真機調試了。
Delphi IOS環境安裝