English 中文(简体)
宏观顾问办公室:根据最近版本的两性平等问题顾问办公室,与旧基调和K
原标题:Mac OS : runing app with old base SDK on recent version of OS

这可能是一个新问题,然而,对麦克索顾问办公室来说,我是一个新问题。

在此,我收到一份经过编辑的应用程序,请老的SDK说10.5版本,在MacOS 10.5版本上没有任何问题。

关于最近版本的MacOS 10.6,10.7, 在某些情形下,它的工作是不正确的。

旧的缩略语应当与新版的非洲顾问办保持兼容,基本上,我想知道 Apple果如何保持与新版本的MacOS的旧应用程序的兼容性?

最佳回答

Apple is usually very careful to ensure backward compatibility of their APIs so that older apps don t break when you upgrade your OS. They don t delete APIS but just mark them as deprecated.

您的申请很可能是在没有支持的情况下进行的,或者由于 Apple果改变了其执行诺言而暴露在其中。

Off the top of my head some possible causes

  • your app uses Apple private APIs that have changed.
  • your app passes some invalid parameter to an API whose implementation has changed (an example might be using an int where the API expects an NSInteger).
  • your app unwittingly exploited a bug that has now been resolved (e.g. garbage collection and NSOperationQueues existed in 10.5 but were very much beta).

参照最新版本的X代码,与<代码>-Wall的警告旗帜和静态分析器核对您的申请。 这将告诉你,在什么地方,你正在使用假装的转录器,对 par和回归类型错误的假设,以及许多其他问题。

问题回答

暂无回答




相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签