{"action":"created","issue":{"url":"https://api.github.com/repos/pivotal/cedar/issues/325","labels_url":"https://api.github.com/repos/pivotal/cedar/issues/325/labels{/name}","comments_url":"https://api.github.com/repos/pivotal/cedar/issues/325/comments","events_url":"https://api.github.com/repos/pivotal/cedar/issues/325/events","html_url":"https://github.com/pivotal/cedar/pull/325","id":72293249,"number":325,"title":"Update templates to work with Xcode 6.3","user":{"login":"tjarratt","id":249262,"avatar_url":"https://avatars.githubusercontent.com/u/249262?v=3","gravatar_id":"","url":"https://api.github.com/users/tjarratt","html_url":"https://github.com/tjarratt","followers_url":"https://api.github.com/users/tjarratt/followers","following_url":"https://api.github.com/users/tjarratt/following{/other_user}","gists_url":"https://api.github.com/users/tjarratt/gists{/gist_id}","starred_url":"https://api.github.com/users/tjarratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjarratt/subscriptions","organizations_url":"https://api.github.com/users/tjarratt/orgs","repos_url":"https://api.github.com/users/tjarratt/repos","events_url":"https://api.github.com/users/tjarratt/events{/privacy}","received_events_url":"https://api.github.com/users/tjarratt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-30T22:03:01Z","updated_at":"2015-05-04T21:24:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pivotal/cedar/pulls/325","html_url":"https://github.com/pivotal/cedar/pull/325","diff_url":"https://github.com/pivotal/cedar/pull/325.diff","patch_url":"https://github.com/pivotal/cedar/pull/325.patch"},"body":"Untested with earlier versions of xcode.\r\n\r\nApparently in Xcode 6.3 the TemplateInfo.plist has a version of the macros that\r\nxcode provides (e.g.:: `___FILENAMEBASE___`) that are different from the contents of\r\nthe template. The template contents use the *actual* file name, rather than what the\r\nuser provides.\r\n\r\nThis fix just captures the class the user typed as a variable, and then uses it\r\nin the template. I believe this should work on earlier versions of Xcode, but\r\nI haven't had the liberty to check yet.\r\n\r\nFixes #324"},"comment":{"url":"https://api.github.com/repos/pivotal/cedar/issues/comments/98853159","html_url":"https://github.com/pivotal/cedar/pull/325#issuecomment-98853159","issue_url":"https://api.github.com/repos/pivotal/cedar/issues/325","id":98853159,"user":{"login":"pivotal-ryan-mcleod","id":3782005,"avatar_url":"https://avatars.githubusercontent.com/u/3782005?v=3","gravatar_id":"","url":"https://api.github.com/users/pivotal-ryan-mcleod","html_url":"https://github.com/pivotal-ryan-mcleod","followers_url":"https://api.github.com/users/pivotal-ryan-mcleod/followers","following_url":"https://api.github.com/users/pivotal-ryan-mcleod/following{/other_user}","gists_url":"https://api.github.com/users/pivotal-ryan-mcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/pivotal-ryan-mcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pivotal-ryan-mcleod/subscriptions","organizations_url":"https://api.github.com/users/pivotal-ryan-mcleod/orgs","repos_url":"https://api.github.com/users/pivotal-ryan-mcleod/repos","events_url":"https://api.github.com/users/pivotal-ryan-mcleod/events{/privacy}","received_events_url":"https://api.github.com/users/pivotal-ryan-mcleod/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T21:24:26Z","updated_at":"2015-05-04T21:24:26Z","body":"Thanks @tjarratt! This issue's been annoying the hell out of me. I just tried it out on Xcode 6.2 and it doesn't seem to break anything."}}