Skip to content

Test PR: #147 running on Xcode 12#150

Closed
mokagio wants to merge 23 commits intodevelopfrom
tracks-xcode-12-experiment
Closed

Test PR: #147 running on Xcode 12#150
mokagio wants to merge 23 commits intodevelopfrom
tracks-xcode-12-experiment

Conversation

@mokagio
Copy link
Contributor

@mokagio mokagio commented Oct 5, 2020

No description provided.

mokagio added 14 commits October 5, 2020 20:09
The project changes were made by the Xcode upgrade wizard.
This will allow us to add the conditional logic for the sandbox vs
non-sandbox location later on.
We'll need this later to make the custom init with the sandbox mode flag
non-nullable.
This should have always been the case, but somehow I got confused and
didn't realize my mistake.

Thanks @jleandroperez for picking this up! Goes to show that tests are
only good when written properly!

https://github.com/Automattic/Automattic-Tracks-iOS/pull/147/files/3e38df8087e7b38a76b45acc5e89527746b4145b#r498830462
From CLI, running the tests might prompt for ~/Documents folder access
because they run outside of the sandbox. If access is not granted, the
tests might fail.

For example, see
https://app.circleci.com/pipelines/github/Automattic/Automattic-Tracks-iOS/368/workflows/1f76b1d9-b2df-4a17-b2e5-aae3ad436594/jobs/890
The Sodium-Fork pod we're using is something I just released, we need to
fetch it in order for the validation to pass.

See
https://app.circleci.com/pipelines/github/Automattic/Automattic-Tracks-iOS/380/workflows/c0206d34-0f8a-4913-8b5d-b05e6dcb7c5b/jobs/936

(Search the output for "Sodium-Fork")
The build failed despite the command to update the pod repo (although it
took 1s to run and didn't emit any output – did it run at all??)

Trying this to see if it updating the library shakes things up enough to
fetch up-to-date specs
There was an error in how CocoaPods generated the module name that would
have resulted in the need to update all of the `import Sodium` calls to
`import SodiumFork`.
@mokagio
Copy link
Contributor Author

mokagio commented Oct 9, 2020

This was a PR to get some tests to run on CircleCI. It's done its job. Closing it now.

@mokagio mokagio closed this Oct 9, 2020
@mokagio mokagio deleted the tracks-xcode-12-experiment branch October 9, 2020 04:27
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.

1 participant