Closed GoogleCodeExporter closed 9 years ago
Can you run the following command and post the output :
ls /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-*
Thanks
Original comment by jean.sig...@gmail.com
on 1 Sep 2012 at 11:43
Sorry, there is no output, because that folder didn't exist in Xcode 4.3.x +
Since the 4.3.x update, Xcode is located in the /Applicationns folder, but you
require the /Developer path to locate those frameworks.
See the make_ramdisk script. So I'm looking forward to fix this issue and use
your tools on those newer xcode versions.
Thanks,
iTell
And sorry for my bad english
Original comment by WilhelmT...@googlemail.com
on 1 Sep 2012 at 2:46
ok, then just run this command to create a symbolic link from /Developer to
/Applications/Xcode.App/Contents/Developer :
#create symlink to the new xcode folder
sudo ln -s /Applications/Xcode.App/Contents/Developer /
Original comment by jean.sig...@gmail.com
on 1 Sep 2012 at 2:51
Thank you very much, I totally misread the instruction :/
I will reverse my changes and do it again!
Thank you very much!
Kind regards,
iTell
Original comment by WilhelmT...@googlemail.com
on 3 Sep 2012 at 6:08
[deleted comment]
I edited my make make_ramdisk_n92ap.sh from:
"/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS$VER.sdk/System/L
ibrary/Frameworks/IOKit.framework/IOKit" ];
to:
change line to: if [ -f
"Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/IOKit.framework/IOKit" ];
I also changed the line:
from:
./build_ramdisk.sh iPhone3,3_5.1.1_9B206_Restore.ipsw 038-4361-021.dmg
28db49d00990ced317a7bcd24755b3426bb246cb135111126d8b3f7bb8ba9252
c248e221c08ece5862fea42a58dad552 myramdisk_n92ap.dmg
to:
./build_ramdisk.sh iPhone3,3_5.1.1_9B206_Restore.ipsw 038-4361-021.dmg
28db49d00990ced317a7bcd24755b3426bb246cb135111126d8b3f7bb8ba9252
c248e221c08ece5862fea42a58dad552 myramdisk_n92ap.dmg
(I am testing on Verizon CDMA iPhone 4 so downloaded the correct ipsw)
I also created a new symbolic link for Xcode using the following command:
sudo ln -s /Applications/Xcode.App/Contents/Developer /
However, I still get the following errors (any help with e extremely
appreciated):
sh ./make_ramdisk_n92ap.sh
Found iOS SDK 4.2
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-llvm
-gcc-4.2 -Wall -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/
-DHGVERSION="\"930139479d08\"" -framework IOKit -framework CoreFoundation
-framework Security -O3 -I. -o device_infos device_infos.c device_info.c
IOAESAccelerator.c AppleEffaceableStorage.c AppleKeyStore.c bsdcrypto/pbkdf2.c
bsdcrypto/sha1.c bsdcrypto/key_wrap.c bsdcrypto/rijndael.c util.c IOKit.c
registry.c ioflash/ioflash.c kernel_patcher.c
device_infos.c:1:19: error: stdio.h: No such file or directory
device_infos.c:2:20: error: stdint.h: No such file or directory
device_infos.c:3:43: error: CoreFoundation/CoreFoundation.h: No such file or
directory
In file included from device_infos.c:4:
device_info.h:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘device_info’
In file included from device_infos.c:5:
util.h:2: error: expected specifier-qualifier-list before ‘uint64_t’
util.h:8: error: expected specifier-qualifier-list before ‘uint16_t’
util.h:46: error: expected specifier-qualifier-list before ‘uint64_t’
util.h:55: error: expected specifier-qualifier-list before ‘uint64_t’
util.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘CreateHexaCFString’
util.h:71: warning: type defaults to ‘int’ in declaration of ‘uint8_t’
util.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
kernel_patcher.c:63: warning: incompatible implicit declaration of built-in
function ‘fprintf’
make: *** [device_infos] Error 1
ramdisk_tools/restored_external not found, check compilation output for errors
mars:iphone-dataprotection alakhani$
Original comment by weis...@gmail.com
on 23 Nov 2012 at 11:02
Try changing this line in make_ramdisk_n92ap.sh
for VER in 4.2 4.3 5.0 5.1
to
for VER in 6.0
Original comment by jean.sig...@gmail.com
on 25 Nov 2012 at 2:49
closing old issues
Original comment by jean.sig...@gmail.com
on 11 Feb 2014 at 10:38
Original issue reported on code.google.com by
WilhelmT...@googlemail.com
on 31 Aug 2012 at 8:50