Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Setting up BluePill

https://github.com/linkedin/bluepill

https://github.com/linkedin/bluepill/releases (use the XCode 9.2 compatible release)

Copy the binary (bluepill) to /usr/local/bin


BluePill runs tests using a xctestrun binary which is built with XCode using:

xcodebuild with the build-for-testing command as below:

xcodebuild -workspace YourWorkspace.xcworkspace \
    -scheme YourJourneyTests \
    -sdk iphonesimulator \
    -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.2' \
    build-for-testing \
    | xcpretty

After it's done copy the xctestrun from DerivedData

find it with:

find ~/Library/Developer/XCode -name '*xctestrun'

copy it to the project folder for convenience

bluepill --xctestrun-path ./$xctestrun -o ./output/

Integrating BluePill with Fastlane

see: https://github.com/tbrand/fastlane-plugin-bluepill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.