ios - Xcode test target with host application forces wrong target into build section of scheme -
when add test target needs host application in order run xcode adds targets not associated application added.
i have 2 schemes (internal & production). want run tests on our internal application. when add internal application host end production target being added builds , cannot delete it. if remove host application goes away tests fail.
does know i'm going wrong?
we had same problems, fixed them these steps:
in testing target, go tab 'general' , set hosting application 'none', go 'build phases' , remove target dependency on former hosting target.
(don't know if step necessary) go 'window'->'projects', remove derived data hosting target , close xcode. reopen xcode again, open project/workspace.
edit hosting target's scheme, select "build" on left , uncheck "find implicit dependencies" - believe function buggy.
in testing target, go tab 'general' , set hosting application previous value, recheck target depdencies.
Comments
Post a Comment