{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/Tweaks/issues/4","labels_url":"https://api.github.com/repos/facebook/Tweaks/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/facebook/Tweaks/issues/4/comments","events_url":"https://api.github.com/repos/facebook/Tweaks/issues/4/events","html_url":"https://github.com/facebook/Tweaks/issues/4","id":30253207,"number":4,"title":"Cocoapods Link Error: __FBTweakIdentifier (with custom build configuration)","user":{"login":"LeffelMania","id":2275582,"avatar_url":"https://avatars.githubusercontent.com/u/2275582?v=3","gravatar_id":"","url":"https://api.github.com/users/LeffelMania","html_url":"https://github.com/LeffelMania","followers_url":"https://api.github.com/users/LeffelMania/followers","following_url":"https://api.github.com/users/LeffelMania/following{/other_user}","gists_url":"https://api.github.com/users/LeffelMania/gists{/gist_id}","starred_url":"https://api.github.com/users/LeffelMania/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeffelMania/subscriptions","organizations_url":"https://api.github.com/users/LeffelMania/orgs","repos_url":"https://api.github.com/users/LeffelMania/repos","events_url":"https://api.github.com/users/LeffelMania/events{/privacy}","received_events_url":"https://api.github.com/users/LeffelMania/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2014-03-26T21:23:46Z","updated_at":"2015-07-31T12:51:26Z","closed_at":"2014-04-16T18:27:33Z","body":"Trying to get set up with Tweaks, added the pod to my podfile:\r\n\r\n`pod 'Tweaks'`\r\n\r\nGot the `FBTweakShakeWindow` integrated and displaying 0 items (as expected), went to add my first tweak as such:\r\n\r\n`self.alpha = FBTweakValue(@\"Category\", @\"Thing\", @\"Alpha\", .6, 0.1, 1.0);`\r\n\r\nWhen I went to build I got a Linker Error:\r\n\r\n`Undefined symbols for architecture i386:\r\n  \"__FBTweakIdentifier\"`\r\n\r\nI see the `extern`s defined in `FBTweakInline.m` and `FBTweakinlineInternal.h`, but I can't get this resolved.\r\n\r\nAny suggestions on what I might have missed or what the problem might be?\r\n\r\nMany thanks."},"comment":{"url":"https://api.github.com/repos/facebook/Tweaks/issues/comments/126681091","html_url":"https://github.com/facebook/Tweaks/issues/4#issuecomment-126681091","issue_url":"https://api.github.com/repos/facebook/Tweaks/issues/4","id":126681091,"user":{"login":"DAloG","id":585375,"avatar_url":"https://avatars.githubusercontent.com/u/585375?v=3","gravatar_id":"","url":"https://api.github.com/users/DAloG","html_url":"https://github.com/DAloG","followers_url":"https://api.github.com/users/DAloG/followers","following_url":"https://api.github.com/users/DAloG/following{/other_user}","gists_url":"https://api.github.com/users/DAloG/gists{/gist_id}","starred_url":"https://api.github.com/users/DAloG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DAloG/subscriptions","organizations_url":"https://api.github.com/users/DAloG/orgs","repos_url":"https://api.github.com/users/DAloG/repos","events_url":"https://api.github.com/users/DAloG/events{/privacy}","received_events_url":"https://api.github.com/users/DAloG/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T12:51:26Z","updated_at":"2015-07-31T12:51:26Z","body":"It looks like with Cocoapods v0.38.2 hook should look like\r\n```ruby\r\npost_install do |installer_representation|\r\n    installer_representation.pods_project.targets.each do |target|\r\n        if target.name == \"Tweaks\"\r\n            target.build_configurations.each do |config|\r\n                config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'FB_TWEAK_ENABLED=1']\r\n            end\r\n        end\r\n    end\r\nend\r\n```"}}