swift-relationship-graph icon indicating copy to clipboard operation
swift-relationship-graph copied to clipboard

Not able to run examples

Open slcott opened this issue 7 years ago • 0 comments

I am not able to run the examples. This is output when I try to run one of them.

Scotts-MBP:examples slcott$ ./object-mapper.sh 
Cloning into '/Users/slcott/Desktop/swift-relationship-graph/examples/ObjectMapper'...
Enter passphrase for key '/Users/slcott/.ssh/id_rsa': 
remote: Counting objects: 4333, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4333 (delta 0), reused 2 (delta 0), pack-reused 4329
Receiving objects: 100% (4333/4333), 1.08 MiB | 355.00 KiB/s, done.
Resolving deltas: 100% (2751/2751), done.
~/Desktop/swift-relationship-graph/examples/ObjectMapper ~/Desktop/swift-relationship-graph/examples
Note: checking out '1.5.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 6b80f55... updated signing settings
Running xcodebuild
Could not parse compiler arguments from `xcodebuild` output.
Please confirm that `xcodebuild` is building a Swift module.
Saved `xcodebuild` log file: /var/folders/z2/pb7n1y692j96gj4q1wgwll400000gn/T/xcodebuild-C7482585-D651-4D46-A83D-799D03081889.log
Failed to generate documentation
~/Desktop/swift-relationship-graph/examples

SyntaxError: Unexpected end of JSON input
  at JSON.parse (<anonymous>:null:null)
  at /Users/slcott/Desktop/swift-relationship-graph/lib/relationship-graph.coffee:71:19
  at tryCatcher (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/util.js:16:23)
  at Promise._settlePromiseFromHandler (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/promise.js:510:31)
  at Promise._settlePromise (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/promise.js:567:18)
  at Promise._settlePromise0 (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/promise.js:612:10)
  at Promise._settlePromises (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/promise.js:691:18)
  at Promise._fulfill (/Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/promise.js:636:18)
  at /Users/slcott/Desktop/swift-relationship-graph/node_modules/bluebird/js/release/nodeback.js:42:21
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:503:3)


Scotts-MBP:examples slcott$ 

slcott avatar Jun 14 '17 13:06 slcott