swy*_*wyx 13 xcode ios react-native
我react-native run-ios
过去几天工作了,但今天随机决定停止工作:
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").
Run Code Online (Sandbox Code Playgroud)
可能的原因和解决方案:
Ask on launch
org.reactjs.native.example.ShareExtensionExampleswyx
是我重复使用但我认为它不会导致此问题ios/build
和重新编译到目前为止,这些都没有奏效.有什么其他的想法可以尝试吗?
Moh*_*lil 25
尝试使用另一个模拟器,如果它工作,你需要从模拟器菜单重置你的模拟器
kau*_*hal 10
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
使用以下命令
rm -rf ios / build然后运行react-native run-ios
归档时间: |
|
查看次数: |
9962 次 |
最近记录: |