Replies: 3 comments
-
|
I'm using public var annotations: [String: Optional<Any>] {
var result: [String: Optional<Any>] = [:]
for (view, options) in idsByView.compactMapValues({ [mapboxMap] id in try? mapboxMap.options(forViewAnnotationWithId: id) }) {
let key = String(describing: view)
result[key] = options
}
return result
}
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yes it's a known issue. Use current version of 11. So instead of |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Okay I managed to find a solution, thanks for your help guys ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm experiencing a build failure when using @rnmapbox/maps with Xcode 16.0.1. The error occurs during iOS compilation and appears to be related to stricter Swift compilation rules in the newer Xcode version.
Is this a known compatibility issue with Xcode 16? Are there any workarounds ?
Thanks for your help !
Environment:
Xcode Version: 16.0.1 (Build 17A400)
@rnmapbox/maps Version: 10.2.6
MapboxMaps Version: 11.00.00 (tried various versions: 10.13.0, 10.14.0, 10.15.0, 10.16.0, 11.00.00)
React Native: 0.81.5
Expo SDK: 54.0.19
New Architecture: Enabled
Reproduction Steps:
Set up project with @rnmapbox/maps@10.2.6
Configure with MapboxMaps version 11.00.00 (or any version 10.13+)
Run npx expo run ios with Xcode 16.0.1
Build fails with Swift compilation error
ERROR DETAIL :
Beta Was this translation helpful? Give feedback.
All reactions