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

2

There are 2 best solutions below

3
On BEST ANSWER

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

1
On

First run react-natve link , then cd ios and then run this command pod install cd .. and react-native run-ios

Don't forget to install pods