{"action":"created","issue":{"url":"https://api.github.com/repos/mac-cain13/R.swift/issues/245","repository_url":"https://api.github.com/repos/mac-cain13/R.swift","labels_url":"https://api.github.com/repos/mac-cain13/R.swift/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/mac-cain13/R.swift/issues/245/comments","events_url":"https://api.github.com/repos/mac-cain13/R.swift/issues/245/events","html_url":"https://github.com/mac-cain13/R.swift/issues/245","id":168507839,"number":245,"title":"Consider supporting R.swift in dynamic frameworks.","user":{"login":"DanielAsher","id":7915553,"avatar_url":"https://avatars.githubusercontent.com/u/7915553?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielAsher","html_url":"https://github.com/DanielAsher","followers_url":"https://api.github.com/users/DanielAsher/followers","following_url":"https://api.github.com/users/DanielAsher/following{/other_user}","gists_url":"https://api.github.com/users/DanielAsher/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielAsher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielAsher/subscriptions","organizations_url":"https://api.github.com/users/DanielAsher/orgs","repos_url":"https://api.github.com/users/DanielAsher/repos","events_url":"https://api.github.com/users/DanielAsher/events{/privacy}","received_events_url":"https://api.github.com/users/DanielAsher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mac-cain13/R.swift/labels/type:%20enhancement","name":"type: enhancement","color":"02AFE1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-31T08:24:03Z","updated_at":"2016-07-31T20:07:58Z","closed_at":null,"body":"As I understand it, R.swift can only be used in a project containing a target app, and doesn't support use in dynamic frameworks linked to a target app.\r\n\r\nIf I'm correct I believe this would be usefully described in the readme and I would be prepared to create a PR for this.\r\n\r\nLong term: perhaps a move to using an `R` protocol and protocol extensions, or other strategies could be employed in supporting this feature.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mac-cain13/R.swift/issues/comments/236453535","html_url":"https://github.com/mac-cain13/R.swift/issues/245#issuecomment-236453535","issue_url":"https://api.github.com/repos/mac-cain13/R.swift/issues/245","id":236453535,"user":{"login":"DanielAsher","id":7915553,"avatar_url":"https://avatars.githubusercontent.com/u/7915553?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielAsher","html_url":"https://github.com/DanielAsher","followers_url":"https://api.github.com/users/DanielAsher/followers","following_url":"https://api.github.com/users/DanielAsher/following{/other_user}","gists_url":"https://api.github.com/users/DanielAsher/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielAsher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielAsher/subscriptions","organizations_url":"https://api.github.com/users/DanielAsher/orgs","repos_url":"https://api.github.com/users/DanielAsher/repos","events_url":"https://api.github.com/users/DanielAsher/events{/privacy}","received_events_url":"https://api.github.com/users/DanielAsher/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T20:07:58Z","updated_at":"2016-07-31T20:07:58Z","body":"@tomlokhorst thanks for this workaround. The script is ingenious! It didn't quite work first time requiring the following (in the context of a Carthage + manual installation):\r\n```\r\n\"$SRCROOT/rswift\" \"$SRCROOT\"\r\nsed -i -e 's/private //g' \"$SRCROOT/R.generated.swift\" \r\nsed -i -e 's/struct /public struct /g' \"$SRCROOT/R.generated.swift\"\r\nsed -i -e 's/func /public func /g' \"$SRCROOT/R.generated.swift\"\r\nsed -i -e 's/static let /static public let /g' \"$SRCROOT/R.generated.swift\"\r\nsed -i -e 's/let bundle /public let bundle /g' \"$SRCROOT/R.generated.swift\"\r\nsed -i -e 's/let name /public let name /g' \"$SRCROOT/R.generated.swift\"\r\n```\r\n\r\nI'll play around with this and report back.\r\n"}}
{"actor":{"display_login":"DanielAsher"}}