Zuikyo / iOS-System-Symbols

Share iOS system framework's symbol files. Useful for symbolicating iOS crash report.
1.05k stars 129 forks source link

dsc_extractor can't extract symbol files from iOS 15.0 #29

Open envestcc opened 3 years ago

envestcc commented 3 years ago

i have downloaded iOS 15.0 fireware. i followed the steps. when i run dsc_extractor , the result is as bellows:

dyld_shared_cache_extract_dylibs_progress() => 0

it seems to be not found any symbol files.

information of my mac os version: 11.0.1 xcode: Xcode 12.5.1 Build version 12E507

Aashima89 commented 3 years ago

yeah same issue for me. Also, if we open the dmg file now (Step 6) it leads to these 3 files which are now different from older ios versions dyld_shared_cache_arm64e dyld_shared_cache_arm64e.1 dyld_shared_cache_arm64e.symbols

and accordingly I guess the parsing needs to change

I tried both with Xcode 12, 13 for ios 15 symbol files but failed.

zhichicao commented 3 years ago

I update Xcode to Xcode 13 and i extract it successfully. Seems that it need a new bundle file in Xcode 13: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/lib/dsc_extractor.bundle

CXTretar commented 3 years ago

I made a supplement to symol files here. https://github.com/CXTretar/iOS-System-Symbols-Supplement

ArunaYarra commented 3 years ago

I couldn't able to extract 15.1 symbol files by using XCode 13.1, getting the below error

Error: failed to read shared cache file at ./arm64e dyld_shared_cache_extract_dylibs_progress() => -1

Could anyone help me, please?

zhichicao commented 3 years ago

I couldn't able to extract 15.1 symbol files by using XCode 13.1, getting the below error

Error: failed to read shared cache file at ./arm64e dyld_shared_cache_extract_dylibs_progress() => -1

Could anyone help me, please?

you can use this tool https://github.com/blacktop/ipsw it can simply extract symbol files by this command

ipsw dyld split [cache_file]

ArunaYarra commented 3 years ago

you can use this tool https://github.com/blacktop/ipsw it can simply extract symbol files by this command

ipsw dyld extract [cache_file]

Hey thanks for the help. But I couldn't find the where those symbol files extracted even though I gave output folder path.

ipsw dyld extract ~/Desktop/Symbolfiles/15.1(19B74)/iPhone14\,2_15.1_19B74_Restore.ipsw ./output

Please let me know if tried previously.

zhichicao commented 3 years ago

you can use this tool https://github.com/blacktop/ipsw it can simply extract symbol files by this command ipsw dyld extract [cache_file]

Hey thanks for the help. But I couldn't find the where those symbol files extracted even though I gave output folder path.

ipsw dyld extract ~/Desktop/Symbolfiles/15.1(19B74)/iPhone14,2_15.1_19B74_Restore.ipsw ./output

Please let me know if tried previously.

  1. you need to extract the cache_file first

ipsw extract -d /Desktop/stack/15.0.2(19A404)/iPhone14,5_15.0.2_19A404_Restore.ipsw

  1. then you will get some cache files, and you can extract symbol file from cache file

ipsw dyld split /Desktop/stack/15.0.2(19A404)/19A404__iPhone14,5/dyld_shared_cache_arm64e

sorry for telling u wrong command just now

ArunaYarra commented 3 years ago

you can use this tool https://github.com/blacktop/ipsw it can simply extract symbol files by this command ipsw dyld extract [cache_file]

Hey thanks for the help. But I couldn't find the where those symbol files extracted even though I gave output folder path. ipsw dyld extract ~/Desktop/Symbolfiles/15.1(19B74)/iPhone14,2_15.1_19B74_Restore.ipsw ./output Please let me know if tried previously.

  1. you need to extract the cache_file first

ipsw extract -d /Desktop/stack/15.0.2(19A404)/iPhone14,5_15.0.2_19A404_Restore.ipsw

  1. then you will get some cache files, and you can extract symbol file from cache file

ipsw dyld split /Desktop/stack/15.0.2(19A404)/19A404__iPhone14,5/dyld_shared_cache_arm64e

sorry for telling u wrong command just now

Hey thanks for the help..

kylescf2 commented 2 years ago

I made a supplement to symol files here. https://github.com/CXTretar/iOS-System-Symbols-Supplement

thanks,good job