Xcode test step fails due to wrong path to source

Hi,

I’ve tried to use the Xcode test step for one of our frameworks instead of using Fastlane. After cloning the repo I get a path like /Users/Foo/git/ from the $BITRISE_SOURCE_DIR variable which looks fine.

When the test step is configured I supply the path to the xcodeproj which it also finds at /Users/Foo/git/MyProject.xcodeproj
However, when it comes to the next step of compiling my sources it fails because all the files are missing and it’s looking in a different directory despite setting the working dir to $BITRISE_SOURCE_DIR /Users/Foo/MyProject/SourceFile.swift

Am I doing something wrong here?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.