我收到错误消息无法找到名为`YOUR_APPLICATION_TARGET_NAME_HERE`的目标,确实找到了`FoodTracker`和`FoodTrackerTests`。怎么样

时间:2017-05-24 11:46:15

标签: ios cocoapods

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

target 'FoodTracker' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for FoodTracker

  target ‘FoodTrackerTests’ do
    inherit! :search_paths
    # Pods for testing
  end
source 'https://github.com/CocoaPods/Specs.git'
target 'YOUR_APPLICATION_TARGET_NAME_HERE' do
  pod 'GoogleMaps'
  pod 'GooglePlaces'
end
end

1 个答案:

答案 0 :(得分:0)

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

target 'FoodTracker' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!
source 'https://github.com/CocoaPods/Specs.git'    
  # Pods for FoodTracker
  pod 'GoogleMaps'
  pod 'GooglePlaces'
end
  target ‘FoodTrackerTests’ do
    inherit! :search_paths
    # Pods for testing
  end