19

After updating to the recently released beta 6 of Xcode 6, my swift project fails to build due to the following errors.

Xcode 6 Beta 6 issue

Looking at previous questions on this issue, propose checking the build architecture is set to support arm which mine project includes already (arm64, armv7s, armv7).

idmean
  • 13,418
  • 7
  • 47
  • 78
Carlos
  • 5,256
  • 19
  • 64
  • 113

5 Answers5

38

First, make sure you have the most recent beta installed. Afterwards delete your DerivedData folder ( ~/Library/Developer/Xcode/DerivedData ). This should allow you to compile again in the latest beta.

Edit: This appears to hold true for the newest beta version of the Xcode as well

idmean
  • 13,418
  • 7
  • 47
  • 78
drmarvelous
  • 1,527
  • 8
  • 17
3

From what I hear, so far Xcode 6 Beta 6 is broken. You should uninstall and rollback to Beta 5.

Edit: Apparently, a new version is already out, just reinstall beta 6

http://9to5mac.com/2014/08/18/apple-re-releases-xcode-6-beta-6-solves-issues-discovered-by-developers-in-new-build/

BHendricks
  • 4,181
  • 5
  • 28
  • 56
2

Make sure you install the latest Xcode Beta 6 version. If you check Xcode->About Xcode, you should see: Version 6.0 (6A280e)

idmean
  • 13,418
  • 7
  • 47
  • 78
jtlim
  • 3,001
  • 1
  • 14
  • 14
0

I had the same problem. I reinstalled Xcode. then it fixed the problem. In my case it happened because of deleting a imported framework(move to trash) which is inside my project navigator. I think Xcode delete the whole framework when we delete(move to trash) imported framework from our project navigator.

Marlon Brando aka Ben
  • 767
  • 1
  • 12
  • 25
-1

Make sure you haven't done any unnecessary imports example importing an .h file when you needed .m

Pugin
  • 346
  • 1
  • 6
  • 19
  • 2
    I suppose, you wanted to say, "Make sure you haven't done any unnecessary imports example importing an .m file when you needed .h" ..? – Hemang Jun 11 '15 at 12:12