Search code examples
react-nativereact-native-permissions

Using react-native-permissions I get this error when trying to build with xcode ld: library not found for -lPermission-LocationWhenInUse


I have tried manual linking as described here but I still get the error library not found for -lPermission-LocationWhenInUse


Solution

  • Do the below steps

    go to ios folder from terminal, run 'pod install' or 'pod update'. Open ios/newproject.xcworkspace. Also do not forget to enter the permission strings for location inside your info.plist file