Skip to content

iOS build error: RCTConvert+AirMap.h not found #16

@maartenvandillen

Description

@maartenvandillen

Is this a bug report?

probably not

Have you read the Installation Instructions?

Yes. I was wondering if the installation instructions from react-native-maps is still to be followed when installing this repo react-native-maps-osmdroid. Especially all parts involving Google Maps.

Also wondering what to add to the Podfile when the goal is to use AppleMaps.

Environment

react-native: 0.61.5
react: 16.9.0
react-native-maps-osmdroid: 0.26.1-unreleased
trying to use AppleMaps

Steps to Reproduce

Follow installation instructions, open xcode workspace and build.

Expected Behavior

No build errors

Actual Behavior

xcode gives one or two build errors, both involving missing header files from the AirMap project. E.g. this line fails:
#import "RCTConvert+AirMap.h"
in file AIRGoogleMap.h

I've tried adding $(SRCROOT)../node_modules/react-native-maps-osmdroid/lib/ios/AirMaps to the header search paths of the build target but that doesn't seem to help.

What I'm trying to accomplish is use the react-native-maps-osmdroid in my project without the need for Google Maps (api key). On Android OSM would be fine, on iOS AppleMaps would be great.

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions