简体   繁体   中英

iphone simulator picks up deleted resources from xcode

I'm getting confused. I add resources (mp4 videos) to the resources folder in xcode and run the simulator and it picks them up, great!

I delete the file and simulator still picks it up from the resources directory. I delete the file in the app bundle that xcode is using and it still detects this file. I'm at a loss as to where/how I should delete items from xcode for it to actually remove them.

There's no 'remove from project' option, what am I missing here?

Regards,

Sapatos

You need to 'clean' the build to move these artefacts. Go to 'Build' and 'Clean' to remove them.

Alternatively you can blat projects from ~/Library/Application Support/iPhone Simulator/ sdk_version /Applications

您还从模拟器中删除了该应用程序吗?

Product>Clean didn't do it for me. I needed to do " Reset Content and Settings... " from inside the Simulator's menu -- a much safer way than messing around inside ~/Library/Application Support/iPhone Simulator/*sdk_version*/Applications

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM