Questions tagged [deployment-target]

A deployment target is a build setting that specifies the required software platform version on which the built software will run.

A deployment target is a software build setting that specifies the required software platform version on which the built software will run. This setting informs the compiler which SDK version to use.

63 questions
1
vote
1 answer

Mac Deployment Target greyed out in Xcode 11.1 in Catalina

I'm running macOS Catalina 10.15 with Xcode 11.1 (11A1027) The Mac Deployment Target option in Xcode is greyed out in one of my projects. In another project it's not greyed out and available. Project A: Project B: Either this is an Xcode bug or…
Sean Dev
  • 1,239
  • 1
  • 17
  • 31
1
vote
1 answer

What does `platform` indicate in Podfile for iOS project?

Is it different from the deployment target for the iOS project? If yes what's the difference between them?
1
vote
2 answers

Does Xcode 4.0.2 supports deployment target 3.0

I am going to upgrade Xcode 3.2.5 to Xcode 4.0.2 so do this new version supports deployment target 3.0
Harshal
  • 201
  • 1
  • 4
  • 16
1
vote
1 answer

Find the suitable value for deployment target in iOS application?

I know the answer to this question depends on the situation and my target users however since I've just moved from android workspace to Swift and Xcode, I'm looking for similar android concepts over here. In android there are platform version and …
VSB
  • 9,825
  • 16
  • 72
  • 145
1
vote
2 answers

Xcode 9 macos deployment target (with c++) giving error

When I try building a make project (from a c++ repository) I get the following error in XCode 9 : "MacBook Pro runs macOS 10.12.6, which is lower than program’s minimum deployment target. Change your project’s minimum deployment target or upgrade…
thewormsterror
  • 1,608
  • 14
  • 27
1
vote
3 answers

Swift 3 - "NSPersistentContainer is only available on ios 10 and newer"

So I'm getting the error stated in the title when I try to set my deployment target to iOS 9 (really whatever below 10.0). The problem exists here: // MARK: - Core Data stack lazy var persistentContainer: NSPersistentContainer = { /* The…
Steffen L.
  • 149
  • 2
  • 14
1
vote
2 answers

How to know which API cannot be used in which iOS SDK?

An Xcode project has the following settings: Deployment target: iOS 9.0 Base SDK: iOS 9.3 (latest) As I understood it, the app can be installed on iOS 9.0 and possibly try to access an API that is only available since iOS 9.3. In that case the app…
Manuel
  • 14,274
  • 6
  • 57
  • 130
1
vote
1 answer

iOS - will my app work on iOS 7.0?

I am new to iOS development, and my Xcode deployment target is configured to version 7.1. How can I know if it'll work for version 7.0?
bobsacameno
  • 765
  • 3
  • 10
  • 25
1
vote
1 answer

Class Unavailable. Unwind segues are not available on iOS versions prior to 6.0

I'm trying to use unwind segues in an existing iOS project, and ran into this error - "Class Unavailable. Unwind segues are not available on iOS versions prior to 6.0.". I've set my deployment target to "7.1" and build SDK to "Latest iOS (iOS…
1
vote
1 answer

Service (OS X) won't start automatically on demand, says my OS version is too old

I have a text-inserting OS X Service (created by Mark Aufflick and I've been hacking on it) that's giving me an odd problem. The service is a .service application, installed in ~/Library/Services. pbs has been duly run to rehash the services…
Peter Hosey
  • 95,783
  • 15
  • 211
  • 370
1
vote
3 answers

Monotouch Only Landscape iOS6

I want to have as a minimum the iOS6 in my app. I tried to create a tabbar application with the sample project provided by Mono. I tried to delete the ShouldAutorotateToInterfaceOrientation method and replaced it by public override…
NDY
  • 3,527
  • 4
  • 48
  • 63
1
vote
2 answers

Finding instances of sdk usage outside the deployment target

I'm trying to build an automated test to check that methods called outside of the current deployment target are handled correctly. Here's a concrete example: My app is set to use the Mac OS X 10.8 sdk and the deployment target is set to 10.6. I…
isaiah
  • 435
  • 3
  • 13
0
votes
1 answer

macOS 13 is not selectable from macOS Deployment Target dropdown in Xcode 14

Context I am using Xcode 14 and utilize some SwiftUI features that were added in macOS 13, like String(localized:, defaultValue:) and NavigationStack / NavigationSplitView. However, I do get Compiler Errors when doing so, it seems, that the Compiler…
christophriepe
  • 1,157
  • 12
  • 47
0
votes
1 answer

What is the minimum deployment target for using UISplitViewController on iPhone?

When the iPhone 6+ came out UISplitViewController was still restricted to iPad devices, so I rolled my own simplified split view controller for use in iPhone 6+. Consulting the current documentation it seems that the restriction has gone and that…
herzbube
  • 13,158
  • 9
  • 45
  • 87
0
votes
1 answer

iOS Deployment Target & Block Support

If I use blocks in my code and set the iOS Deployment Target to less than iOS 4.0, will the app still work on devices that are running an iOS less than 4.0? The Base SDK is set to Latest iOS (iOS 4.3) obviously.
ma11hew28
  • 121,420
  • 116
  • 450
  • 651