{"action":"opened","issue":{"url":"https://api.github.com/repos/aws-amplify/aws-sdk-ios/issues/1145","repository_url":"https://api.github.com/repos/aws-amplify/aws-sdk-ios","labels_url":"https://api.github.com/repos/aws-amplify/aws-sdk-ios/issues/1145/labels{/name}","comments_url":"https://api.github.com/repos/aws-amplify/aws-sdk-ios/issues/1145/comments","events_url":"https://api.github.com/repos/aws-amplify/aws-sdk-ios/issues/1145/events","html_url":"https://github.com/aws-amplify/aws-sdk-ios/issues/1145","id":391000784,"node_id":"MDU6SXNzdWUzOTEwMDA3ODQ=","number":1145,"title":"Linker warning with bitcode enabled","user":{"login":"KleMiX","id":329636,"node_id":"MDQ6VXNlcjMyOTYzNg==","avatar_url":"https://avatars1.githubusercontent.com/u/329636?v=4","gravatar_id":"","url":"https://api.github.com/users/KleMiX","html_url":"https://github.com/KleMiX","followers_url":"https://api.github.com/users/KleMiX/followers","following_url":"https://api.github.com/users/KleMiX/following{/other_user}","gists_url":"https://api.github.com/users/KleMiX/gists{/gist_id}","starred_url":"https://api.github.com/users/KleMiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KleMiX/subscriptions","organizations_url":"https://api.github.com/users/KleMiX/orgs","repos_url":"https://api.github.com/users/KleMiX/repos","events_url":"https://api.github.com/users/KleMiX/events{/privacy}","received_events_url":"https://api.github.com/users/KleMiX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-14T07:46:17Z","updated_at":"2018-12-14T07:46:17Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nThere is a linker warning when building with bitcode enabled - `Linker asked to preserve internal global: 'AWSPinpointSessionKey'`.\r\nThere are 2 `AWSPinpointSessionKey` strings in the project, one is static other one is not. Making both of them static, or making static one as extern fixes warning.\r\n\r\n**To Reproduce**\r\nBuild AWSPinpoint with bitcode enabled.\r\n\r\n**Which AWS service(s) are affected?**\r\nAWSPinpoint\r\n\r\n**Expected behavior**\r\nNo warnings should be generated.\r\n\r\n**Environment(please complete the following information):**\r\n - SDK Version: 2.6.28\r\n - Dependency Manager: Cocoapods"}}
{"actor":{"display_login":"KleMiX"}}