Skip to content

Instantly share code, notes, and snippets.

@garyharan
Created February 1, 2023 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garyharan/8f7ea10842f21fddf9cda2ca88f33073 to your computer and use it in GitHub Desktop.
Save garyharan/8f7ea10842f21fddf9cda2ca88f33073 to your computer and use it in GitHub Desktop.
How to install turbo-ios

Installing Turbo iOS on a Swift app

Add turbo-ios package

File > Add Packages > Paste in 'https://github.com/hotwired/turbo-ios/' > Add

Enable Cocoapods

First run sudo gem install cocoapods Then touch Podfile

Add the following content to your Podfile adjusting the name of your app and the release tag at https://github.com/hotwired/turbo-ios/releases:

platform :ios, '16.0'

target 'AppName' do
  pod 'Turbo', :git => 'https://github.com/hotwired/turbo-ios.git', :branch => 'main', :tag => '7.0.0-rc.7'
end

Close all XCode instance and reopen using the following command:

open AppName.xcworkspace

Where AppName is replaced with your own app name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment