Pretty sure you can't build standalone Swift-based frameworks, only embedded (not necessarily impossible, mind, but unsupported for anyone not already called Apple). See:http://stackoverflow.com/a/24072626/2298645That discusses Xcode 6/Swift 1.x, but I've been trying to build a standalone framework using Xcode 7/Swift 2 and get exactly the same results. It's a right PITA for third-party framework devs wanting to build out the larger ecosystem, but there's a lot of things about Xcode7 and Swift2 that aren't properly baked yet so not entirely surprising. (Apple's platform is all about the apps now, so as long as embedded frameworks are working, standalone build support probably isn't a high priority.) For now, I think you just have to grit your teeth and add a build phase shell script to your commandline project to copy your latest framework files over to it whenever it builds (ugh).
Topic:
Programming Languages
SubTopic:
Swift
Tags: