Sorry it has taken me so long to get back to you. It is a bit crazy in America right now.
My test plan was to drag things directly from the “contents” section of the “resources tab” (show in image below) i.e. “Info.plist” and “Script Debugger.plist” to Xcode from the “resources tab” in SD 8, and “description.rtf” from the “resources tab” in SD 8 to TextEdit but the drag operation didn’t work for “Info.plist” and “Script Debugger.plist” but “description.rtf” open from the “contents” window.
I then opened the script bundle in Finder to Xcode application and drug the “Info.plist” and “Script Debugger.plist” files to the app. I deliberately quit Xcode before doing the finder drag before both files so Xcode had to launch both times before opening the file. Both plists opened. I changed a value of the bundle name in “Info.plist” saved in Xcode, then save the change, then change the bundle name back to original name and saved again. I did the same things to “Script Debugger.plist”
I quit Script Debugger and reopened the files in Xcode. Then I opened “description.rtfd” in Textedit. It was empty which is expected because it was a new script. I reopened “description.rtfd” in a text editor and verified it had the proper rtf formatting code inside the file.
Then I tested other stuff in SD. I decided to test a few more things with the script file resources that was not planed. I was just doing what ever came to mind. Then I did some unplanned test on the script and when it did crash I wasn’t sure what I did to crash it.
Couldn’t find the same script file I was working with so I just repeated the test. I might have not followed the test plan exactly the way I did it the first time. But this certainly can give you an idea of the kinds of things I was doing. All of the stuff I was doing at the time of the crash testing was trying to test SD 8’s handling of the files: “Info.plist,” “Script Debugger.plist” and “description.rtfd”. I enclosed a copy of the file I recreated for this testing.
Testy.scptd.zip (9.2 KB)