Unit testing fails on Appcode 2.1 with Invalid target error when using Debug launch

I'm trying to run a logic unit test on appcode 2.0 against an iOS 6.1.3 simulator instance. When I start the unit test using the debug option it starts the simulator but then fails with an invalid target error. Starting the same unit test using the launch command allows it to successfully launch.

The same unit test can be started and debugged in xcode.  Does anyone have any tips about where to start fixing this issue?

Thanks

1 comment

Lee, please file a bug report and attach a sample project if possible.
Also, please add the following code to AppCode.app/bin/log.xml file:

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  ...
  <!-- these tags should be added right before <root> tag -->
  <category name="#com.jetbrains.cidr.execution.debugger">
    <priority value="DEBUG"/>
    <appender-ref ref="CONSOLE-DEBUG"/>
  </category>

  <category name="#com.jetbrains.cidr.execution.testing">
    <priority value="DEBUG"/>
    <appender-ref ref="CONSOLE-DEBUG"/>
  </category>

  <category name="#com.jetbrains.cidr.execution.deviceSupport.AMDeviceManager">
    <priority value="DEBUG"/>
    <appender-ref ref="CONSOLE-DEBUG"/>
  </category>


  <root>
  ...
after that, restart AppCode and when the problem reproduces, attach log files (Help | Show Log in Finder)
0

Please sign in to leave a comment.