{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1234","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1234/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1234/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1234/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1234","id":67212278,"number":1234,"title":"create symbols file for release builds","user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/build","name":"build","color":"d4c5f9"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/iOS","name":"iOS","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/5","html_url":"https://github.com/mapbox/mapbox-gl-native/milestones/iOS%20Beta%201","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/milestones/5/labels","id":978852,"number":5,"title":"iOS Beta 1","description":"","creator":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":201,"state":"open","created_at":"2015-02-13T19:24:01Z","updated_at":"2015-05-10T23:58:20Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-04-08T20:24:41Z","updated_at":"2015-05-10T23:58:20Z","closed_at":"2015-05-10T23:58:20Z","body":"When we publish binary releases via tags (e.g. `[publish ios-v0.2.9]`), for performance reasons we build in `Release`. However we should keep symbols around (is this still a `.dSYM` for static library builds?) for use in symbolication in test apps. AFAICT, if we publish a `Release` app with `.dSYM` that uses a `Release` of GL without one, the app's crashes' symbols won't exist for GL, just the host app. "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/100716819","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1234#issuecomment-100716819","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1234","id":100716819,"user":{"login":"incanus","id":17722,"avatar_url":"https://avatars.githubusercontent.com/u/17722?v=3","gravatar_id":"","url":"https://api.github.com/users/incanus","html_url":"https://github.com/incanus","followers_url":"https://api.github.com/users/incanus/followers","following_url":"https://api.github.com/users/incanus/following{/other_user}","gists_url":"https://api.github.com/users/incanus/gists{/gist_id}","starred_url":"https://api.github.com/users/incanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incanus/subscriptions","organizations_url":"https://api.github.com/users/incanus/orgs","repos_url":"https://api.github.com/users/incanus/repos","events_url":"https://api.github.com/users/incanus/events{/privacy}","received_events_url":"https://api.github.com/users/incanus/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T23:58:20Z","updated_at":"2015-05-10T23:58:20Z","body":"We are in good shape here. Creating builds of our internal app that use the build's `libMapboxGL.a` creates both an app `.dSYM` and a separate `MapboxGL.framework.dSYM` since it's brought in via the CocoaPods framework install method. The presence of these symbols (confirmed with `dwarfdump`) means that our static library has the symbols in it. \r\n\r\nExamples: \r\n\r\n```\r\n0x000938d8:     TAG_variable [200]  \r\n                 AT_name( \"extent\" )\r\n                 AT_type( {0x000938e6} ( const uint16_t ) )\r\n                 AT_decl_file( \"/Users/travis/build/mapbox/mapbox-gl-native/src/mbgl/map/annotation.cpp\" )\r\n                 AT_decl_line( 100 )\r\n                 AT_const_value( 0x1000 )\r\n```\r\n\r\nAnd: \r\n\r\n```\r\n0x00093904:         TAG_class_type [20] *\r\n                     AT_name( \"AnnotationManager\" )\r\n                     AT_byte_size( 0x64 )\r\n                     AT_decl_file( \"src/mbgl/map/annotation.hpp\" )\r\n                     AT_decl_line( 26 )\r\n```\r\n\r\n[This post](http://stackoverflow.com/a/13720063/977220) brings up the good point that us making our own `.dSYM` for GL is useless; this needs to come from the host app build process. \r\n\r\nWe are :+1:. "}}