How does xcode project for a command line tool designate which swift file is the entry point? -


i've apparently done wrong xcode (v6.3.1) project using swift. when attempt build, startup statements in main.swift flagged compiler error: "statements not allowed @ top level". project contains multiple targets, each building multiple swift files. command-line app target failing build way.

is there setting somewhere in project file designates swift file main entry point, , allows top-level statements?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -