ios - The swift compiler always 100% CPU -
ios - The swift compiler always 100% CPU -
i added swift extension in old objective-c app. swift compiler @ 100% cpu , hangs after had run several times. had tried restarting mac, it's still same. run xcode6-beta2 on osx 10.9.3. thanks.
update: found these code cause issue:
let defaults = nsuserdefaults.standarduserdefaults() allow lasturlbase: string? = defaults.objectforkey("hp-lasturlbase") string?
i think sec line should be: let lasturlbase = defaults.stringforkey("hp-lasturlbase"). constant (let) can't optionally typed (?).
ios swift cpu hang
Comments
Post a Comment