Skip to content

Fixed Get Apple OSX Version method#376

Merged
brody2consult merged 1 commit intoapache:masterfrom
erisu:fix-get-apple-osx-version
Jul 31, 2018
Merged

Fixed Get Apple OSX Version method#376
brody2consult merged 1 commit intoapache:masterfrom
erisu:fix-get-apple-osx-version

Conversation

@erisu
Copy link
Copy Markdown
Member

@erisu erisu commented Jun 23, 2018

Platforms affected

iOS

What does this PR do?

While working on an upcoming PR (#377 ) for improving the test coverage, I noticed that the get_apple_osx_version method has been returning undefined.

After further investigation, the RegEx pattern has been looking for OSX SDK version OS X no longer exists since Xcode 8+

Example print outs:
Xcode 7.3: https://travis-ci.org/erisu/macos-test/jobs/395785417
Xcode 8: https://travis-ci.org/erisu/macos-test/jobs/395785418
For other versions: https://travis-ci.org/erisu/macos-test/builds/395785415

From the above print out, I determined that the RegEx pattern should be updated to macOS

What testing has been done on this change?

Note: Oddly Node 4 appears to be failing but I have submitted PR #375 to drop Node 4 support.

Checklist

  • ~Reported an issue in the JIRA database~~
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

Modified RegEx pattern to look for new SDK pattern 'macOS'
@erisu erisu mentioned this pull request Jun 23, 2018
1 task
@brody2consult brody2consult self-requested a review July 31, 2018 13:09
Copy link
Copy Markdown

@brody2consult brody2consult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<3

@brody2consult brody2consult merged commit f967fc4 into apache:master Jul 31, 2018
@brody2consult
Copy link
Copy Markdown

brody2consult commented Jul 31, 2018

I discovered a few TODO items after merging:

P.S. I took the liberty to edit the Checklist section.

brody2consult pushed a commit to brody2consult/cordova-ios that referenced this pull request Jul 31, 2018
(was part of apacheGH-377)

covers update from apacheGH-376

Co-authored-by: エリス <ellis.bryan@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
brody2consult pushed a commit to brody2consult/cordova-ios that referenced this pull request Jul 31, 2018
(was part of apacheGH-377)

covers update from apacheGH-376

Co-authored-by: エリス <ellis.bryan@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
brody2consult pushed a commit to brody2consult/cordova-ios that referenced this pull request Jul 31, 2018
(was part of apacheGH-377)

covers update from apacheGH-376

Co-authored-by: エリス <ellis.bryan@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
brody2consult pushed a commit that referenced this pull request Jul 31, 2018
(was part of GH-377)

covers update from GH-376

Co-authored-by: エリス <ellis.bryan@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
erisu added a commit to erisu/cordova-ios that referenced this pull request Jan 16, 2019
(was part of apacheGH-377)

covers update from apacheGH-376

Co-authored-by: エリス <ellis.bryan@gmail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
@erisu erisu deleted the fix-get-apple-osx-version branch April 4, 2019 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants