Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Objc-Test for Local & TravisCI #396

Closed
erisu opened this issue Aug 23, 2018 · 0 comments
Closed

Update Objc-Test for Local & TravisCI #396

erisu opened this issue Aug 23, 2018 · 0 comments
Assignees

Comments

@erisu
Copy link
Member

erisu commented Aug 23, 2018

Issue

Running objc-tests locally fails due to the current version of Xcode that is installed.

In most cases, developers may upgrade to the latest stable release of Xcode as they are released.

In my case, one of my macOS environments is using Xcode 9.4, the latest stable release, which supports iOS 11.4. This version of iOS does not support iPhone 5, which is the current target simulator for the objc-tests.

With the current test configuration, running locally causes test failures.
While Travis CI is still configured with 9.2, tests remain to pass.

Goal

This will allow tests to pass successfully on Travis CI and locally when using Xcode 9.3 or higher.

Side Notes:

Travis CI configured with Xcode 9.4 fails to open the iPhone simulator. Therefore I have fallen back the the previous version 9.3.

Xcode 9.4 Test Results: https://travis-ci.org/erisu/cordova-ios/builds/419480866
Error:

$ open -b com.apple.iphonesimulator
LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.apple.iphonesimulator.
The command "open -b com.apple.iphonesimulator" exited with 1.
@erisu erisu changed the title Update Objc-Test for Local & Travis Update Objc-Test for Local & TravisCI Aug 23, 2018
@erisu erisu self-assigned this Aug 29, 2018
@erisu erisu closed this as completed Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant