yasirkula / UnityIonicIntegration

A guide to integrating Unity 3D content into an Ionic app and sending messages between them (for Android & iOS)(tested with Vuforia plugin)
104 stars 32 forks source link

Mapbox #27

Closed scarffy closed 6 years ago

scarffy commented 6 years ago

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.

yasirkula commented 6 years ago

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.

scarffy commented 6 years ago

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