Skip to content

Doesn't build (OS/X El Capitan) #31

@bilus

Description

@bilus
codebuild -workspace native/ios/NatalTest.xcworkspace -scheme NatalTest -destination platform='iOS Simulator',OS=latest,id='DFAD3D65-1F5C-4380-921A-4EEEB3F3D53E' test

Gives:

[...]
=== BUILD TARGET NatalTestTests OF PROJECT NatalTest WITH CONFIGURATION Debug ===

Check dependencies

Nov 22 22:10:21  NatalTest[43339] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Nov 22 22:10:21  NatalTest[43339] <Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
Nov 22 22:10:21  NatalTest[43339] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
2015-11-22 22:10:21.752 [error][tid:main][RCTBatchedBridge.m:436] Error while loading: Cannot find entry file index.ios.js in any of the roots: ["/Users/martinb/dev/spikes/natal-test/native"]
Test Suite 'All tests' started at 2015-11-22 22:10:22.041
Test Suite 'NatalTestTests.xctest' started at 2015-11-22 22:10:22.042
Test Suite 'NatalTestTests' started at 2015-11-22 22:10:22.043
Test Case '-[NatalTestTests testRendersWelcomeScreen]' started.
/Users/martinb/dev/spikes/natal-test/native/ios/NatalTestTests/NatalTestTests.m:66: error: -[NatalTestTests testRendersWelcomeScreen] : ((foundElement) is true) failed - Couldn't find element with text 'Welcome to React Native!' in 240 seconds
Test Case '-[NatalTestTests testRendersWelcomeScreen]' failed (240.055 seconds).
Test Suite 'NatalTestTests' failed at 2015-11-22 22:14:22.100.
     Executed 1 test, with 1 failure (0 unexpected) in 240.055 (240.057) seconds
Test Suite 'NatalTestTests.xctest' failed at 2015-11-22 22:14:22.101.
     Executed 1 test, with 1 failure (0 unexpected) in 240.055 (240.058) seconds
Test Suite 'All tests' failed at 2015-11-22 22:14:22.101.
     Executed 1 test, with 1 failure (0 unexpected) in 240.055 (240.060) seconds
** TEST FAILED **

Please let me know what additional information is going to be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions