mapbox / mapbox/MapboxGeocoder.swift

Mandatory use_frameworks! in podfile

Open
#197 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
133
Forks
46
PR merge metrics
No merged PRs in 30d

Description

Some projects may not use use_frameworks! because of the limitations of its dependencies. When I remove use-frameworks!, the project does not compile:
/MapboxGeocoder.swift/Swift Compatibility Header/MapboxGeocoder-Swift.h:171:9: error: 'MapboxGeocoder/MapboxGeocoder.h' file not found
#import <MapboxGeocoder/MapboxGeocoder.h>
^
:0: error: could not build Objective-C module 'MapboxGeocoder'

Why the import is not: <MapboxGeocoder.swift/MapboxGeocoder.h>?

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 with the Podfile and reproduce the build after removing use_frameworks!. Inspect the generated MapboxGeocoder-Swift.h and the referenced MapboxGeocoder.h around the reported import, then verify that the project compiles without the mandatory setting and the module import resolves.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, 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.