Реактивная сборка iOS не удалась - PullRequest
0 голосов
/ 11 января 2019

Реактивная сборка iOS не удалась со следующей ошибкой.

GB-MAC-01s-MacBook-Pro:rrtest muruganandham.kuppan$ react-native run-ios
Found Xcode project rrtest.xcodeproj
Building using "xcodebuild -project rrtest.xcodeproj -configuration Debug -scheme rrtest -destination id=E7283C81-5F0D-4732-BF8B-19DB3C904DA2 -derivedDataPath build"
Ignoring unf_ext-0.0.7.5 because its extensions are not built.  Try: gem pristine unf_ext --version 0.0.7.5
▸ Running script 'Start Packager'
** BUILD FAILED **


Installing build/Build/Products/Debug-iphonesimulator/rrtest.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

enter image description here

Я пробовал несколько решений, но не повезло.

РЕДАКТИРОВАТЬ: Дополнительная информация enter image description here

Я изменил собственный реактивный порт на 8088 и изменил его в проекте.

1 Ответ

0 голосов
/ 29 января 2019

Как я исправил проблему?

Получить процесс, работающий в порту 8081

sudo lsof -i :8081

enter image description here

и убил его.

sudo kill -9 336

* 336 - это PID (идентификатор процесса)

...