unit testing - Tests won't run: "The executable for the test bundle at '../DerivedData/../*.xctest' could not be found" -
i have xcode 5.1 project (proja) included private framework (frameworkb) via cocoapods. working, building , testing , weather nice. but, because frameworkb being developed in parallel proja, decided include project of frameworkb (proj b) in proja, again via cocoapods reference :path ='path/to/projb'
in result projb compiles , builds , runs on device, tests target compiles , builds doesn't run, simulator start , message displayed:
2014-04-14 11:08:34.990 xctest[98973:303] executable test bundle @ /users/mynamehere/library/developer/xcode/deriveddata/projb-manylettershere/build /products/debug-iphonesimulator/projb.xctest not found. program ended exit code: 1 also weather not nice anymore.
google didn't help. other stackoverflow question more transition sentest cu xctest.
any hint put me on right path appreciated.
the cause , solution problem (as usual) simple:
the framework being built contained bundle, required, (of course) not generated pod project, if in podspec specified spec.resources pram. solution create spec.resource_bundle required name , resource files.
why throw error , not compile-time or runtime error still don't know :| (the projb.xctest present @ path in error)
Comments
Post a Comment