{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4008","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4008/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4008/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4008/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4008","id":100388979,"number":4008,"title":"Question - Is it possible to have a compiler flag to prefix all pod classes ","user":{"login":"avnerbarr","id":2404795,"avatar_url":"https://avatars.githubusercontent.com/u/2404795?v=3","gravatar_id":"","url":"https://api.github.com/users/avnerbarr","html_url":"https://github.com/avnerbarr","followers_url":"https://api.github.com/users/avnerbarr/followers","following_url":"https://api.github.com/users/avnerbarr/following{/other_user}","gists_url":"https://api.github.com/users/avnerbarr/gists{/gist_id}","starred_url":"https://api.github.com/users/avnerbarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnerbarr/subscriptions","organizations_url":"https://api.github.com/users/avnerbarr/orgs","repos_url":"https://api.github.com/users/avnerbarr/repos","events_url":"https://api.github.com/users/avnerbarr/events{/privacy}","received_events_url":"https://api.github.com/users/avnerbarr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-11T19:28:44Z","updated_at":"2015-08-12T07:15:30Z","closed_at":"2015-08-11T20:03:40Z","body":"I want to prefix all of my dependencies classes when compiling because I have class name conflicts when integrating my compiled source to different customer projects. (They use the same classes that I use)\r\n\r\nI have seen solutions such as adding \"other compiler flags\" and replacing every occurrence of \"ClassA\" with a prefixed version \"XXXClassA\"\r\n\r\nIs there a way to automate this process at the ```pod install``` stage?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/130195182","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4008#issuecomment-130195182","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4008","id":130195182,"user":{"login":"neonichu","id":118992,"avatar_url":"https://avatars.githubusercontent.com/u/118992?v=3","gravatar_id":"","url":"https://api.github.com/users/neonichu","html_url":"https://github.com/neonichu","followers_url":"https://api.github.com/users/neonichu/followers","following_url":"https://api.github.com/users/neonichu/following{/other_user}","gists_url":"https://api.github.com/users/neonichu/gists{/gist_id}","starred_url":"https://api.github.com/users/neonichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neonichu/subscriptions","organizations_url":"https://api.github.com/users/neonichu/orgs","repos_url":"https://api.github.com/users/neonichu/repos","events_url":"https://api.github.com/users/neonichu/events{/privacy}","received_events_url":"https://api.github.com/users/neonichu/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T07:15:30Z","updated_at":"2015-08-12T07:15:30Z","body":"@avnerbarr you can take a look at <https://github.com/CocoaPods/cocoapods-packager/blob/master/lib/cocoapods-packager/mangle.rb> for how the symbol mangling is done — that approach will not work for Swift dependencies, though."}}