Search code examples
iosxcodereact-nativedetox

How to change the binary path for a build project?


When using Detox, I need to set binaryPath for .app.

Currently I have this:

ios/build/Products/Release-iphonesimulator/Project.app

I need it to be like this:

ios/build/Build/Products/Release-iphonesimulator/Project.app

I suspect that the problem is in the Build Settings of my XCode.

Can you tell me how I can change the directory?


Solution

  • In the Build Settings of your project, search for "Build Products Path"

    By default it's "build", but you can change it.

    Xcode build project path