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
47
votes
14 answers

An unknown error occurred when I was trying to use an iPad for development

I was trying to test my app on a new iPad to see if Retina support is working. Like anyother devices I used for development, I attached the device and pressed "Use For Development" is XCode Organizer. The process started but a few seconds later the…
Sepehrom
  • 1,335
  • 2
  • 16
  • 33
17
votes
2 answers

Unable to validate application for iOS App Store, armv6 architecture missing

While submitting my iOS App to the App Store, validation fails with the message: iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architectures(s) must be present: armv6 I'm using Xcode 4.5…
leo
  • 7,518
  • 1
  • 24
  • 25
14
votes
1 answer

What's the real difference between Base SDK and Deployment Target or Deployment OS Version?

Want to make sure I got that right: Base SDK = What you're building against. If it's set to 4.1, then you build against the 4.1 SDK. Deployment OS Version / Deployment Target = The lower end, or the oldest platform your app is aimed to support. If…
openfrog
  • 40,201
  • 65
  • 225
  • 373
11
votes
5 answers

Swift: iOS Deployment Target Command Line Flag

How do I check the iOS deployment target in a Swift conditional compilation statement? I've tried the following: #if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_8_0 // some code here #else // other code here #endif But, the first expression…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
10
votes
2 answers

iOS: Concurrency is only available in iOS 15.0.0 or newer in protocol

I have an app which deployment target is iOS 12.1, with many protocols defining functions with completion handlers, i.e. protocol P { func f(_ completion: @escaping: (String) -> Void) } I would like to replace all these with the new async/await…
Dannis Case
  • 607
  • 2
  • 5
  • 10
7
votes
2 answers

Analyze iOS version distribution of a specific app in AppStore Connect

Is it possible to analyze the distribution of iOS 13 of one of my app using AppStore Connect? Background: I have an app in the AppStore which currently uses iOS 11.0 as deployment target. Now I would like to use an Apple API which requires a minimum…
mahega
  • 3,231
  • 4
  • 20
  • 32
6
votes
1 answer

Xcode 11.2.1 confused about the minimum deployment target

I have a library and an app in the same workspace. One is dependent on the other. When I compile I get an error saying that the library is build for iOS 11 but the apps deployment target is iOS 10. I change the minimum deployment target for the…
Geoff Burns
  • 525
  • 2
  • 7
  • 19
6
votes
2 answers

Find the Deployment Target at runtime of a framework that I can't recompile

It's pretty straight-forward to determine the Deployment Target for an app at compile time with the macro __IPHONE_OS_VERSION_MIN_REQUIRED. It's also straight-forward to find the current iOS version the app is running on at runtime. I'm trying to…
ScottWasserman
  • 1,700
  • 1
  • 11
  • 8
4
votes
2 answers

MACOSX_DEPLOYMENT_TARGET keeps reverting to old values

I'm trying to build a Flutter app that targets macOS. After adding some dependencies, like just_audio, I am given warnings regarding MACOSX_DEPLOYMENT_TARGET in various locations being set to various values which need to be changed to some other…
Christopher Perry
  • 149
  • 1
  • 2
  • 8
4
votes
0 answers

How do I delete extraneous deployment target settings from a build target

I have multiple build targets in my project. Some have tvOS set as the Base SDK whereas others have iOS set for this build setting. For some reason, despite only having one Base SDK set per build target, there are some that have multiple of the 'OS…
bdzeifert
  • 43
  • 5
4
votes
1 answer

Xcode 6 loads 3x image incorrectly when app's Deployment Target is set to 6.0 or 6.1

I get this issue when building UI in storyboard (or xib) in xcode's interface builder. After I assign the image (with the same name in asset catalog) to an image view in Interface Builder, the xcode loads 3x image file instead of 2x in any…
inexcii
  • 1,591
  • 2
  • 15
  • 28
4
votes
1 answer

How to install iOS 4.3 Simulator on xCode 5?

How to install iOS 4.3 Simulator on xCode 5? It's required to test the application on Deployment Target 4.3.
Dmitry
  • 14,306
  • 23
  • 105
  • 189
3
votes
1 answer

Specifying IPHONEOS_DEPLOYMENT_TARGET for Boost Bjam iOS

I use this project to build boost for iOS: https://github.com/danoli3/ofxiOSBoost/blob/master/scripts/build-libc%2B%2B My client project is set with: IPHONEOS_DEPLOYMENT_TARGET = 7.0 Base SDK = 9.2 I get the following warnings when I link against…
ssk
  • 9,045
  • 26
  • 96
  • 169
2
votes
1 answer

Xcode & iPhone -- creating a warning prompt when attempting to install an app with a newer deployment target

We're in the process of submitting our first iOS game to our publisher. We got a bug back from their QA department that basically states that when attempting to install our game (deployment target: 4.2) through itunes, onto a decice that does not…
hypnoslave
  • 123
  • 1
  • 5
2
votes
1 answer

How can you update an iOS Simulator deployment target using Swift Package Manager?

Does anyone know how to update the Simulator deployment target using SwiftPM? Based on my research I have not found any good solution other and reimplement a new package. I found and know how to update the minimum targets using CocoaPods but not…
1
2 3 4 5