iOS Device doesn't show up in XCTest configuration

Answered

Problem

After AppCode updated to 2018.1.5, it is able to run with XCode 9.4 environment. But iOS physical device doesn't show up in XCTest configuration

With XCode 9.4.1

build, run and test work both on simulator and physical device

With AppCode 2018.1.5

build and run work on both.

Test on simulator works fine, but physical device is missing on configuration device list. Tried edit configuration, not help

Workspace

My workspace was created recently with XCode 9.4. It consists of a library project and a sample project. It provides BLE feature which requires physical device to test. So that XCTest locates in sample project, as show in screenshot below

 

Environment

  • macOS High Sierra 10.13.5
  • XCode 9.4.1
  • AppCode 2018.1.5
  • CocoadPod 1.5.0

 

Similar to this post

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206593255-iPhone-doesn-t-show-up-in-Ocunit-configuration?input_string=test%20on%20device 

1 comment
Official comment

Hi,

Could you submit a screenshot of your NotepadKitTests.testVersionInfo run configuration from AppCode?

What if you open NotepadKitTests file in editor and try to run tests from gutter / context (see below), would the run configuration created as a result of that be only runnable against simulator as well?

Please sign in to leave a comment.