mapbox / mapbox/mapbox-maps-ios
SwiftUI + MacOS build availability?
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Xcode version: 15.2
- iOS version: n/a
- Devices affected: Mac
- Maps SDK Version: 11.19
## Observed behavior and steps to reproduce
When I add the mapbox-maps-ios, try and build for "My Mac" to make a window with a SwiftUI, it fails build:
...SourcePackages/artifacts/mapbox-common-ios/MapboxCommon/MapboxCommon.xcframework:1:1 While building for macOS, no library for this platform was found in '...SourcePackages/artifacts/mapbox-common-ios/MapboxCommon/MapboxCommon.xcframework'.
## Expected behavior
SwiftUI should work to build Mac and iOS apps right? Is there a version of Mapbox library for Mac and iOS?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported MapboxCommon.xcframework path and the SwiftUI target configured to build for “My Mac.” Check which platforms the bundled framework supports and whether the repository documents macOS availability. Done means confirming supported targets and recording the supported or unsupported behavior clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- build-system, desktop-dev, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100