Error: SDK "iphonesimulator9.0" Cannot be found

I recently upgraded Xcode to 7.1 and downloaded iOS 8.4 and iOS 9.0 Simulator.

When i started

xcodebuild -showsdks

I get

OS X SDK: OS X 10.11 -sdk macosx10.11

iOS SDK: iOS 9.1 -sdk iphoneos9.1

iOS Simulator SDK: Simulator - iOS 9.1 -sdk iphonesimulator9.1

tvOS SDK: tvOS 9.0 -sdk appletvos9.0

tvOS Simulator SDK: simulator - tvOS 9.0 -sdk appletvsimulator9.0

watchOS SDK: watchOS 2.0 -sdk watchos2.0

watchOS Simulator SDK: simulator - watchOS 2.0 -sdk watchsimulator2.0

I want

iOS Simulator SDKs:

to point to

iOS 9.0 Simulator or 8.4 Simulator

instead

Simulator - iOS 9.1 -sdk iphonesimulator9.1

I tried

xcodebuild -sdk iphonesimulator9.0

But I get

xcodebuild: error: SDK "iphonesimulator9.0" could not be found.

+4
1

Legacy iOS Simulator SDK Xcode. SDK Simulator, iPhoneSimulator.sdk Xcode (Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/โ€Œโ€‹iPhoneSimulator.sdk) .

, Xcode 6.4 8.4 iOS Simulator SDK. Xcode 7, :

Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

iPhoneSimulator.sdk iPhoneSimulator8.4.sdk.

SDK Xcode 7:

Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

SDK Simulator:

terminal

+9

Source: https://habr.com/ru/post/1613408/


All Articles