0

I need to use alamofire to call the backend and provide the heart rate , but in my ios app view controller its working , but in my app its showing Alamofire not found. How to install alamofire in the watch OS app?

My current podfile is

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'watchPhoneApp' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for watchPhoneApp
  pod 'MaterialComponents/Cards'
  pod 'Charts'
  pod 'Alamofire', '~> 5.0.0-rc.2'
  pod 'SwiftyJSON', '~> 4.0'

  target 'watchPhoneAppTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

And do find my project structure in the screen shot : project structure

Gaurav Roy
  • 49
  • 2
  • 8

0 Answers0