yasirkula/UnityIonicIntegration

Mapbox

Closed this issue · 2 comments

Hi guys,

I wonder if you guys have tried Mapbox in Unity with this plugin yet.
I encountered this error.

screen shot 2018-05-30 at 11 44 39 am

I found out I need to add this $(UNITY_IOS_EXPORTED_PATH)/Libraries/Mapbox/Core/Plugins/iOS/MapboxMobileEvents/include/
to Search Header Path and libz.tbz to Linked Framework and Libraries

and then I stuck with this error.
screen shot 2018-05-30 at 11 51 29 am

I appreciate if someone can help me on this.

I'd suggest you to take two iOS builds in Unity: one with Mapbox and one without it. Open both projects in Xcode and compare their contents. Maybe Mapbox requires adding additional folder(s) to Unity group, similar to Vuforia.

Thanks @yasirkula I've followed your suggestion and now it's working.