Use of Unresolved Identifier 'GMSServices'

前端 未结 4 1304
刺人心
刺人心 2021-02-18 21:13

I am using Xcode 7.1 and the deployment target is iOS 9.1. The app is \"AreaCalculator\" and it was written in Swift. I did following to set up the framework and import the map:

4条回答
  •  没有蜡笔的小新
    2021-02-18 22:07

    For react native make sure you are importing from above to #if DEBUG mode.

    Put librarries above #if DEBUG
    
    #import "AppDelegate.h"
    
    #import 
    #import 
    #import 
    #import "RNSplashScreen.h" // here
    #import 
    #if DEBUG
    #import 
    #import 
    #import 
    #import 
    #import 
    #import ```
    
    Found here -> https://github.com/react-native-community/react-native-maps/issues/3453#issuecomment-665475820
    

提交回复
热议问题