Reputation: 2511
I had react-native run-ios
working for the past few days but today it randomly decided to stop working:
The following commands produced analyzer issues:
Analyze /Users/swyx/Desktop/webdev/fullstacksr/reactNativeExtensions/ActionExtensionExample3/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/swyx/Desktop/webdev/fullstacksr/reactNativeExtensions/ActionExtensionExample3/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2 commands with analyzer issues)
Installing build/Build/Products/Debug-iphonesimulator/ActionExtensionExample3.app
An error was encountered processing the command (domain=IXErrorDomain, code=2):
Failed to set plugin placeholders for org.reactjs.native.example.ShareExtensionExampleswyx
Launching org.reactjs.native.example.ShareExtensionExampleswyx
org.reactjs.native.example.ShareExtensionExampleswyx: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "org.reactjs.native.example.ShareExtensionExampleswyx" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application "org.reactjs.native.example.ShareExtensionExampleswyx" is unknown to FrontBoard").
Possible causes and solutions investigated:
Ask on launch
org.reactjs.native.example.ShareExtensionExampleswyx
is something I am reusing but i dont think it causes this issueios/build
and recompilingnone of these have worked so far. Any other ideas on things to try please?
Upvotes: 20
Views: 19820
Reputation: 911
As mentioned by Gavin Owens on Github, I followed those steps and it worked.
Just delete ios/build from iOS directory and after that run command react-native-run-ios
use following command
rm -rf ios/build then running react-native run-ios
Upvotes: 14
Reputation: 3126
try with another simulator if it works you need to reset your simulator from simulator menu
Upvotes: 26