Keep App directory the same when building for iPhone Simulator?

后端 未结 2 2027
情歌与酒
情歌与酒 2021-01-24 11:59

I\'m building an iPhone app, and my app copies a bunch of resources to the App\'s Documents directory on first install. While I\'m developing the app, I simply modify files in t

2条回答
  •  长发绾君心
    2021-01-24 12:32

    The way I usually handle this is by creating Copy Files or Run Script Build Phase which run after the standard build process. The compile phase will be skipped if no changes have been made to the source, so only your build phases will run. Then, make sure your editor (Photoshop / vim etc.) are editing the original files, not the files in the build directory.

提交回复
热议问题