You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: If this is a bug or support ticket, please provide the following information:
Unity version: 2019.4.23f1
Mapbox SDK version: Unity SDK v2.1.1
The platform you're building to: iOS (iPhone only)
A description of what you're trying to do: I am trying to use Mapbox's Unity SDK and Niantic's Lightship SDK to build a location-based AR application. Before building this project, I tested building a project with only Lightship SDK and it worked fined on my iPhone. Then I duplicated the project and imported Mapbox's Unity SDK v2.1.1 into it. Regarding the player settings, I set the target device as "iPhone Only" and the target minimum iOS version as 11.0, the minimum requirement of using Lightship SDK. The entire Mapbox Unity SDK was imported and built, and the XCode project was successfully created by Unity with no errors. However, when building the project in XCode, I got the error
Cannot initialize a parameter of type 'id<NSCopying> _Nonnull' with an rvalue of type 'Class'
for the following two lines of code in ARSessionNative.mm
I followed the suggestions here (facebook/FBRetainCycleDetector#115) by adding (id) or (id<NSCopying>) before ARPlaneAnchor and ARAnchor, which led to the new errors:
Unexpected interface name 'ARPlaneAnchor': expected expression
and
Unexpected interface name 'ARAnchor': expected expression
Appreciate any clues on how I may resolve the issues!
Steps to recreate the bug if appropriate: As described above.
The text was updated successfully, but these errors were encountered:
Note: If this is a bug or support ticket, please provide the following information:
for the following two lines of code in ARSessionNative.mm
I followed the suggestions here (facebook/FBRetainCycleDetector#115) by adding
(id)
or(id<NSCopying>)
beforeARPlaneAnchor
andARAnchor
, which led to the new errors:and
Appreciate any clues on how I may resolve the issues!
The text was updated successfully, but these errors were encountered: