SCNSceneSource.entryWithIdentifier not working with Xcode 7.0 and Swift 2.0

With Xcode 6.3.2 and Swift 1.3 Collada (DAE) files were loaded and entries found (e.g. animation) by using SCNSceneSource.entryWithIdentifier. With Xcode 7.0 and Swift 2.0, the file is loaded (SCNSceneSource.identifiersOfEntriesWithClass work) but no entries are found.

Tried with MacOSX, iOS apps and several files.

Her is the code


let sceneSource = SCNSceneSource(URL:  url!, options: nil)
let animationIDs = sceneSource.identifiersOfEntriesWithClass(CAAnimation.self) as [String]
let animation : CAAnimation? = sceneSource.entryWithIdentifier("Name", withClass: CAAnimation.self)


First two lines work and return identifiers including the one label "Name". Line 3 returns only "nil". Same code worked before with Xcode 6.3.2 and Swift 1.3

Replies

I have the same issue.


Animations stopped working in my project since updating to xcode 7.

Did you find a workaround?