Using the Swift command under Ubuntu is too much fun, or trying to tinker with a Mac's virtual machine
Wei Feng Network has a few related articles, but a lot of resources to share can not download, in addition to this: http://bbs.feng.com/read-htm-tid-7625465.html, reference from this article. This article is particularly good, once again thank the original author, back and forth to build several times this environment, repeatedly study the installation process, the article is very detailed, the system installs an update package, you can use xCode6.0, just good can use Swift.
Resource pack Baidu Cloud Download: Http://pan.baidu.com/s/1pKAzBXD
During the installation process, 14 steps to install the system kernel, such as CP command here
Cp-rp/backup/kexts/elliottforcelegacyrtc.kext/volumes/mnt/system/library/extensions
Novice estimates will not appear this problem, a letter a letter of the knock out, but only the Ah tab prompt, knock out will be like this,
cp-rp/backup/kexts/elliottforcelegacyrtc.kext/ /volumes/mnt/system/library/extensions
After the source file name more than one/, the copy will appear without error, but in fact no replication succeeded. Here is the place to be aware.
Virtual machine mac and native resource sharing, because not ISO file installed, cannot use VirtualBox installation enhancements, so use the SMB mode,
Window End:
Find a folder to set up sharing
Windows login to have a password, if you cancel the boot login password, first go to set up a, because the MAC connection requires a password to log in.
In the user account in Control Panel
Use view native IP (My computer is a connected router, so use the LAN IP)
Or
Then Mac side:
The Finder menu----Connect to the server
Enter the password to log in.
I put the software I need to install, such as Xcode6, in a shared folder.
Install the update package first, double-click the installation directly
After the completion of the best reboot Mac and virtual machine, and then open the shared folder, double hit Open xcode6, put Xcode down and drag into the application, and so done.
When you're done, open Xcode, choose Create a new Xcode project, select the project path, and wherever you want to go.
Then create a new Swift iOS application
Create a new name, language select Swift
Find a file path or a new one, and then new project is built, the following first use WebView control to access Baidu
Write Viewcontroller definition UIWebView
Bound control
Run:
If only the default Welcome screen, because the view is overwritten, modify the Main.storybord as follows, delete what you don't need.
Setting up a Mac environment under Swift's VirtualBox