Install iOS SDK

If Swift Package Manager is already enabled in your project, you can skip the first two steps below and proceed to the remaining steps. Otherwise, follow all steps

To setup for iOS, follow these steps:

  1. Add the following to the top of the iOS/Podfile:

    require_relative './.symlinks/plugins/capillary_hydra_ios/script/HydraPods.rb'
    
  2. Add the following in the target 'Runner' section of the iOS/Podfile:

    target 'Runner' do
      use_frameworks!
    
      hydra_pods # Add this line
    
      flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
      target 'RunnerTests' do
        inherit! :search_paths
      end
    end
    
  3. Open your terminal, change the current working directory to the ios folder of your project, and run the following command:

    pod install
    

If you are using another CMS, follow the steps in the Advanced iOS Setup documentation instead.