{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/1424","repository_url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl","labels_url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/1424/comments","events_url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/1424/events","html_url":"https://github.com/mapbox/react-native-mapbox-gl/issues/1424","id":381470353,"node_id":"MDU6SXNzdWUzODE0NzAzNTM=","number":1424,"title":"ld: symbol(s) not found for architecture x86_64 for Xcode10","user":{"login":"giantss","id":13778798,"node_id":"MDQ6VXNlcjEzNzc4Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/13778798?v=4","gravatar_id":"","url":"https://api.github.com/users/giantss","html_url":"https://github.com/giantss","followers_url":"https://api.github.com/users/giantss/followers","following_url":"https://api.github.com/users/giantss/following{/other_user}","gists_url":"https://api.github.com/users/giantss/gists{/gist_id}","starred_url":"https://api.github.com/users/giantss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantss/subscriptions","organizations_url":"https://api.github.com/users/giantss/orgs","repos_url":"https://api.github.com/users/giantss/repos","events_url":"https://api.github.com/users/giantss/events{/privacy}","received_events_url":"https://api.github.com/users/giantss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-16T06:53:42Z","updated_at":"2018-11-16T08:21:33Z","closed_at":null,"author_association":"NONE","body":"## step\r\n1. create a new project.\r\n2. `yarn add @mapbox/react-native-mapbox-gl`\r\n3. `react-native link`\r\n4. `react-native run-ios`\r\n\r\n**error info:**\r\n\r\n```\r\nd: warning: Could not find auto-linked framework 'Mapbox'\r\nUndefined symbols for architecture x86_64:\r\n  \"_MGLOfflinePackErrorNotification\", referenced from:\r\n\r\n      -[MGLOfflineModule init] in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_MGLOfflinePackMaximumMapboxTilesReachedNotification\", referenced from:\r\n\r\n      -[MGLOfflineModule init] in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_MGLOfflinePackProgressChangedNotification\", referenced from:\r\n\r\n      -[MGLOfflineModule init] in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_MGLOfflinePackUserInfoKeyError\", referenced from:\r\n\r\n      -[MGLOfflineModule offlinePackDidReceiveError:] in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_MGLShapeSourceOptionBuffer\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLShapeSourceOptionClusterRadius\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLShapeSourceOptionClustered\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLShapeSourceOptionMaximumZoomLevel\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLShapeSourceOptionMaximumZoomLevelForClustering\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLShapeSourceOptionSimplificationTolerance\", referenced from:\r\n\r\n      -[RCTMGLShapeSource _getOptions] in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_MGLTileSourceOptionAttributionHTMLString\", referenced from:\r\n\r\n      -[RCTMGLRasterSource _getOptions] in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_MGLTileSourceOptionMaximumZoomLevel\", referenced from:\r\n\r\n      -[RCTMGLRasterSource _getOptions] in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_MGLTileSourceOptionMinimumZoomLevel\", referenced from:\r\n\r\n      -[RCTMGLRasterSource _getOptions] in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_MGLTileSourceOptionTileCoordinateSystem\", referenced from:\r\n\r\n      -[RCTMGLRasterSource _getOptions] in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_MGLTileSourceOptionTileSize\", referenced from:\r\n\r\n      -[RCTMGLRasterSource _getOptions] in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLAccountManager\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLAnnotationView\", referenced from:\r\n\r\n      _OBJC_CLASS_$_RCTMGLPointAnnotation in libRCTMGL.a(RCTMGLPointAnnotation.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLBackgroundStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLBackgroundLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLCircleStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLCircleLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLFillExtrusionStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLFillExtrusionLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLFillStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLFillLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLImageSource\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLImageSource.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLLight\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLLight.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLLineStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLLineLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLMapCamera\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLSnapshotModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLMapSnapshotOptions\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLSnapshotModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLMapSnapshotter\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLSnapshotModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLMapView\", referenced from:\r\n\r\n      _OBJC_CLASS_$_RCTMGLMapView in libRCTMGL.a(RCTMGLMapView.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLOfflineStorage\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLPointFeature\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLMapViewManager.o)\r\n      objc-class-ref in libRCTMGL.a(RCTMGLMapTouchEvent.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLRasterSource\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLRasterSource.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLRasterStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLRasterLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLShape\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLUtils.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLShapeCollectionFeature\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLUtils.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLShapeSource\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLShapeSource.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLStyle\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLStyleValue\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLStyleValue.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLSymbolStyleLayer\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLSymbolLayer.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLTilePyramidOfflineRegion\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(MGLOfflineModule.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLUserLocation\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLMapViewManager.o)\r\n\r\n     (maybe you meant: _OBJC_CLASS_$_MGLUserLocationHeadingArrowLayer\r\n\r\n, _OBJC_CLASS_$_MGLUserLocationHeadingBeamLayer \r\n\r\n)\r\n  \"_OBJC_CLASS_$_MGLUserLocationAnnotationView\", referenced from:\r\n\r\n      _OBJC_CLASS_$_MGLFaux3DUserLocationAnnotationView in libRCTMGL.a(MGLFaux3DUserLocationAnnotationView.o)\r\n\r\n  \"_OBJC_CLASS_$_MGLVectorSource\", referenced from:\r\n\r\n      objc-class-ref in libRCTMGL.a(RCTMGLVectorSource.o)\r\n\r\n  \"_OBJC_METACLASS_$_MGLAnnotationView\", referenced from:\r\n\r\n      _OBJC_METACLASS_$_RCTMGLPointAnnotation in libRCTMGL.a(RCTMGLPointAnnotation.o)\r\n\r\n  \"_OBJC_METACLASS_$_MGLMapView\", referenced from:\r\n\r\n      _OBJC_METACLASS_$_RCTMGLMapView in libRCTMGL.a(RCTMGLMapView.o)\r\n\r\n  \"_OBJC_METACLASS_$_MGLUserLocationAnnotationView\", referenced from:\r\n\r\n      _OBJC_METACLASS_$_MGLFaux3DUserLocationAnnotationView in libRCTMGL.a(MGLFaux3DUserLocationAnnotationView.o)\r\n\r\nld: symbol(s) not found for architecture x86_64\r\n\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n\r\n\r\n\r\n** BUILD FAILED **\r\n\r\n\r\nThe following commands produced analyzer issues:\r\n        Analyze /Users/zhongpeng/file/code/react-native/test/MapboxTest/node_modules/react-native/React/Base/RCTModuleMethod.mm normal x86_64\r\n\r\n        Analyze /Users/zhongpeng/file/code/react-native/test/MapboxTest/node_modules/react-native/Libraries/Image/RCTImageCache.m normal x86_64\r\n        Analyze /Users/zhongpeng/file/code/react-native/test/MapboxTest/node_modules/react-native/Libraries/Network/RCTNetInfo.m normal x86_64\r\n(3 commands with analyzer issues)\r\n\r\nThe following build commands failed:\r\n        Ld /Users/zhongpeng/file/code/react-native/test/MapboxTest/ios/build/Build/Products/Debug-iphonesimulator/MapboxTest.app/MapboxTest normal x86_64\r\n(1 failure)\r\n\r\nInstalling build/Build/Products/Debug-iphonesimulator/MapboxTest.app\r\nAn error was encountered processing the command (domain=IXErrorDomain, code=13):\r\nFailed to get bundle ID from /Users/zhongpeng/file/code/react-native/test/MapboxTest/ios/build/Build/Products/Debug-iphonesimulator/MapboxTest.app\r\nPrint: Entry, \":CFBundleIdentifier\", Does Not Exist\r\n\r\nCommand failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MapboxTest.app/Info.plist\r\nPrint: Entry, \":CFBundleIdentifier\", Does Not Exist\r\n\r\n\r\nError: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/MapboxTest.app/Info.plist\r\nPrint: Entry, \":CFBundleIdentifier\", Does Not Exist\r\n\r\n    at checkExecSyncError (child_process.js:611:11)\r\n    at Object.execFileSync (child_process.js:629:13)\r\n    at Promise.then (/Users/zhongpeng/file/code/react-native/test/MapboxTest/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)\r\n\r\n\r\n```\r\n\r\n## environment\r\n* package.json\r\n\r\n```\r\n{\r\n  \"name\": \"MapboxTest\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"node node_modules/react-native/local-cli/cli.js start\",\r\n    \"test\": \"jest\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@mapbox/react-native-mapbox-gl\": \"^6.1.3\",\r\n    \"react\": \"16.6.1\",\r\n    \"react-native\": \"0.57.5\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-jest\": \"23.6.0\",\r\n    \"jest\": \"23.6.0\",\r\n    \"metro-react-native-babel-preset\": \"0.49.2\",\r\n    \"react-test-renderer\": \"16.6.1\"\r\n  },\r\n  \"jest\": {\r\n    \"preset\": \"react-native\"\r\n  }\r\n}\r\n```\r\n*  Xcode 10\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/comments/439316721","html_url":"https://github.com/mapbox/react-native-mapbox-gl/issues/1424#issuecomment-439316721","issue_url":"https://api.github.com/repos/mapbox/react-native-mapbox-gl/issues/1424","id":439316721,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTMxNjcyMQ==","user":{"login":"giantss","id":13778798,"node_id":"MDQ6VXNlcjEzNzc4Nzk4","avatar_url":"https://avatars0.githubusercontent.com/u/13778798?v=4","gravatar_id":"","url":"https://api.github.com/users/giantss","html_url":"https://github.com/giantss","followers_url":"https://api.github.com/users/giantss/followers","following_url":"https://api.github.com/users/giantss/following{/other_user}","gists_url":"https://api.github.com/users/giantss/gists{/gist_id}","starred_url":"https://api.github.com/users/giantss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantss/subscriptions","organizations_url":"https://api.github.com/users/giantss/orgs","repos_url":"https://api.github.com/users/giantss/repos","events_url":"https://api.github.com/users/giantss/events{/privacy}","received_events_url":"https://api.github.com/users/giantss/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T08:21:33Z","updated_at":"2018-11-16T08:21:33Z","author_association":"NONE","body":"I tried to fix it.\r\n\r\nadd  `$(SRCROOT)/../node_modules/@mapbox/react-native-mapbox-gl/ios` to  `Framework Search Paths`\r\n\r\n<img width=\"971\" alt=\"image\" src=\"https://user-images.githubusercontent.com/13778798/48604962-60135700-e9b6-11e8-9423-a493ab17218d.png\">\r\n\r\nThen I tried to run the project, build success.But just running, the program crashes.\r\n\r\n<img width=\"1400\" alt=\"image\" src=\"https://user-images.githubusercontent.com/13778798/48605396-a1583680-e9b7-11e8-8209-c2530bbaa9a0.png\">\r\nI have solved this problem    [here](https://github.com/mapbox/react-native-mapbox-gl/issues/1402#issuecomment-432579584).\r\n\r\nI thought it would be fully operational here, but I didn't expect to upgrade the environment Xcode10 and react native versions to the latest, there will still be an error.\r\n\r\n![image](https://user-images.githubusercontent.com/13778798/48606638-f3e72200-e9ba-11e8-8df1-577ea53c7c05.png)\r\n\r\nWhat exactly is going on? It really took me too much time.\r\n@nitaliano "}}
{"actor":{"display_login":"giantss"}}