mapbox / mapbox-scenekit

Other
231 stars 51 forks source link

Unable to show PolyLineNode on TerrainNode #52

Closed camdeardorff closed 6 years ago

camdeardorff commented 6 years ago

using the addPolyLine function I am unable to get a line to appear although I can see the child count increase. I am getting an error in the console related to a missing library.

Couldn't locate default library for bundle: NSBundle </var/containers/Bundle/Application/E7B20083-1807-4AC4-966C-2153FAA81E14/appname.app/Frameworks/MapboxSceneKit.framework> (loaded) Error Domain=MTLLibraryErrorDomain Code=6 "no default library was found" UserInfo={NSLocalizedDescription=no default library was found} 1 2018-09-18 22:07:24.982061-0600 appname[599:59243] [SceneKit] Error: FATAL ERROR : can't load library without a path

rockarts commented 6 years ago

@camdeardorff Are you running it on a phone? I see the polyline in the simulator but not on a device.

camdeardorff commented 6 years ago

This is on device, I have not tried on a simulator yet. Good to know though, that helps!

jim-martin commented 6 years ago

@camdeardorff & @rockarts, I'm able to see this issue when using cocoapods. To confirm we're seeing the same issue, are you using pods?

I'm looking into a fix now, but in the meantime, the Carthage install instructions should work as expected.

camdeardorff commented 6 years ago

Yes I am, and thank you @jim-martin

rockarts commented 6 years ago

@jim-martin That fixed it. Thanks!

camdeardorff commented 6 years ago

Same, thanks again @jim-martin