alskipp / ASValueTrackingSlider

A UISlider subclass that displays the slider value in a popup view
MIT License
1.84k stars 234 forks source link

Missing the file “ValueTrackingSliderTests-Info.plist” #29

Closed BanditsBacon closed 9 years ago

BanditsBacon commented 9 years ago

If i try pod try ASValueTrackingSlider and try to build the xcode project i run in this failure. `error: could not read data from '/tmp/CocoaPods/Try/ASValueTrackingSlider/Example/ValueTrackingSliderTests/ValueTrackingSliderTests-Info.plist': The file “ValueTrackingSliderTests-Info.plist” couldn’t be opened because there is no such file.`` The same when i download the Project as zip and try to build the example project.

Cheers

alskipp commented 9 years ago

Hmmm, that looks like a cocoa pods error as it's looking for a file in a tmp directory. It's strange that it also occurs with the zipped project too. Have you tried nuking the build folder - clean project in Xcode and delete build resources etc?

BanditsBacon commented 9 years ago

Yes i tried it (clean, delete) but no success. I test it also with the release Version 0.9.4 and 0.9.3 which brings me the same failure.

alskipp commented 9 years ago

I'm not sure what to suggest. It looks like you've hit a bug with Xcode/CocoaPods. If you manually copy the 4 source files into a project I'm sure that should work - though I appreciate that this is not an ideal solution.

BanditsBacon commented 9 years ago

Oh sorry i forgot to mention two things.

  1. I tested it on two different Machines, one with Yosemite and one with Mavericks, but with the same Cocoapods 0.34.4 version and the same Xcode Version. I run in the exact same failure.
  2. If i install it via pod 'ASValueTrackingSlider' it works like expect.

So it's strange, that the failure only appears when i download the project as zip or pod try ASValueTrackingSlider

colasbd commented 9 years ago

I have the same issue when downloading the .zip folder.

An idea: it is the TEST plist that is missing...

So, a solution is to remove the "test target" from the targets... it works for me. capture d ecran 2015-03-31 a 16 29 26

alskipp commented 9 years ago

With the latest release this annoying issue should have vanished.