Open muescha opened 8 years ago
i have an ipa with this name "Cuisine d'ARTE 1.1.0.ipa"
if i hoover over debug info then i see a backslash included "Cuisine d\'ARTE 1.1.0.ipa"
a playground with this works:
let filename = "Cuisine d\'ARTE 1.1.0.ipa"
let ipa = ("~/Music/iTunes/iTunes Media/Mobile Applications/\(filename)" as NSString)
print(ipa)
let ipa_path = ipa.expandingTildeInPath
print(ipa_path)
let filename1 = "Cuisine d'ARTE 1.1.0.ipa"
let ipa1 = ("~/Music/iTunes/iTunes Media/Mobile Applications/\(filename1)" as NSString)
print(ipa1)
let ipa_path1 = ipa.expandingTildeInPath
print(ipa_path1)
also if i create an expresssion it prints out the interpolated string:
print("~/Music/iTunes/iTunes Media/Mobile Applications/\(filename)" as NSString)
but if i step over the line (which i devided in 2 parts) it crashes:
// crash at next line
let ipa_string = ("~/Music/iTunes/iTunes Media/Mobile Applications/\(filename)" as NSString)
// not reach this line
let ipa = ipa_string.expandingTildeInPath
The crash happens while unarchiving iTunesMetadata.plist
: I think it is a internal error of the Foundation Kit while executing
let metadata = plist.propertyList() as! NSDictionary
.
I installed Cuisine d'ARTE on my machine and unfortunately I can't reproduce the crash:
Or make a workaround if there is a exception then handle it so that the app is not crashing at this place
i guess its from
GuignaAppDelegate.swift:404:self.reloadAllPackages()
Error message:
Settings: Homebew [x] Main Taps [x] iTunes [x]
OSX: 10.11.6 (15G1004) MacBook Pro (Retina, Mid 2012)
workaround: when i disable iTunes after the next restart i dont get the error
only this in logfile - that means it has nothing to do with the BartenderHelper: