开发者

Xcode: "iOS Deployment Target" not available in "Debug" configuration

开发者 https://www.devze.com 2023-02-06 04:55 出处:网络
so - for an iPhone project in Xcode (version 3.2.4) the project settings offer settings for \"Base SDK\" as well as \"iOS Deployment Target\" - the later of which determines what\'s the lowest iOS ver

so - for an iPhone project in Xcode (version 3.2.4) the project settings offer settings for "Base SDK" as well as "iOS Deployment Target" - the later of which determines what's the lowest iOS version to be supported.

however - this "iOS Deployment Target" option is shown to me only in the "Release" configuration. When I switch to "Debug" this option disappears and minimum iOS version required seems to be automatically set to the same as Base SDK.

The problem is that my iPhone runs on iOS 3.1.2 (and I want it to stay on this version!) - bu开发者_如何学运维t the recent Xcode versions don't have Base SDK options for these older versions (lowest available Base SDK is 3.2) - so I need the "iOS Deployment Target" option to make it compatible with my phone.

how can I make this option available in Debug Configuration?


You need to install an older SDK to run anything prior to 3.2, but don't uninstall your latest. Just put the older version in a directory other than /Developer, I use /Xcode personally. Code normally in the new version, then open the older SDK to test your app on your phone.

Most users are 4.0 or above though, so keep that in mind when trying to make your app backwards compatible (stats from major apps on Quora).

0

精彩评论

暂无评论...
验证码 换一张
取 消