ios - File deleted from App Bundle in Xcode still readable -
i have bunch of sound files in app bundle, reading using
[[nsbundle mainbundle] pathforresource:aaa oftype:m4a] i found if delete aaa.m4a moving trash app can read , play sound file (using avaudioplayer). checked search in xcode project's directory, doesn't exist. checked build phrases - re-create bundle resources, aaa.m4a not there.
anybody has ideas why?
file kept somewhere during build & run process.
in xcode go organizer > projects > project > remove derived data on device delete apprun on device , should fine.
ios xcode nsbundle
No comments:
Post a Comment