xcode 和 ios sdk 有什么区别?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5242250/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the difference between xcode and ios sdk?
提问by Archana Chaurasia
My project is not running on xcode3.2 with ios SDK3.2 but working fine in xcode3.2 with ios SDK4.2.
我的项目没有在带有 ios SDK3.2 的 xcode3.2 上运行,但在带有 ios SDK4.2 的 xcode3.2 上运行良好。
Please can any one explain me What is the difference between xcode and ios sdk?
请有人能解释一下 xcode 和 ios sdk 有什么区别?
回答by Nico Huysamen
XCode is an IDE. iOS SDK (Software Development Kit) is a set of development tools (mostly in the form of libraries) that you use to create applications with.
XCode 是一个 IDE。iOS SDK(软件开发工具包)是一组用于创建应用程序的开发工具(主要以库的形式)。
As mentioned by @VladTheImpaler you are probably trying to open an application written with the iOS4.2 SDK in an environment that only has the iOS3.2 SDK libraries. This will cause incompatibilities and missing links etc.
正如@VladTheImpaler 所提到的,您可能正在尝试在只有 iOS3.2 SDK 库的环境中打开使用 iOS4.2 SDK 编写的应用程序。这将导致不兼容和丢失链接等。
回答by VladTheImpaler
As far as I know XCode is the program that you are using to write and compile. The different SDKs are containing the different APIs for what you're writing.
据我所知,XCode 是您用来编写和编译的程序。不同的 SDK 包含针对您正在编写的内容的不同 API。
So probably you are using stuff that is supported in 4.2 but isn't in 3.2 of iOS and since the APIs are missing, that's why it is not running.
因此,您可能正在使用 4.2 中支持但 iOS 3.2 中不支持的内容,并且由于缺少 API,这就是它没有运行的原因。
回答by GameLoading
HI this may help you.
嗨,这可能对你有帮助。
xcode is the interface where u code for iphone app..
xcode 是你为 iphone 应用程序编写代码的界面。
ios sdk is somulator of iphone.
ios sdk 是 iphone 的模拟器。
one Xcode contain more then one ios sdk.
一个 Xcode 包含多个 ios sdk。
here xcode 4 contain ios sdk 3.2,4.0.2,4.1,.4.2,4.3
这里 xcode 4 包含 ios sdk 3.2,4.0.2,4.1,.4.2,4.3