{"action":"created","issue":{"url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/22","repository_url":"https://api.github.com/repos/IBM-Swift/kitura.io","labels_url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/22/comments","events_url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/22/events","html_url":"https://github.com/IBM-Swift/kitura.io/issues/22","id":191074846,"number":22,"title":"Parsing JSON Posts : about adding SwiftyJSON to Package.swift","user":{"login":"chooco13","id":7044743,"avatar_url":"https://avatars.githubusercontent.com/u/7044743?v=3","gravatar_id":"","url":"https://api.github.com/users/chooco13","html_url":"https://github.com/chooco13","followers_url":"https://api.github.com/users/chooco13/followers","following_url":"https://api.github.com/users/chooco13/following{/other_user}","gists_url":"https://api.github.com/users/chooco13/gists{/gist_id}","starred_url":"https://api.github.com/users/chooco13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chooco13/subscriptions","organizations_url":"https://api.github.com/users/chooco13/orgs","repos_url":"https://api.github.com/users/chooco13/repos","events_url":"https://api.github.com/users/chooco13/events{/privacy}","received_events_url":"https://api.github.com/users/chooco13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-22T17:36:29Z","updated_at":"2016-11-23T14:46:36Z","closed_at":null,"body":"Hi :)  \r\nI was trying to [pasing requests](http://www.kitura.io/en/resources/tutorials/parsingrequests.html) tutorials from `kitura.io`  \r\n\r\nI don't understand why this expression should be in there  \r\n\"Import SwiftyJSON by adding it to your Package.swift file\".  \r\nthat make me more confused\r\n\r\nI thought 'I should add extra dependency?'.  So I added dependency in Package.swift.\r\nbut it make build errors.\r\n\r\nbecause SwiftyJSON already cloned by just adding 'Kitura.git'.\r\n\r\nSo \"Import SwiftyJSON by adding it to your Package.swift file\" should be in there?\r\n"},"comment":{"url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/comments/262532165","html_url":"https://github.com/IBM-Swift/kitura.io/issues/22#issuecomment-262532165","issue_url":"https://api.github.com/repos/IBM-Swift/kitura.io/issues/22","id":262532165,"user":{"login":"chooco13","id":7044743,"avatar_url":"https://avatars.githubusercontent.com/u/7044743?v=3","gravatar_id":"","url":"https://api.github.com/users/chooco13","html_url":"https://github.com/chooco13","followers_url":"https://api.github.com/users/chooco13/followers","following_url":"https://api.github.com/users/chooco13/following{/other_user}","gists_url":"https://api.github.com/users/chooco13/gists{/gist_id}","starred_url":"https://api.github.com/users/chooco13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chooco13/subscriptions","organizations_url":"https://api.github.com/users/chooco13/orgs","repos_url":"https://api.github.com/users/chooco13/repos","events_url":"https://api.github.com/users/chooco13/events{/privacy}","received_events_url":"https://api.github.com/users/chooco13/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T14:46:36Z","updated_at":"2016-11-23T14:46:36Z","body":"I set my `Package.swift` as [Getting Started](http://www.kitura.io/en/starter/gettingstarted.html) did\r\n\r\n> import PackageDescription\r\n> \r\n> let package = Package(\r\n>     name: \"kitura-example\",\r\n>     dependencies: [\r\n>         .Package(url: \"https://github.com/IBM-Swift/Kitura.git\", majorVersion: 1, minor: 2)\r\n>     ])\r\n\r\nand I build the project.\r\n\r\n> [chooco13@mbp ~/project/kitura-example]$ swift build\r\n> Cloning https://github.com/IBM-Swift/Kitura.git\r\n> HEAD is now at 072b853 Regenerated the API documentation\r\n> Resolved version: 1.2.0\r\n> Cloning https://github.com/IBM-Swift/Kitura-net.git\r\n> HEAD is now at 01cfbc0 Merge pull request #145 from IBM-Swift/issue_877\r\n> Resolved version: 1.2.1\r\n> Cloning https://github.com/IBM-Swift/LoggerAPI.git\r\n> HEAD is now at c64ce64 Merge pull request #16 from IBM-Swift/issue_832\r\n> Resolved version: 1.1.0\r\n> Cloning https://github.com/IBM-Swift/BlueSocket.git\r\n> HEAD is now at d97739b Update Travis build badge.  Was using the wrong one.\r\n> Resolved version: 0.12.2\r\n> Cloning https://github.com/IBM-Swift/CCurl.git\r\n> HEAD is now at 3cfb752 Add header callback helper function (#9)\r\n> Resolved version: 0.2.3\r\n> Cloning https://github.com/IBM-Swift/BlueSSLService.git\r\n> HEAD is now at 5a3c1e8 Update Travis build badge.  Was using the wrong one.\r\n> Resolved version: 0.12.4\r\n> Cloning https://github.com/IBM-Swift/SwiftyJSON.git\r\n> HEAD is now at 64b0910 Merge pull request #27 from IBM-Swift/issue_846\r\n> Resolved version: 15.0.1\r\n> Cloning https://github.com/IBM-Swift/Kitura-TemplateEngine.git\r\n> HEAD is now at 4fe7829 Support Swift 3.0.1 (#9)\r\n> Resolved version: 1.1.0\r\n> Compile Swift Module 'Socket' (3 sources)\r\n> Compile Swift Module 'LoggerAPI' (1 sources)\r\n> Compile Swift Module 'KituraTemplateEngine' (1 sources)\r\n> Compile Swift Module 'SwiftyJSON' (2 sources)\r\n> Compile Swift Module 'SSLService' (1 sources)\r\n> Compile CHTTPParser utils.c\r\n> Compile CHTTPParser http_parser.c\r\n> Linking CHTTPParser\r\n> Compile Swift Module 'KituraNet' (34 sources)\r\n> Compile Swift Module 'Kitura' (41 sources)\r\n> Compile Swift Module 'kitura_example' (1 sources)\r\n> Linking ./.build/debug/kitura-example\r\n\r\nYou can see. they automatically clone SwiftJSON by just adding `Kitura.git` to my dependency.\r\n\r\nif I add SwiftyJSON to current Package.swift, they have conflicts\r\nbecause there is SwiftyJSON already.\r\n\r\nSo What I want to say is  \r\nWhy\r\n> Import SwiftyJSON by adding it to your Package.swift file and by adding import SwiftyJSON to the top of your file.\r\n  \r\nnot Just\r\n\r\n> Import SwiftyJSON by adding import SwiftyJSON to the top of your file."}}
{"actor":{"display_login":"chooco13"}}