link 命令后 React-native iOS 构建错误
React-native iOS build error after link command
当我尝试 运行 应用程序时出现以下错误。我注意到这个错误发生在 运行 'npx react-native link'.
之后
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=ED360224-1DF7-481F-BCE5-9700938E4533
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Build system information
error: Multiple commands produce '/Users/vidolin/Library/Developer/Xcode/DerivedData/MyApp-gbsfowkzxjogwsdruwnezgcjnqvv/Build/Products/Debug-iphonesimulator/MyApp.app/Zocial.ttf':
Target 'MyApp' (project 'MyApp') has copy command from '/Users/vidolin/development/MyApp/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/vidolin/Library/D
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=ED360224-1DF7-481F-BCE5-9700938E4533
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Build system information
error: Multiple commands produce '/Users/vidolin/Library/Developer/Xcode/DerivedData/MyApp-gbsfowkzxjogwsdruwnezgcjnqvv/Build/Products/Debug-iphonesimulator/MyApp.app/Zocial.ttf':
Target 'MyApp' (project 'MyApp') has copy command from '/Users/vidolin/development/MyApp/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/vidolin/Library/D
有谁能帮帮我吗?
感谢
不再需要 运行 npx react-native link 只需 运行 pod install 在 ios 文件夹。然后返回到根文件夹和 运行 yarn ios 应用更改。
当我尝试 运行 应用程序时出现以下错误。我注意到这个错误发生在 运行 'npx react-native link'.
之后 Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=ED360224-1DF7-481F-BCE5-9700938E4533
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Build system information
error: Multiple commands produce '/Users/vidolin/Library/Developer/Xcode/DerivedData/MyApp-gbsfowkzxjogwsdruwnezgcjnqvv/Build/Products/Debug-iphonesimulator/MyApp.app/Zocial.ttf':
Target 'MyApp' (project 'MyApp') has copy command from '/Users/vidolin/development/MyApp/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/vidolin/Library/D
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace MyApp.xcworkspace -configuration Debug -scheme MyApp -destination id=ED360224-1DF7-481F-BCE5-9700938E4533
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Build system information
error: Multiple commands produce '/Users/vidolin/Library/Developer/Xcode/DerivedData/MyApp-gbsfowkzxjogwsdruwnezgcjnqvv/Build/Products/Debug-iphonesimulator/MyApp.app/Zocial.ttf':
Target 'MyApp' (project 'MyApp') has copy command from '/Users/vidolin/development/MyApp/node_modules/react-native-vector-icons/Fonts/Zocial.ttf' to '/Users/vidolin/Library/D
有谁能帮帮我吗?
感谢
不再需要 运行 npx react-native link 只需 运行 pod install 在 ios 文件夹。然后返回到根文件夹和 运行 yarn ios 应用更改。