Discuss [REQ] Making calls to /var/root/Media 1.1.3 compatible at the Free Toolchain Software - Hackint0sh.org; I've done a lot of Googling today but haven't found an answer to this. I've ...
[REQ] Making calls to /var/root/Media 1.1.3 compatible
I've done a lot of Googling today but haven't found an answer to this. I've also been looking at the GoogleCode repositories and it seems that none of those projects have a solution either!
Does anyone know how to develop for both 1.1.1 and 1.1.3, regarding the location of media files.
Currently I have a hardcoded lookup to "/var/root/Media/MisterAardvark/iAno/".
From what I read, this won't work with 1.1.3, because instead of /var/root/Media, it uses /var/mobile/Media.
So I imagine that what is needed is:-
1) Installer XML code to detect version and copy the media files to the correct place.
2) ObjC code to detect version, and use the correct root for looking for the files.
I think I can do (1), but I'm not sure how to check the version in (2). And also I'm not sure if there are any other issues with 1.1.3 that I need to code for. And, frankly, because of all these problems, I don't want to break all the apps on my ipod by upgrading just to find out!
Can anyone help?!
You could try system command "pwd" to know where installer has installed your program, and grep 'root' or 'mobile' ....
By the_gts in forum iPhone 4
Last Post: 10-08-2010, 10:20 AM
By burdell1 in forum Genuine Mac Support
Last Post: 02-21-2009, 11:03 AM
By McMark in forum General
Last Post: 12-28-2007, 09:09 PM
By TwistyValhalla in forum General
Last Post: 10-29-2007, 02:45 AM
By bayerische in forum iPhone "2G" (Rev. 1)
Last Post: 10-16-2007, 08:39 PM