RizbIT
Member
I compile an app previoulsy compiled with older version of Xcode and GMS it worked fine. it had lots of included ogg sound files
Now using latest xcode and GMS runtimes I find that the app although it compiles, I cant access or play those sounds.
The app cant find them, but Xcode does show them under Build Phases:
I have a ogg sample included in GMS at Sounds/snare26.ogg
but if i use the code:
in iOS it will show an error saying cant find the file as shown above.
but having tried this:
It does seem to work.
Now I dont want to have to change all paths in my app that reference included files as it works fine as it is on android.
Is there a way to fix this so you can just use the same path the file is located i.e Sounds/snare26.ogg
update:
I assume this is also the reason why my ios iap test purchases are never processed as the AppleIncRootCertificate.cer file is not being found?
AppleIncRootCertificate.cer is an included file its location should be in the working_directory but now iOS is putting it under datafiles/AppleIncRootCertificate.cer
Can this be fixed?
Now using latest xcode and GMS runtimes I find that the app although it compiles, I cant access or play those sounds.
The app cant find them, but Xcode does show them under Build Phases:
I have a ogg sample included in GMS at Sounds/snare26.ogg
but if i use the code:
Code:
file_copy("Sounds/snare26.ogg","Temp/snare26.ogg");
but having tried this:
GML:
file_copy("datafiles/sounds/snare26.ogg","Temp/snare26.ogg");
Now I dont want to have to change all paths in my app that reference included files as it works fine as it is on android.
Is there a way to fix this so you can just use the same path the file is located i.e Sounds/snare26.ogg
update:
I assume this is also the reason why my ios iap test purchases are never processed as the AppleIncRootCertificate.cer file is not being found?
AppleIncRootCertificate.cer is an included file its location should be in the working_directory but now iOS is putting it under datafiles/AppleIncRootCertificate.cer
Can this be fixed?
Last edited: