{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-package-manager/issues/205","repository_url":"https://api.github.com/repos/apple/swift-package-manager","labels_url":"https://api.github.com/repos/apple/swift-package-manager/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-package-manager/issues/205/comments","events_url":"https://api.github.com/repos/apple/swift-package-manager/issues/205/events","html_url":"https://github.com/apple/swift-package-manager/pull/205","id":142085688,"number":205,"title":"[Xcodeproj] Generating clibs targets, beginning","user":{"login":"goloveychuk","id":2370419,"avatar_url":"https://avatars.githubusercontent.com/u/2370419?v=3","gravatar_id":"","url":"https://api.github.com/users/goloveychuk","html_url":"https://github.com/goloveychuk","followers_url":"https://api.github.com/users/goloveychuk/followers","following_url":"https://api.github.com/users/goloveychuk/following{/other_user}","gists_url":"https://api.github.com/users/goloveychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/goloveychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goloveychuk/subscriptions","organizations_url":"https://api.github.com/users/goloveychuk/orgs","repos_url":"https://api.github.com/users/goloveychuk/repos","events_url":"https://api.github.com/users/goloveychuk/events{/privacy}","received_events_url":"https://api.github.com/users/goloveychuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-03-19T17:45:15Z","updated_at":"2016-04-01T11:20:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift-package-manager/pulls/205","html_url":"https://github.com/apple/swift-package-manager/pull/205","diff_url":"https://github.com/apple/swift-package-manager/pull/205.diff","patch_url":"https://github.com/apple/swift-package-manager/pull/205.patch"},"body":"Now `-X` command ignoring c targets and deps. This commit is early beginning, nothing is working. \r\nCreated PR, because I need help.\r\nXcode now writes\r\n```\r\n <unknown>:0: error: unexpected input file: /Users/badim/github/swift/Venice/Packages/CLibvenice-0.4.0/Sources/chan.c\r\n```\r\nerrors. To reproduce:\r\n```bash \r\ngit clone git@github.com:Zewo/Venice.git\r\nswift build -X\r\n```\r\nIt's just an example, it could be other lib\r\nSo the question. How I can setup xcode project to build c lib from source and use modulemap as module to export. I just need generated xcodeproj xml, so I can reproduce it in spm code. \r\nThanks"},"comment":{"url":"https://api.github.com/repos/apple/swift-package-manager/issues/comments/204352909","html_url":"https://github.com/apple/swift-package-manager/pull/205#issuecomment-204352909","issue_url":"https://api.github.com/repos/apple/swift-package-manager/issues/205","id":204352909,"user":{"login":"goloveychuk","id":2370419,"avatar_url":"https://avatars.githubusercontent.com/u/2370419?v=3","gravatar_id":"","url":"https://api.github.com/users/goloveychuk","html_url":"https://github.com/goloveychuk","followers_url":"https://api.github.com/users/goloveychuk/followers","following_url":"https://api.github.com/users/goloveychuk/following{/other_user}","gists_url":"https://api.github.com/users/goloveychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/goloveychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goloveychuk/subscriptions","organizations_url":"https://api.github.com/users/goloveychuk/orgs","repos_url":"https://api.github.com/users/goloveychuk/repos","events_url":"https://api.github.com/users/goloveychuk/events{/privacy}","received_events_url":"https://api.github.com/users/goloveychuk/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T11:20:12Z","updated_at":"2016-04-01T11:20:12Z","body":"@aciidb0mb3r \r\nhow to cast \r\nhttps://github.com/goloveychuk/swift-package-manager/blob/xcode_generate_ctargets_2/Sources/swift-build/main.swift#L98\r\nto\r\nhttps://github.com/goloveychuk/swift-package-manager/blob/xcode_generate_ctargets_2/Sources/Xcodeproj/generate().swift#L19\r\n"}}