Den*_*nis 5 xcode ios cocoapods react-native
有一个本机反应项目,由于我从那时起设置了cocoapods并使用了xcworkspace文件(需要进行firebase集成react-native-firebase),因此不会在目标"Staging"上构建.当尝试为taget"staging"构建时,我会收到此错误:
ld: library not found for -lPods-[app]
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Run Code Online (Sandbox Code Playgroud)
当我归档项目时,它适用于调试,并且(至少它不会抛出错误).
由于代码推送,我有一个"临时"目标.在版本0.48.4和Xcode 9上使用react-native (在本指南之后创建它,但在使用cocoapods之前)
我的podfile:
platform :ios, '9.0'
target 'xx' do
#use_frameworks!
# Pods
pod 'Firebase/Core'
pod 'Firebase/Analytics'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
end
Run Code Online (Sandbox Code Playgroud)
尝试use_frameworks!与否,清理项目,删除DerivedData,解体和重新集成pods.
什么可能导致这个?(如果您需要更多信息,请告诉我)
| 归档时间: |
|
| 查看次数: |
7154 次 |
| 最近记录: |