mapbox / mapbox/MapboxGeocoder.swift
Mandatory use_frameworks! in podfile
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
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 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