How to reduce size of my adHoc build
I am using too many images and music in my app..
The music is short in duration but very large in size ..
That sound is in .caf
format
i have many sounds like this
That is why the adhoc build size reached to 35mb.And still i have to add more.
I am using that in creating system sound...
Like
NSURL *tapSound = [[NSBundle mainBundle] URLForResource: @"sound1"
withExtension: @"aif"];
self.soundFileURLRe开发者_开发技巧f = (CFURLRef) [tapSound retain];
AudioServicesCreateSystemSoundID (
soundFileURLRef,
&soundFileObject
);
I have tried to use an mp3 or wav sound here but that is not working.
Kindly help
@Kumar Sonu:
Try compressing your sound files and compress your images if possible.
Note: Compressing your audio files may deteriorate your sound quality and may decrease your kbps
Hope this helps you.
精彩评论