I have tried manual linking as described here but I still get the error library not found for -lPermission-LocationWhenInUse
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