mapbox / mapbox/mapbox-vision-ios

Unable to compile and run on M1 Macs

Open
#363 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

User Feedback
Dominant language
Swift
Stars
63
Forks
26
PR merge metrics
No merged PRs in 30d

Description

## Description
```
Error during linking
ld: building for iOS Simulator, but linking in dylib built for iOS, file '.../Pods/MapboxVisionNativeAll/MapboxVisionARNative.framework/MapboxVisionARNative' for architecture arm64

```
## Configuration
- Device: Xcode Simulator
- OS: iOS15
- Frameworks versions:
- MapboxVisionNative 0.14.0
- MapboxVision 0.14.0

## Additional context
- works fine if building/running on actual iOS devices

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the arm64 linker error in the Xcode Simulator with iOS 15 and the listed MapboxVisionNative and MapboxVision 0.14.0 versions. Inspect how MapboxVisionARNative.framework is packaged for simulator and device architectures; done means the project builds and runs in the simulator while continuing to work on physical iOS devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.