ios - Synchronizing two targets in Xcode 4 -
is there quick way synchronize 2 (or more) targets in xcode? becomes issue when forget add new file unit test & integration target. have go hunting see forgot add. can duplicate "development" target , re-add "unit testing" configuration, that's pain. there easier way?
edit:
i john's answer below used answer here, involves manually editing project file. multiple missing files quickest way.
your question focuses on case adding single file target, , forget check both boxes add target want.
perhaps mean pain use identity inspector, think handy way add in 1 file didn't added second target. can identity inspector first clicking on file want inspect information, , using cmd-opt-1, , clicking rightmost tab. notice near bottom me, both targets checked. you, in case of file didn't added both targets, 1 unchecked.
in case of not remembering files added target:
- if have project under source control, can perform "view" -> "version editor" -> "show version editor" (or cmd-opt-shift-return), , you'll text-based diff comparison of xml representing project versus looked @ last commit. whatever new set of files @ checkboxes in picture above.
- if not under source control, may have go through files 1 one, though might able use finder sort source date modified, , jog memory file added, go straight that. in terms of going through 1 one, once identity inspector open, should able click on first file in list, use down-arrow step through files, , see in desired set of targets , not.
Comments
Post a Comment