Open danthorpe opened 8 years ago
Have you had any success? I don't know if it's related but I have the same error and on debugging in XCode it appears to be an intermittent error from trying to access a property of of a CoreData object which returns EXC_1386_BPT
Hi @AJamesPhillips - no, I've not been able to progress further down this route. At the moment, I'm holding on to hope that SwiftPM will solve this for me.
I saw a Twitter post that showed that WebKit is compiled like this, gonna find it.
Here http://promisekit.org/news/2016/08/Multiplatform-Single-Scheme-Xcode-Projects/ An Apple engineer confirmed they use this method internally.
I know this is a little bit old... but following on from this blog post: https://colemancda.github.io/programming/2015/02/12/embedded-swift-frameworks-osx-command-line-tools/
This all works fine for running the command line tool from within Xcode. However, how can the tool be packaged up into a single binary which can then be run from the command line? For example:
$ chmod a+x MyTool
After doing this, and then running the binary in Terminal will give:
Any ideas on how to make this work - everything works okay running from within Xcode.