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

Swift updates #373

Closed
wants to merge 13 commits into from
Closed

Swift updates #373

wants to merge 13 commits into from

Conversation

atomicbird
Copy link
Collaborator

Summary of Changes

Updates for better Swift-iness, mostly based on changes in #368 (thanks a ton, @radianttap). Some additional changes have been incorporated:

  • Fix a few minor errors in the updated templates.
  • Update Swift tests to reflect new templates.
  • Keep generated code out of the "human" file while retaining the new class/extension approach for Swift.
  • Changed Rakefile to use Xcode-beta since these changes require Swift 4.2.

Please nobody merge this until Xcode 10 is released because as the branch name implies, these changes require Swift 4.2.

@atomicbird
Copy link
Collaborator Author

atomicbird commented Aug 4, 2018

I believe that failing tests are probably due to Travis not having an Xcode 10 option right now. The test failures complain that

clang: warning: no such sysroot directory: '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]

Using rake to test locally passes. Unless someone has a better suggestion, I'm leaving the tests failing for now and will revisit once Travis offers Xcode 10.

@atomicbird atomicbird mentioned this pull request Aug 4, 2018
@atomicbird
Copy link
Collaborator Author

Closing this out for now because it's not quite ready and I don't want to have Travis keep sending messages about failing tests while I finish with it.

@atomicbird atomicbird closed this Aug 14, 2018
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