SDK 45 on iOS.
I build my Expo app using EAS, then I download the IPA and submit it using Fastlane. This works great.
Now I’m debugging some spurious bug and I would like to symbolize a stack trace which more or less looks like this:
/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:47206:40)
at anonymous (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:225745:51)
at tryCallTwo (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10069:9)
at doResolve (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10233:25)
at Promise (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10092:14)
at loadAsync$ (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:225723:62)
at call (native)
at tryCatch (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10408:23)
at anonymous (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10388:34)
at anonymous (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10439:30)
at call (native)
at tryCatch (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10408:23)
at invoke (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10446:30)
at anonymous (/Users/expo/Library/Developer/Xcode/DerivedData/MyApp-gpsqmqnllkfoiqhaxsihdohdumjy/Build/Intermediates.noindex/ArchiveIntermediates/MyApp/BuildProductsPath/Release-iphoneos/main.jsbundle:10452:19)
...
So I unzipped the IPA file and opened the main.jsbundle in VSCode. However, VSCode says the file is binary, and no matter whether I open it with the text or hex editor, it looks like total gibberish. I cannot find a single line of code.
Is that file encrypted or obfuscated in some way?
How can I open it to see the code the stacktrace refers to?
Thanks