Delphi xe4 for IOS running environment Configuration

Source: Internet
Author: User

I only have one win host and cannot borrow an Apple Computer. Use a virtual machine to solve this problem. Use VMware to install Apple OS. (Virtualization is required)

1. InWindowsDownloadXe4
2. UseVMWareDevice InstallationMacVirtual Machine (specific installation can see here http://unmi.cc/vmware9-install-mac-os-x-mountain-lion ).MacAfter installation, install

Xcode.XcodeYou can install it through the Apple store or download the offline installation package. After the download is complete, copy it to the Virtual Machine for installation. If you cannot copy it to the virtual machine or the host

File Sharing. The details are as follows:

Click "go to server" in the "Finder" menu 」

The following address is the host address. A shared directory named iphonesdk has been set in window.

.

Connecting

The user name has been remembered before, so the login is not displayed. The Login User and password will pop up for the first time (the user under Win)

Next, install paserver, open the c: \ Program Files (x86) \ Embarcadero \ rad studio \ 11.0 \ paserver directory, and copy the entire directory to the shared directory,

Enable and install paserver on Mac.

 

If xcode has downloaded the offline installation package, the installation method is the same as paserver. Install the following on the Apple Store:

Click here for free (enter the user information of Apple ).

And offline installation is specific can refer to here http://wenku.baidu.com/view/5a783e67783e0912a2162a51.html

After xcode is installed, We need to install command line tools. Open xcode, for example:

Command Line tools must be installed. Other sdks are installed here.

3. ConfigurationConnection ProfileConnectMac

After xcode, command line tools, xe4, and paserver are installed, you can configure the connection profile. Ide uses it to connect to Mac and run OS X and iOS applications on Mac.Program.

In tools-> options-> environment options-> connection profile manager-> Add, add the paserver IP address in Mac, and select OS X as the platform.

To add a connection profile, follow these steps:

In the xe4 IDE, choose tools> options, select environment Options> connection profile manager in the list on the right of the pop-up options form, and press Add... To create a connection profile,

Enter the profile name (for whatever name you like, enter iphpne6 here) and set platform to OS X:

Enter the mac ip address or machine name (for IP address changes frequently, we recommend that you enter the machine name), paserver port number, and password (leave it blank,

If it is set, the system will prompt that the connection fails. I don't know why. Remember, but it takes a lot of time here ):

After entering the information, click test connection to test whether the connection is successful. The result is as follows. (Paserver is running on Mac,

When paserver is running, you will be prompted to enter the password)


4. ImportSDKThe steps are as follows:

Tools-> options-> environment options-> select iOS device. After importing the SDK file, click "update local File Cache" and click "save" on the right.

 

In the xe4 IDE, choose tools> options, select environment Options> SDK manager in the list on the right of the pop-up options form, and press Add... Button to bring up the wizard form for creating the SDK,

Select the platform as IOS device, select the connection profile we created earlier, and select an iOS SDK version,

Click OK and the local file cache will be automatically updated,

Now, the SDK we selected will be added.

The overall environment is basically configured. Now we can use xe4 for iOS development. Next time, explain how to debug the IOS Virtual Machine and the real machine.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.