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

feat: update swift module template to Swift 5 #10974

Merged
merged 5 commits into from
Jul 1, 2019

Conversation

janvennemann
Copy link
Contributor

JIRA: https://jira.appcelerator.org/browse/TIMOB-26770

Optional Description:
Cherry-picked commit from #10830 to only update the module template to Swift 5 and apply recommended project settings from Xcode 10.2.

* @param {Object} logger The logger instance.
* @param {Object} config The hook config.
* @param {Object}cli The Titanium CLI instance.
* @param {Object} appc The Appcelerator CLI instance.
*/
function init(logger, config, cli, appc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

  • ⚠️ iphone/templates/module/swift/template/ios/hooks/ti.swiftsupport.js line 22 – 'appc' is defined but never used. Allowed unused args must match /^_.+/. (no-unused-vars)

@build
Copy link
Contributor

build commented Jun 18, 2019

Warnings
⚠️

Commit 2871c7cfcd007eb3d48593465a022558d4d34c8e has a message "fix linting issues" giving 2 errors:

  • subject may not be empty
  • type may not be empty
Messages
📖

💾 Here's the generated SDK zipfile.

📖

✅ All tests are passing
Nice one! All 3619 tests are passing.
(There are 464 tests skipped)

📖

🚨 This PR has one or more commits with warnings/errors for commit messages not matching our configuration. You may want to squash merge this PR and edit the message to match our conventions, or ask the original developer to modify their history.

Generated by 🚫 dangerJS against 8cad97f

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

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

CR passed.

@keerthi1032
Copy link
Contributor

FR Passed. No error on building module using swift 5 with the fix.
Operating System
Name = Mac OS X
Version = 10.14.5
Architecture = 64bit
Node.js
Node.js Version = 10.13.0
npm Version = 6.4.1
Titanium CLI
CLI Version = 5.1.1
Titanium SDK
SDK Version = local sdk 8.2.0.v20190624064632
cli -7.0.12

@keerthi1032 keerthi1032 merged commit 8e75042 into tidev:master Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants