提问人:ALEXANDER 提问时间:10/27/2023 最后编辑:JeremyPALEXANDER 更新时间:10/27/2023 访问量:32
仅显示所有错误链接器命令失败,退出代码为 1(使用 -v 查看调用)
Showing All Errors Only Linker command failed with exit code 1 (use -v to see invocation)
问:
上面给定的图像将显示错误详细信息
谢谢你的提前。
.
Podfile:- # Uncomment the next line to define a global platform for your project
# platform :ios, '14.0'
target 'Native_iOS_App' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Your 'node_modules' directory is probably in the root of your project,
# but if not, adjust the `:path` accordingly
pod 'React', :path => '../../React Native App/Bakesale/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',
'RCTImage',
'RCTWebSocket', # Needed for debugging
# Add any other subspecs you want to use in your project
]
# Explicitly include Yoga if you are using RN >= 0.42.0
pod 'yoga', :path => '../../React Native App/Bakesale/node_modules/react-native/ReactCommon/yoga'
# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../../React Native App/Bakesale/node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../../React Native App/Bakesale/node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../../React Native App/Bakesale/node_modules/react-native/third-party-podspecs/Folly.podspec'
# Pods for Native_iOS_App
target 'Native_iOS_AppTests' do
inherit! :search_paths
# Pods for testing
end
target 'Native_iOS_AppUITests' do
inherit! :search_paths
# Pods for testing
end
end
Package.json
{
"name": "Bakesale",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"build:ios": "node node_modules/react-native/local-cli/cli.js bundle --entry-file='index.js' --bundle-output='./main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'"
},
"dependencies": {
"lodash": "^4.17.10",
"lodash.debounce": "^4.0.8",
"react": "16.4.1",
"react-native": "0.56.0"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "^5",
"jest": "23.4.2",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
}
}
答: 暂无答案
评论