MapboxGeocoder.swift: Could not build module 'MapboxGeocoder'
Hi!, I’ve been trying to use the Geocoder framework. However, every time I build my project I get the same error: Could not build module 'MapboxGeocoder'
I’ve tried some things:
- Deleting the ~/Library/Developer/Xcode/DerivedData folder and building the framework again.
- Updating the Podfile.
- Changing Allow Non-modular includes in Framework Modules to YES.
But neither of them worked. I was wondering if it is problem caused by the framework itself or due to my Build Setting.
Thanks.
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 31 (11 by maintainers)
@1ec5 thanks for the response!
I’m using Xcode 8.3.3 and Cocoa 1.1.1
I ended up adding this line:
"${PODS_ROOT}/Headers/Public/MapboxGeocoder.swift"to my targetsHeader Search Pathsin Build Settings and that has seemed to fix the problem.It looks like when I build my objective c project, it has no error, and I can also user the framework, but every time after I build my project the error message showing up. it says “could not build the module MapGeocoder”. It might be a bug? anyone has the same problem?