Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

[CHORE] Use latest swift for all pods #2155

Merged

Conversation

Sameesunkaria
Copy link
Collaborator

@RocketChat/ios

Use Swift 4.1 for all pods by default, except for those which require swift 3 support.

@Sameesunkaria Sameesunkaria changed the title [CHORE] Use latest swift for all pods [WIP][CHORE] Use latest swift for all pods Sep 3, 2018
Podfile Outdated
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.1'
config.build_settings['SWIFT_VERSION'] = '4.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

4.2 to support Xcode 10 already @Sameesunkaria? :-)

Copy link
Collaborator Author

@Sameesunkaria Sameesunkaria Sep 4, 2018

Choose a reason for hiding this comment

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

Umm, it may take some time for the dependencies to update to the latest version of swift. There are some changes in UIKit introduced with Swift 4.2, so it's probably better for us to keep it at 4.1.

We can easily change it to 4.2 down the line.

@Sameesunkaria Sameesunkaria changed the title [WIP][CHORE] Use latest swift for all pods [CHORE] Use latest swift for all pods Sep 4, 2018
@rafaelks
Copy link
Contributor

rafaelks commented Sep 6, 2018

Looks good @Sameesunkaria, thank you! :-)

@rafaelks rafaelks added this to the 3.2.0 milestone Sep 6, 2018
@rafaelks rafaelks merged commit 91dd4dd into RocketChat:develop Sep 6, 2018
@rafaelks rafaelks modified the milestones: 3.2.0, 3.1.1 Sep 21, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants