Swift Notes III using Xcode

Source: Internet
Author: User

Build a Xcode project. OS X > Application > Command Line tool because we just want to play the Swift language feature does not do UI.

Product name; Example
ORG Name:cyper
ORG Id:me.cyper
Bundle Id:me.cyper.example

Saved on the desktop.
Example > Example.xcodeproj
Example > Example/main.swift

Select Products>example, right identity and type, type select Unix-executable to see the full path of the resulting executable file
/users/cyper/library/developer/xcode/deriveddata/example-ajcwintjwwixdreqjjijwrzqriom/build/products/debug/ Example

This hello world file is about 5M

?  Debug  $ pwd/users/cyper/library/developer/xcode/deriveddata/example-ajcwintjwwixdreqjjijwrzqriom/build/ Products/debug?  Debug  $ lltotal 10904-rwxr-xr-x  1 cyper  staff   5.3M Oct 20:03 exampledrwxr-xr-x  4 cyper  Staff   136B Oct 20:00 example.swiftmodule/?  Debug  $./examplehello, world!?  Debug  $





Swift Notes III using Xcode

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.