Skip to content

Latest commit

 

History

History

Generator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Needle Code Generator

Building and developing

Compiling from source:

First resolve the dependencies:

$ swift package update

You can then build from the command-line:

$ swift build

Or create an Xcode project and build using the IDE:

$ swift package generate-xcodeproj --xcconfig-overrides xcode.xcconfig

Note: For now, the xcconfig is being used to pass in the DEBUG define.

Debugging

Needle is intended to be heavily multi-threaded. This makes stepping through the code rather complicated. To simplify the debugging process, set the SINGLE_THREADED enviroment variable for your Run configuration in the Scheme Editor to 1 or YES.