containerPortal为空xcode断言失败

containerPortal为空xcode断言失败,xcode,react-native,react-native-ios,Xcode,React Native,React Native Ios,从升级rect本机项目后,在xcode中打开项目时遇到问题 react本机运行ios上的完整堆栈跟踪——详细 ➜ react-native run-ios --verbose info Found Xcode project Hub.xcodeproj info Building using "xcodebuild -project Hub.xcodeproj -configuration Debug -scheme Hub -destination id=983F7ABF-6770-4DB6-

从升级rect本机项目后,在xcode中打开项目时遇到问题

react本机运行ios上的完整堆栈跟踪——详细

➜ react-native run-ios --verbose
info Found Xcode project Hub.xcodeproj
info Building using "xcodebuild -project Hub.xcodeproj -configuration Debug -scheme Hub -destination id=983F7ABF-6770-4DB6-B13C-2606DA4BF6C1 -derivedDataPath build/Hub"
info User defaults from command line:
    IDEDerivedDataPathOverride = /Users/petarpilipovic/Documents/Project/hub-family-mobile/ios/build/Hub


error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code null. To debug build logs further, consider building your app with Xcode.app, by opening Hub.xcodeproj

2019-07-26 19:20:15.011 xcodebuild[79690:6745260] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14492.1/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/Containers/PBXContainerItemProxy.m:136
Details:  _containerPortal is NULL
Object:   <PBXContainerItemProxy: 0x7fe8897ad3a0>
Method:   -remoteContainer
Thread:   <NSThread: 0x7fe886c058f0>{number = 1, name = main}
Hints:

Backtrace:
  0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
  4   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
  5   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
  6   -[PBXReference addNotifications] (in DevToolsCore)
  7   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
  8   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
  9   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 10   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 11   -[PBXFileReference loadedContainer] (in DevToolsCore)
 12   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
 13   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
 14   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
 15   -[PBXReference addNotifications] (in DevToolsCore)
 16   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
 17   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
 18   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 19   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 20   -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
 21   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
 22   _dispatch_client_callout (in libdispatch.dylib)
 23   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
 24   DVTDispatchBarrierSync (in DVTFoundation)
 25   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 26   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
 27   __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
 28   -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
 29   -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
 30   +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
 31   +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
 32   -[IDEWorkspace _configureWrappedWorkspaceWithError:] (in IDEFoundation)
 33   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
 34   +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
 35   +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] (in IDEFoundation)
 36   -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
 37   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 38   main (in xcodebuild)
 39   start (in libdyld.dylib)

debug Error: Failed to build iOS project. We ran "xcodebuild" command but it exited with error code null. To debug build logs further, consider building your app with Xcode.app, by opening Hub.xcodeproj

2019-07-26 19:20:15.011 xcodebuild[79690:6745260] [MT] DVTAssertions: ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14492.1/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/Containers/PBXContainerItemProxy.m:136
Details:  _containerPortal is NULL
Object:   <PBXContainerItemProxy: 0x7fe8897ad3a0>
Method:   -remoteContainer
Thread:   <NSThread: 0x7fe886c058f0>{number = 1, name = main}
Hints:

Backtrace:
  0   -[DVTAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in DVTFoundation)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
  4   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
  5   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
  6   -[PBXReference addNotifications] (in DevToolsCore)
  7   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
  8   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
  9   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 10   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 11   -[PBXFileReference loadedContainer] (in DevToolsCore)
 12   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
 13   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
 14   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
 15   -[PBXReference addNotifications] (in DevToolsCore)
 16   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
 17   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
 18   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 19   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 20   -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
 21   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
 22   _dispatch_client_callout (in libdispatch.dylib)
 23   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
 24   DVTDispatchBarrierSync (in DVTFoundation)
 25   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 26   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
 27   __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
 28   -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
 29   -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
 30   +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
 31   +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
 32   -[IDEWorkspace _configureWrappedWorkspaceWithError:] (in IDEFoundation)
 33   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
 34   +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
 35   +[IDEContainer retainedWrappedWorkspaceForContainerAtFilePath:fileDataType:error:] (in IDEFoundation)
 36   -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] (in Xcode3Core)
 37   -[Xcode3CommandLineBuildTool run] (in Xcode3Core)
 38   main (in xcodebuild)
 39   start (in libdyld.dylib)

    at ChildProcess.buildProcess.on.code (/Users/petarpilipovic/Documents/Project/hub-family-mobile/node_modules/@react-native-community/cli/build/commands/runIOS/runIOS.js:231:16)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Pipe._handle.close (net.js:606:12).
➜ 反应本机运行ios--详细
找到Xcode项目Hub.xcodeproj的信息
使用“xcodebuild-project Hub.xcodeproj-configuration Debug-scheme Hub-destination id=983F7ABF-6770-4DB6-B13C-2606DA4BF6C1-派生数据路径构建/集线器”进行信息构建
命令行中的信息用户默认值:
IDEDerivedDataPathOverride=/Users/petarpilipovic/Documents/Project/hub family mobile/ios/build/hub
无法生成iOS项目时出错。我们运行了“xcodebuild”命令,但它退出,错误代码为null。要进一步调试构建日志,可以考虑通过打开Hub XCODEPROJ来构建与Xcode.app的应用程序。
2019-07-26 19:20:15.011 xcodebuild[79690:6745260][MT]DVTAssertions:ASSERTION FAILURE in/Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14492.1/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/Containers/pbxcontainerinteremproxy.m:136
详细信息:_containerPortal为空
对象:
方法:-remoteContainer
线程:{number=1,name=main}
提示:
回溯:
0-[DVTAssertionHandler handleFailureInMethod:对象:文件名:行号:断言签名:messageFormat:参数:](在DVTFoundation中)
1_DVTAssertionHandler(位于DVT地基中)
2_DVTAssertionFailureHandler(位于DVT地基中)
3-[PBXContainerItemProxy remoteContainer](在DevToolsCore中)
4-[PBXContainerItemProxy remoteContainerItem](在DevToolsCore中)
5-[PBXReferenceProxy sourceTree](在DevToolsCore中)
6-[PBXReference addNotifications](在DevToolsCore中)
7-[PBXReference awakeFromPListUnarchiver:](在DevToolsCore中)
8-[PBXReferenceProxy从plistunarchiver唤醒:](在DevToolsCore中)
9-[PBXPListUnarchiver decodeRootObject](在DevToolsCore中)
10+[PBXProject projectWithFile:errorHandler:readOnly:](在DevToolsCore中)
11-[PBXFileReference loadedContainer](在DevToolsCore中)
12-[PBXContainerItemProxy remoteContainer](在DevToolsCore中)
13-[PBXContainerItemProxy remoteContainerItem](在DevToolsCore中)
14-[PBXReferenceProxy sourceTree](在DevToolsCore中)
15-[PBXReference addNotifications](在DevToolsCore中)
16-[PBXReference awakeFromPListUnarchiver:(在DevToolsCore中)
17-[PBXReferenceProxy从plistunarchiver唤醒:](在DevToolsCore中)
18-[PBXPListUnarchiver decodeRootObject](在DevToolsCore中)
19+[PBXProject projectWithFile:errorHandler:readOnly:](在DevToolsCore中)
20-[Xcode3Project initWithFilePath:扩展:工作区:选项:错误:](在DevToolsCore中)
21 _u82+[IDEContainer\u retainedContainerAtFilePath:fileDataType:workspace:options:error:][u block\u invoke\u 2(在IDEFoundation中)
22调度客户端调用(在libdispatch.dylib中)
23调度、车道、障碍、同步、调用和完成(在libdispatch.dylib中)
24 DVTDispatchBarrierSync(在DVT地基中)
25-[DVTDispatchLock performlocked block:](DVT地基中)
26 _u82+[IDEContainer\u retainedContainerAtFilePath:fileDataType:workspace:options:error:][u block\u invoke(在IDEFoundation中)
27 uu 58-[DVTModelObjectGraph performBlockCoalescingModelChanges:][U block_uinvoke(在DVTFoundation中)
28-[DVT模型图交易范围执行交易:](在DVT基础中)
29-[DVTModelObjectGraph performBlockCoalescingModelChanges:](在DVTFoundation中)
30+[IDEContainer\u retainedContainerAtFilePath:fileDataType:workspace:options:error:(在IDEFoundation中)
31+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:(在IDEFoundation中)
32-[IDEWorkspace\u configureWrappedWorkspaceWithError:](在IDEFoundation中)
33 _u82+[IDEContainer\u retainedContainerAtFilePath:fileDataType:workspace:options:error:][u block\u invoke(在IDEFoundation中)
34+[IDEContainer\u retainedContainerAtFilePath:fileDataType:workspace:options:error:(在IDEFoundation中)
35+[IDEContainerRetainedRappedWorkspaceforContainerFilePath:fileDataType:error:(在IDEFoundation中)
36-[Xcode3CommandLineBuildTool\u ResolveInputOptions with TimingSection:(在Xcode3Core中)
37-[Xcode3CommandLineBuildTool运行](在Xcode3Core中)
38主(在xcodebuild中)
39开始(在libdyld.dylib中)
调试错误:无法生成iOS项目。我们运行了“xcodebuild”命令,但它退出,错误代码为null。要进一步调试构建日志,可以考虑通过打开Hub XCODEPROJ来构建与Xcode.app的应用程序。
2019-07-26 19:20:15.011 xcodebuild[79690:6745260][MT]DVTAssertions:ASSERTION FAILURE in/Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14492.1/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/Containers/pbxcontainerinteremproxy.m:136
详细信息:_containerPortal为空
对象:
方法:-remoteContainer
线程:{number=1,name=main}
提示:
回溯:
0-[DVTAssertionHandler handleFailureInMethod:对象:文件名:行号:断言签名:messageFormat:参数:](在DVTFoundation中)
1_DVTAssertionHandler(位于DVT地基中)
2_DVTAssertionFailureHandler(位于DVT地基中)
3-[PBXContainerItemProxy remoteContainer](在DevToolsCore中)
4-[PBXContainerItemProxy remoteContainerItem](在DevToolsCore中)
5-[PBXReferenceProxy sourceTree](在DevToolsCore中)
6-[PBXReference addNotifications](在DevToolsCore中)
7-[PBXReference awakeFromPListUnarchiver:](在DevToolsCore中)
8-[PBXReferenceProxy从plistunarchiver唤醒:](在DevToolsCore中)
9-[PBXPListUnarchiver decodeRootObject](在DevToolsCore中)
10+[PBXProject projectWithFile:errorHandler:readOnly:](在DevToolsCore中)
11-[PBXFileReference loadedContainer](在DevToolsCore中)
12-[PBXContainerItemProxy remoteContainer](在DevToolsCore中)
13-[PBXContainerItemProxy remoteContainerItem](在DevToolsCore中)
14-[PBXReferenceProxy sourceTree](在DevToolsCore中)
15-[PBXReference addNotifications](在DevToolsCore中)
16-[pbxreere
yourProjectDir/ios/yourprojectname.xcworkspace