-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教:pod install 后Xcode 报错 Showing Recent Issues clang: error: linker command failed with exit code 1 (use -v to see invocation) #58
Comments
从新生成的项目导入SDK是没有问题的,可能是和其他的东西产生冲突了 ,我也是按照了官方文档的内容对配置文件进行了修改 |
你上面给出的配置就不适用 0.55 |
facebook/react-native#16181 |
RN版本: 0.55.2 根据 facebook/react-native#18683 的解决方法 点击左上角的搜索 |
@feifeimonghuan3 @qiuxiang 我的项目添加"React/Fabric/*"完后,CodePush里面报错could not build moudle 'react',并且RCTSurfaceMinimumSizeAndMaximumSizeFromSizeAndSizeMeasureMode里面会报错Expected')',很奇怪,你们有遇到吗 |
@lyayun 你有从新 pod install 一下么 |
@lyayun 没碰到过这个问题。。。 |
react-native 版本: 0.55.2
以下为 Podfile 配置文件
platform :ios, '8.0'
target 'hekjTanyu' do
pod 'React', :path => './../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket', # needed for debugging
'RCTAnimation', # Needed for FlatList and animations running on native UI thread
]
pod 'yoga', :path => './../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => './../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => './../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => './../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-baidumap-sdk', path: '../node_modules/react-native-baidumap-sdk/lib/ios'
[end](url)
**Xcode报错 **
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/DoubleConversion'
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/Folly'
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/React'
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/glog'
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/react-native-baidumap-sdk'
ld: warning: directory not found for option '-L/Users/lx/Library/Developer/Xcode/DerivedData/hekjTanyu-cyxjsqzuukbpxdbhuvwotxilkowg/Build/Products/Debug-iphonesimulator/yoga'
ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)
谢谢🙏
The text was updated successfully, but these errors were encountered: