开发者

Xcode 4 embedded resource prevention

开发者 https://www.devze.com 2023-04-05 22:04 出处:网络
In XCode4, is there a way to have a \'resource\' (i.e. a CSV used t开发者_StackOverflow社区o load a sqlite database) that is there for project purposes, but not have it compiled into my project?So my

In XCode4, is there a way to have a 'resource' (i.e. a CSV used t开发者_StackOverflow社区o load a sqlite database) that is there for project purposes, but not have it compiled into my project? So my final app doesn't include it? I can't seem to see to to have this facility.

Thanks


Assuming you do not want the file get into your .app file, One solution i can think of is, do not include 'Target' when adding the file to the project. If you want to exclude your already added file then

  1. Choose the target
  2. Go to Build phases
  3. Expand copy bundle resources
  4. Select your resource file and remove it.
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号