For me the solution for the error (Library 'Permission-LocationWhenInUse' not found) was to delete these (.a) under Xcode -> project -> target -> general -> frameworks, libraries enter image description here
Reasons:
Blacklisted phrase (1): enter image description here