【发布时间】:2018-03-05 04:34:05
【问题描述】:
过去几天我让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").
调查的可能原因和解决方案:
-
Checking the scheme - 绝对是
Ask on launch - Scheme settings - 我没有任何空设置可以不勾选
- 已达到最大应用 ID 限制 - 此应用 ID
org.reactjs.native.example.ShareExtensionExampleswyx是我正在重复使用的东西,但我认为它不会导致此问题 - 删除
ios/build并重新编译 - 重新启动我的模拟器和我的整个计算机
- 编辑:是的,我使用的是 xcode 9
到目前为止,这些都没有奏效。请问有什么其他的想法可以尝试吗?
【问题讨论】:
-
是否可以取消链接此共享扩展包?
-
感谢您的回复 - 共享扩展是从 XCode 中创建的,所以我从一开始就从未链接它(来自 RN)。无论如何,我试图保留它,因为这是项目的关键部分。还值得一提的是,在创建全新的
ignite项目时出现此错误。
标签: ios xcode react-native