{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1862","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1862/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1862/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1862/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1862","id":94013866,"number":1862,"title":"_OBJC_CLASS_$_MGLMapView","user":{"login":"halset","id":445229,"avatar_url":"https://avatars.githubusercontent.com/u/445229?v=3","gravatar_id":"","url":"https://api.github.com/users/halset","html_url":"https://github.com/halset","followers_url":"https://api.github.com/users/halset/followers","following_url":"https://api.github.com/users/halset/following{/other_user}","gists_url":"https://api.github.com/users/halset/gists{/gist_id}","starred_url":"https://api.github.com/users/halset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halset/subscriptions","organizations_url":"https://api.github.com/users/halset/orgs","repos_url":"https://api.github.com/users/halset/repos","events_url":"https://api.github.com/users/halset/events{/privacy}","received_events_url":"https://api.github.com/users/halset/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-09T10:40:44Z","updated_at":"2015-07-09T14:39:58Z","closed_at":null,"body":"Just started a new swift project in Xcode 7 beta 3 and followed the steps on https://www.mapbox.com/guides/first-steps-gl-ios/\r\n\r\nThe build fail with the following error\r\n```\r\nUndefined symbols for architecture x86_64:\r\n  \"_OBJC_CLASS_$_MGLMapView\", referenced from:\r\n      type metadata accessor for ObjectiveC.MGLMapView in ViewController.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\n\r\nThis is how my Podfile looks. Is this how is should be?\r\n\r\n```\r\nuse_frameworks!\r\npod 'MapboxGL'\r\n\r\ntarget 'MyApp' do\r\n\r\nend\r\n\r\ntarget 'MyAppTests' do\r\n\r\nend\r\n\r\ntarget 'MyAppUITests' do\r\n\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/120007533","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1862#issuecomment-120007533","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1862","id":120007533,"user":{"login":"halset","id":445229,"avatar_url":"https://avatars.githubusercontent.com/u/445229?v=3","gravatar_id":"","url":"https://api.github.com/users/halset","html_url":"https://github.com/halset","followers_url":"https://api.github.com/users/halset/followers","following_url":"https://api.github.com/users/halset/following{/other_user}","gists_url":"https://api.github.com/users/halset/gists{/gist_id}","starred_url":"https://api.github.com/users/halset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halset/subscriptions","organizations_url":"https://api.github.com/users/halset/orgs","repos_url":"https://api.github.com/users/halset/repos","events_url":"https://api.github.com/users/halset/events{/privacy}","received_events_url":"https://api.github.com/users/halset/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T14:39:58Z","updated_at":"2015-07-09T14:39:58Z","body":"Thank you very much. It is working now. And sorry for not finding the duplicate.\r\n\r\nI am on CocoaPods 0.38.0.beta.2.\r\n\r\nIn fact, I only had to add \"-ObjC\" in one place. On Pods->Targets->MapboxGL->Other Linker Flags. Perhaps \"-ObjC\" could be added to ${MAPBOXGL_OTHER_LDFLAGS}?\r\n\r\n![screen shot 2015-07-09 at 16 36 28](https://cloud.githubusercontent.com/assets/445229/8598044/0946b1a2-2659-11e5-9cae-b91781517cf7.png)\r\n\r\n"}}