cudds
cudds

Reputation: 1618

Xcode 6 beta 5 won't build Swift with iOS 7.1 SDK

Despite the release notes stating this is supported and previous version of Xcode 6 working ok, I have a rather verbose error message when trying to build with 7.1 SDK.

"iOS targets using Swift cannot be built against an SDK older than 8.0, but the effective SDK is 7.1."

Has anyone else seen this?

Upvotes: 4

Views: 771

Answers (1)

rickerbh
rickerbh

Reputation: 9911

I just had this issue, but with the app store build of Xcode 6.0.1 (6A317).

The issue was that I had copied old SDK's (7.0, 7.1) into the Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs directory. This was causing Xcode to use the wrong SDK for building.

Deleting them solved this problem for me. That'll teach me for mucking around with Xcode.

Upvotes: 2

Related Questions