Run two instances of a SFML C++ app in Xcode

I wonder if there is a way of running an app in Xcode, and then, without closing it, launching another instance of the same app.

I want to know this because I want to create a program for network communication and need two instances to test how the program behaves.

The program is written in C++ using SFMLs network module.

Obviously, I can get the desired effect by creating a new identical program and running it, but it would be easier if they where the same (save me the copy/paste before each run).

I'm running Xcode 6.4.

1 answer

  • answered 2018-10-12 11:33 nvoigt

    I have never done this with XCode, but with any other IDE I would simply open the project twice, so two XCode instances are running, both on the same folder. That way you have "shared" code and your changes are automatically there when you recompile and restart both instances.