Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经尝试过这里描述的手动链接,但我仍然收到错误library not found for -lPermission-LocationWhenInUse
library not found for -lPermission-LocationWhenInUse
先运行react-natve link,然后再cd ios运行这个命令pod install cd ..react-native run-ios
react-natve link
cd ios
pod install
cd ..
react-native run-ios
不要忘记安装 pod
执行以下步骤
从终端转到 ios 文件夹,运行“pod install”或“pod update”。打开 ios/newproject.xcworkspace。也不要忘记在 info.plist 文件中输入位置的权限字符串