Suddenly Getting Compiler Crash "Arrayforcecast" in Swift Xcode Beta 6

Suddenly getting compiler crash arrayForceCast in Swift XCode beta 6

Launch Organizer and then hit the Delete button as shown below. Rebuild and the error will go away.

Sample Image

Swift beta 6 - Confusing linker error message

I got this error even with the new version of Beta6 that was release hours after the bad one got pulled.

I've solved this and other similarly illegible errors by deleting the contents of the Derived folder. You can find where that folder is located by going to Preferences > Locations.

The default path is:
/Users/[your username]/Library/Developer/Xcode/DerivedData

You can also hold Option while the Product menu is open in Xcode, which will change Clean to Clean Build Folder... and accomplish the same task without having to folder-hunt.

Undefined symbols for architecture armv7 swift

There are some significant changes in Beta 6 and looks like Xcode is getting confused. A full clean didn't work either.

I've solved this and other similarly illegible errors by deleting the contents of the Derived folder. You can find where that folder is located by going to Preferences > Locations.

The default path is: /Users/[your username]/Library/Developer/Xcode/DerivedData



Related Topics



Leave a reply



Submit