奇怪的测试错误xcode 7

时间:2015-10-09 12:24:15

标签: ios swift unit-testing cocoapods xcode7

您好,有人在使用xcode 7运行测试时遇到此问题吗?每当我运行我的测试时,它都会失败并出现以下错误:

<GMR/INFO> App measurement v.1100000 started
Failure to configure[].
Subspecs not present, so not configured [Analytics, AdMob, AppInvite, CloudMessaging, Maps].
Subspecs expected to be present [SignIn, Measurement].
The bundle “my-project” couldn’t be loaded because its executable couldn’t be located. Try reinstalling the bundle.

这是我的podfile;

target 'my-project' do

    pod 'SwiftyJSON'

    pod 'Alamofire'

    pod 'AFNetworking'

    source 'https://github.com/CocoaPods/Specs.git'

     pod 'AWSCore', '= 2.1.2'

    pod 'AWSS3', '= 2.1.2'

    pod 'SwiftValidator'

    pod 'RavenSwift'

    pod 'KAProgressLabel'

    pod 'Google/SignIn'

    pod 'IOSLinkedInAPI'

    pod 'FBSDKLoginKit', '~> 4.6'

    end



target 'my-projectTests', :exclusive => true do

    pod 'SwiftyJSON'

    pod 'Alamofire'

    pod 'AFNetworking'


    source 'https://github.com/CocoaPods/Specs.git'

    pod 'AWSCore', '= 2.1.2'

    pod 'AWSS3', '= 2.1.2'

    pod 'SwiftValidator'

    pod 'RavenSwift'

    pod 'KAProgressLabel'    

    pod 'Google/SignIn'

    pod 'IOSLinkedInAPI'

    pod 'FBSDKLoginKit', '~> 4.6'

end

我试图在谷歌上找到答案,但没有成功。 真的会欢迎任何帮助

0 个答案:

没有答案