0

I got this erro in XCODE:

enter image description here

It happens after I uninstall react-native-maps
How can I fix this error ?
Been searching, still can't solve it

kurniawan26
  • 703
  • 4
  • 14
  • 32
  • you need to unlink RN-maps dependency for ios, either use command "react-native unlink react-native-maps" or you can do this manually as steps provided by @demtemm – Prince May 24 '18 at 07:37

2 Answers2

1

Probably this is because you need to update your binaries in Xcode. Open your project in Xcode and check these and you should be fine:

  • Go to the Libraries folder and remove AIRMaps.xcodeproj if it is in there
  • Go to your project Target, under the Build Phases tab. Then go to Link Binary With Libraries and remove libAIRMaps.a from that list
dentemm
  • 5,697
  • 3
  • 29
  • 42
0

Sorry for a trivial question but have you tried this?

  1. Quit Xcode
  2. Restart the System
  3. Open Xcode Preferences. This will open a pop-up window. Select 'Locations'. In Locations, you will see 'Derived Data'. Click on the arrow icon right next to the path. This will open a folder containing 'Derived Data', delete it.
  4. Clean the Product and Run

From Apple Mach-O Linker & Ditto Error - Xcode 8

Kirill Kudaev
  • 722
  • 10
  • 22