React-native iOS ошибка сборки после команды ссылки - PullRequest
0 голосов
/ 17 июня 2020

При попытке запустить приложение появляется следующая ошибка. Я заметил, что эта ошибка возникает после запуска npx response-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

Кто-нибудь может мне помочь, пожалуйста?

Tks

1 Ответ

0 голосов
/ 20 июня 2020

Больше не нужно запускать npx response-native link , просто запустите pod install в папке ios. Затем go вернитесь в папку root и запустите yarn ios, чтобы применить изменения.

...