xcode and Kineme audio file player not working

balam's picture

Hi all, I am having problems with xcode , when I compile a app using a qc composition, the sound does not work in my app. I add the mp3 to the xcode project, thank you in advance guys

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cwright's picture
Re: xcode and Kineme audio file player not working

Screenshots, Console logs, composition. maybe xcode project.

balam's picture
Re: xcode and Kineme audio file player not working

Here is the xcode prject file thank you in advance

PreviewAttachmentSize
qcfull-cube.zip13.69 MB

cwright's picture
Re: xcode and Kineme audio file player not working

Here's how the bundle is organized:

Here's how the composition looks for the files:

Looks like your project isn't properly preserving the "Media" folder.

(p.s., in future xcode project posts, please remove the "build" directory before zipping, as it's rather large, and 100% not useful)

PreviewAttachmentSize
BundleView.png
BundleView.png120.26 KB
PathView.png
PathView.png55.52 KB

balam's picture
Re: xcode and Kineme audio file player not working

thank you cwrihgt

so how can I fix this small issue ( I am new to coding ) willing to learn

Ps. sorry for the big file upload

balam's picture
Re: xcode and Kineme audio file player not working

any help

thankyou

cwright's picture
Re: xcode and Kineme audio file player not working

You'll want to either not use the Media part of the path in the composition (easiest), or configure the Copy Resources build phase of the Xcode project to copy stuff to the Media folder in the Resources directory (this might require adding an additional build phase... I'm not sure off the top of my head).

Don't worry about the large upload -- it happens all the time, and unless you're a full-time coder, you wouldn't know if it was important or not :) Please don't feel like I was singling you out :)

balam's picture
Re: xcode and Kineme audio file player not working

cwright thank you so much it work, I always fallow your advice and the end result is a working fix. thank you once again.