Closed genglei0001 closed 6 years ago
@facebook-github-bot no-template
Hey @genglei01, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!
How to Contribute • What to Expect from Maintainers
Environment
Packages: (wanted => installed) react-native: 0.48.3 react: 16.0.0-alpha.12
Target Platform:iOS 11.1 (15B87)
Steps to Reproduce
1.Run react native in xcode.
Expected Behavior
Project works ok
Crash Happen
Process: Xcode [1378] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 9.1 (13532) Build Info: IDEFrameworks-13532000000000000~5 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [1378] User ID: 502
Date/Time: 2017-11-22 09:27:42.898 +0800 OS Version: Mac OS X 10.13.2 (17C79a) Report Version: 12 Anonymous UUID: CC4EA4CA-D121-1DC6-C9B4-E591910FA8EE
Sleep/Wake UUID: D64E4FE8-60BD-479D-9B8F-8903E1E1E836
Time Awake Since Boot: 960 seconds Time Since Wake: 880 seconds
System Integrity Protection: enabled
Crashed Thread: 13 Dispatch queue: com.apple.libdispatch-io.opq
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information: ProductBuildVersion: 9B55 ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-13510/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/BuildSystem/BuildCommandResultsPostprocessing/XCStaticAnalyzerResultsPostprocessor.mm:97 Details: files should be an instance inheriting from NSArray, but it is nil Function: void XCGenerateAnalyzerDiagnosticsFromFile(NSString __strong, IDEActivityLogSectionRecorder __strong) Thread: <NSThread: 0x7fd8c8327f50>{number = 41, name = (null)} Hints:
Backtrace: 0 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) 1 _DVTAssertionHandler (in DVTFoundation) 2 _DVTAssertionFailureHandler (in DVTFoundation) 3 XCGenerateAnalyzerDiagnosticsFromFile(NSString, IDEActivityLogSectionRecorder) (in DevToolsCore) 4 -[IDEXCBuildServiceBuildOperation buildOperation:didEndTask:result:signalled:] (in XCBuildSupport) 5 0x00000001279fba6f (in XCBuild) 6 0x00000001279fddb3 (in XCBuild) 7 0x0000000127a0a004 (in XCBuild) 8 0x0000000127a07882 (in XCBuild) 9 0x00000001279fde13 (in XCBuild) 10 0x00000001279e64af (in XCBuild) 11 __35-[XCBBuildServiceConnection resume]_block_invoke (in XCBuild) 12 ___dispatch_operation_deliver_data_block_invoke (in libdispatch.dylib) 13 _dispatch_call_block_and_release (in libdispatch.dylib) 14 _dispatch_client_callout (in libdispatch.dylib) 15 _dispatch_queue_serial_drain (in libdispatch.dylib) 16 _dispatch_queue_invoke (in libdispatch.dylib) 17 _dispatch_queue_serial_drain (in libdispatch.dylib) 18 _dispatch_queue_invoke (in libdispatch.dylib) 19 _dispatch_root_queue_drain_deferred_wlh (in libdispatch.dylib) 20 _dispatch_workloop_worker_thread (in libdispatch.dylib) 21 _pthread_wqthread (in libsystem_pthread.dylib) 22 start_wqthread (in libsystem_pthread.dylib)
abort() called
Application Specific Signatures: (files) != nil
Thread 0:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x00007fff73d89e9a objc_msgSend + 26 1 com.apple.CoreText 0x00007fff4ebd4ebd CreateFeatureSettingsByConverting(CFArray const*) + 293 2 com.apple.CoreText 0x00007fff4eba4a08 TFont::SetFlags(unsigned int, CTFontDescriptor const*) + 432
Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133
VM Region Summary: ReadOnly portion of Libraries: Total=858.9M resident=0K(0%) swapped_out_or_unallocated=858.9M(100%) Writable regions: Total=1.7G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.7G(100%)
Model: MacBookPro11,3, BootROM MBP112.0142.B00, 4 processors, Intel Core i7, 2.3 GHz, 16 GB, SMC 2.19f12 Graphics: Intel Iris Pro, Intel Iris Pro, Built-In Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2 GB Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020 Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (7.77.37.5.1a3) Bluetooth: Version 6.0.2f2, 3 services, 18 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0512F, 500.28 GB USB Device: USB 3.0 Bus USB Device: Apple Internal Keyboard / Trackpad USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1
Run by command
when run by
react-native run-ios --simulator='iPad Air'
,compile and install is ok,but no simulator display.Reproducible Demo
No