SPM: how to create cocoa xcode projects?


(Rien) #1

Just a quick question,

swift package init —type executable

creates an xcode project with a main.swift.

I want to create a macOS cocoa based application.

How is that best achieved?
Or is that not supported yet?

Regards,
Rien

Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: http://github.com/Balancingrock
Project: http://swiftfire.nl


(Doug Hill) #2

In Xcode, select menu item File>New>Project

Select the template for macOS>Cocoa Application

Doug Hill

···

On Jan 26, 2017, at 4:24 AM, Rien via swift-users <swift-users@swift.org> wrote:

Just a quick question,

swift package init —type executable

creates an xcode project with a main.swift.

I want to create a macOS cocoa based application.

How is that best achieved?
Or is that not supported yet?

Regards,
Rien

Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: http://github.com/Balancingrock
Project: http://swiftfire.nl

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


(Rien) #3

In Xcode, select menu item File>New>Project

Select the template for macOS>Cocoa Application

Doug Hill

Yes, but what is the best way to create a cocoa application building on a bunch of SPM packages?

Rien.

···

On 26 Jan 2017, at 17:58, Doug Hill <swiftusers@breaqz.com> wrote:

On Jan 26, 2017, at 4:24 AM, Rien via swift-users <swift-users@swift.org> wrote:

Just a quick question,

swift package init —type executable

creates an xcode project with a main.swift.

I want to create a macOS cocoa based application.

How is that best achieved?
Or is that not supported yet?

Regards,
Rien

Site: http://balancingrock.nl
Blog: http://swiftrien.blogspot.com
Github: http://github.com/Balancingrock
Project: http://swiftfire.nl

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users