vendredi 20 mai 2016

compilation error: cocoapods xcode test project compilation error, how to remove test project cleanly

The question is how to cleanly remove Test in cocoapods PodFile ?

I'ved just recently updated cocoapods 1.0.0 to my project

I ran "pod init" to generate a sample PodFile then put in my pods.

Whole bunch of error generated by the xcode test project ProjectNameTests http://ift.tt/27ImHvm

How can I cleanly remove the tests ? Even if comment it out there is other problems like Bridging-Header.h cannot find dependent header.

In my PodFile:

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

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

  # Pods for ProjectName

    pod 'FBSDKCoreKit',  '~> 4.9'
    pod 'FBSDKLoginKit', '~> 4.9'
    pod 'FBSDKShareKit', '~> 4.9'
    pod 'SwiftyJSON', '~> 2.3.1'
    pod 'Alamofire', '~> 3.0'
    pod 'Google/Analytics', '~> 1.0.0'
    pod 'Fabric'
    pod 'Crashlytics'
    pod 'AWSS3'

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

end

Aucun commentaire:

Enregistrer un commentaire