Einzelnen Beitrag anzeigen

Benutzerbild von Sherlock
Sherlock

Registriert seit: 10. Jan 2006
Ort: Offenbach
3.763 Beiträge
 
Delphi 11 Alexandria
 
#1

Alte SDK Versionen nutzen

  Alt 1. Nov 2017, 13:25
Ich würde gerne auf meinem aktuellen System den iOS-Simulator nutzen können. Derzeit ist das ja mit iOS11 noch nicht möglich. Also wollte ich das iOS10 SDK und der Vollständigkeit halber auch das 9er SDK manuell nachträglich hinzufügen. Die nötigen Schritte bestehen nach meinem Verständnis darin, die jeweils passende "alte" XCode Version herunterzuladen und dann aus "Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform" das jeweilige SDK zu ziehen und in das aktuelle XCode einzufügen. Als minimale Abweichung (damit das künfig nicht allzuviel Arbeit macht, habe ich die "alten" SDKs in einem Ordner außerhalb von XCode liegen und die SDKs per Alias eingefügt. Laut "/usr/bin/xcodebuild -version -sdk" stehen jetzt alle gewünschten SDK zur Verfügung:
Code:
iPhoneOS11.0.sdk - iOS 11.0 (iphoneos11.0)
SDKVersion: 11.0
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
BuildID: A06794BC-8F97-11E7-9FD5-F742537C7B35
ProductBuildVersion: 15A372
ProductCopyright: 1983-2017 Apple Inc.
ProductName: iPhone OS
ProductVersion: 11.0

iPhoneOS9.3.sdk - iPhoneOS 9.3 (iphoneos9.3)
SDKVersion: 9.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform

iPhoneOS10.3.sdk - iPhoneOS 10.3 (iphoneos10.3)
SDKVersion: 10.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform

iPhoneSimulator11.0.sdk - Simulator - iOS 11.0 (iphonesimulator11.0)
SDKVersion: 11.0
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
BuildID: A06794BC-8F97-11E7-9FD5-F742537C7B35
ProductBuildVersion: 15A372
ProductCopyright: 1983-2017 Apple Inc.
ProductName: iPhone OS
ProductVersion: 11.0

iPhoneSimulator9.3.sdk - iPhoneSimulator 9.3 (iphonesimulator9.3)
SDKVersion: 9.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.3.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform

iPhoneSimulator10.3.sdk - iPhoneSimulator 10.3 (iphonesimulator10.3)
SDKVersion: 10.3
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
PlatformVersion: 11.0
PlatformPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
Delphi sieht das leider nicht so. Es wird auch nach Neustart von PAServer und Delphi immer nur iPhoneOS 11 angeboten Muss ich das Alias auflösen und den ganzen Zinnober hart reinkopieren?

Sherlock
Oliver
Geändert von Sherlock (Morgen um 16:78 Uhr) Grund: Weil ich es kann
  Mit Zitat antworten Zitat