xcode - Renaming Duplicated Target: Where do I fix the reference to the default plist name? -
environment: xcode 4.6.3
i wish duplicate target , rename default ' copy' ' (simulator)'.
steps i've done:
1) select target & contextually click 'duplicate' option.
2) click/select copied target name , modify chose name: ' (simulator)'.
3) manage schemes: delete generated (copy) , auto-generate new scheme.
...the newly-generated scheme should correctly labeled '...(simulator)'.
problems...
either compiler error of conflicting piece of code, or following:
error: not read data '/users/ric/desktop/iphone5_support/cg-mobile copy-info.plist': file “cg-mobile copy-info.plist” couldn’t opened because there no such file.
question: what's simplest way
a) duplicate ,
b) rename duplicate don't screw-up build?
in these situations manually fix things in project.pbxproj text editor.
- close xcode
- open project.pbxproj in text editor (emacs, vim, sublimetext, etc)
- search/replace cg-mobile copy-info.plist new name.
- save.
- reopen xcode.
Comments
Post a Comment