mapbox / mapbox/mapbox-vision-ios

iOS generates a warning about duplicate symbols for MBVSynchronizedObservable at runtime

Open
#333 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

When I launch Apex I get a warning from iOS:

objc[4197]: Class MBVSynchronizedObservable is implemented in both /private/var/containers/Bundle/Application/FE0BAA12-4872-44F6-B10E-0AF0F250DE5C/Apex.app/Frameworks/MapboxVisionSafetyNative.framework/MapboxVisionSafetyNative (0x10e956948) and /private/var/containers/Bundle/Application/FE0BAA12-4872-44F6-B10E-0AF0F250DE5C/Apex.app/Frameworks/MapboxVisionNative.framework/MapboxVisionNative (0x10a183bb8). One of the two will be used. Which one is undefined.
objc[4197]: Class MBVSynchronizedObservable is implemented in both /private/var/containers/Bundle/Application/FE0BAA12-4872-44F6-B10E-0AF0F250DE5C/Apex.app/Frameworks/MapboxVisionSafetyNative.framework/MapboxVisionSafetyNative (0x10e956948) and /private/var/containers/Bundle/Application/FE0BAA12-4872-44F6-B10E-0AF0F250DE5C/Apex.app/Frameworks/MapboxVisionARNative.framework/MapboxVisionARNative (0x109b74d50). One of the two will be used. Which one is undefined.

Expected behavior

No warnings

Actual behavior

A clear and concise description of what you have experienced instead.

Screenshots

If applicable, add screenshots to help explain your problem.

Configuration

From Podfile.lock:
MapboxVision (0.13.0):
- MapboxMobileEvents (> 0.10.2)
- MapboxVisionNativeAll/Vision (= 0.13.0)
- ZIPFoundation (
> 0.9.9)

  • MapboxVisionAR (0.13.0):
    • MapboxVision (= 0.13.0)
    • MapboxVisionNativeAll/AR (= 0.13.0)
  • MapboxVisionNativeAll (0.13.0):
    • MapboxVisionNativeAll/AR (= 0.13.0)
    • MapboxVisionNativeAll/Safety (= 0.13.0)
    • MapboxVisionNativeAll/Vision (= 0.13.0)
  • MapboxVisionNativeAll/AR (0.13.0):
    • MapboxVisionNativeAll/Vision
  • MapboxVisionNativeAll/Safety (0.13.0):
    • MapboxVisionNativeAll/Vision
  • MapboxVisionNativeAll/Vision (0.13.0):

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 launching Apex with the MapboxVision, MapboxVisionAR, and MapboxVisionNativeAll 0.13.0 dependencies shown in Podfile.lock and reproduce the duplicate-symbol warning. Trace how the Vision, AR, and Safety frameworks are bundled together, then verify that the launch completes without the MBVSynchronizedObservable warnings.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.