Destination unavailable (disabled)

I am trying to create a new unit test build target for my iphone application. The problem I am facing is that the source group options of the target member are not displayed.

I deleted the source Classes folder and created a new SourceCode folder with the actual disk structure (thanks xcode). I imported it as a group, not a folder. It is automatically added to my standard build compilation sources, but I cannot add it or drag it to a new target.

Any thoughts?

alt text http://img.skitch.com/20100118-mhurmqc33ecaq4xq3y2e5k3hs4.jpg

+3
source share
3 answers

cdespinosa , . do unit test, , .

, , , (, ), Info , . .m, . , " " ( " " xcode), .m.

? xcode , , , ? . Par xcode, imo.

+1

-, Unit Test. Unit Test. -, , . , , .

, , .

+1

This happened to me with Xcode 10.2 and a rather old project. The reason for me was that in the settings of the target there was no element "Headers" for the target at the assembly stages. Press + and select “New Headers Phase”. Now you can correctly add titles to the goal.

0
source

Source: https://habr.com/ru/post/1728998/


All Articles