Suddenly getting compiler crash "arrayForceCast" in Swift XCode beta 6 -
after upgrading xcode beta 6, compile exploding cryptically on me. no inline messages of kind, error in build log.
undefined symbols architecture i386: "__tfss15_arrayforcecastu___fgsaq__gsaq0__", referenced from: __tfc9myproj6navbar5stackfs0_fcso20cdvinvokedurlcommandt_ in navbar.o i managed trace down line of code, worked fine on beta 5.
// dictionary of string keys , arrays of navbaritem instances values. var stacks: [string:[navbaritem]] = [:] func stack(cmd: cdvinvokedurlcommand) { let stackname: string = cmd.arguments[0] string if let stack = stacks[stackname] { // when comment line out clean compile. navbar.setitems(stack, animated: false) } } my guess doesn't converting swift array nsarray somehow. ideas?
launch organizer , hit delete button shown below. rebuild , error go away.

Comments
Post a Comment