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

Xcode 12.5 support #491

Merged
merged 17 commits into from
Jun 21, 2021
Merged

Conversation

ob
Copy link
Member

@ob ob commented May 17, 2021

This is a continuation of #490 in order to fix #488. What is in this PR:

@ob ob marked this pull request as draft May 17, 2021 21:41
- name: Select Xcode 12.4
run: sudo xcode-select -s /Applications/Xcode_12.4.app
- name: Select Xcode 12.5
run: sudo xcode-select -s /Applications/Xcode_12.5.app

Choose a reason for hiding this comment

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

👍

* Added an Architecture doc

Signed-off-by: Buzz-Lightyear <m.srinivas1729@gmail.com>
Co-authored-by: Oscar Bonilla <6f6231@gmail.com>
@ob ob mentioned this pull request Jun 16, 2021
ob and others added 15 commits June 18, 2021 23:19
* Remove call to popen() and use runShell

I was getting this error when running locally:

Failed to open macho file at /usr/bin/nm for reading: Too many levels of symbolic links

and it only happens with the `popen()` for swift. Since we use runShell
for objective C right below, make the calls match.

Signed-off-by: Oscar Bonilla <6f6231@gmail.com>

* Some cleanups

Remove unneeded headers
Clean up the interfaces to BPTestBundleConnection and
BPTestDaemonConnection

Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
One way XCTest differentiates between Swift and Objective-C tests is
by the parenthesis at the end of the name. I can't remember why we
were stripping them, but I suspect it was for aesthetic reasons.

Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
Although the previous comment said testsToRun didn't work and
testsToSkip did, through experiementation it seems that the opposite is
true in Xcode 12.5.
Turns out that macos-latest maps to 10.5 which doesn't support
Xcode 12.5, but if you use macos-11 you can get Xcode 12.5.
This reverts commit df78494.

This is the wrong fix, the problem is not that testsToSkip doesn't work,
the problem is that we are not differentiating between Objective-C and
Swift tests.
Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
…xcode-12.5

Signed-off-by: Oscar Bonilla <6f6231@gmail.com>
@ob ob marked this pull request as ready for review June 21, 2021 17:23
@ob ob self-assigned this Jun 21, 2021
@ob ob merged commit 685dd0f into MobileNativeFoundation:ob/xcode-12.5 Jun 21, 2021
@ob ob mentioned this pull request Jun 21, 2021
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.

4 participants