将 iPhone 应用程序从 3.0 更新到 iOS4

发布于 2024-09-14 03:03:13 字数 732 浏览 6 评论 0原文

我只是想知道是否有人知道有关将 iPhone 应用程序从 3.0 升级到 iOS4 的任何文章。 (感谢您的iWasRobbed)。

虽然该应用程序仍然可以在 iOS4 上运行,但它不会在 iPhone 4 上运行,但可以在我的 iPhone 3G 上运行。

当我在 iPhone 4 上部署该应用程序时,会加载默认屏幕,并且它将挂在那里。我遇到的问题的唯一倾向是这个警告:

warning: UUID mismatch detected with the loaded library - on disk is:
 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit
warning: UUID mismatch detected with the loaded library - on disk is:
 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress

谢谢

詹姆斯

I was just wondering if anyone knows of any articles relating to upgrading an iPhone application from 3.0 to iOS4. (Thanks for this iWasRobbed).

While the application still runs on iOS4, it will not run on the iPhone 4, but does on my iPhone 3G.

When I deploy the app on the iPhone 4, the Default screen loads and it will sit there hanging. The only inclination towards a problem I get is this warning:

warning: UUID mismatch detected with the loaded library - on disk is:
 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit
warning: UUID mismatch detected with the loaded library - on disk is:
 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk/System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress

Thanks

James

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

诺曦 2024-09-21 03:03:13

詹姆斯,

Apple 提供了此清单:http://developer.apple.com/iphone/checklist/< /a>

一般来说,这不应该是一个大问题。通常,您只需将基准 SDK 设置为 4.0,并将部署目标设置为 4.0 或 3.0+。

如果它没有在 iPhone 4 上运行,您可能希望进一步解释当您尝试在该设备上运行它时它具体在做什么或没有做什么。请记住,设计为在 3.0 及更高版本上运行的所有应用程序(大部分)通常在 iPhone 4 上运行良好。

不推荐使用的方法可能会出现一些问题,因此请确保在安装和运行之前解决这些问题该应用程序。对于其中任何一个,您都应该收到编译器警告,如果不检查您的目标设置,并且应该有一个复选框。

除此之外,我不确定在不了解项目的更多细节的情况下还有什么会阻止您。

作为附加信息,您应该真正查看 WWDC 2010 名为“面向未来的应用程序”的视频(立即观看:)

James,

Apple has provided this checklist: http://developer.apple.com/iphone/checklist/

It generally should not be that big of an issue. Typically, you just set the baseline SDK as 4.0 and the deployment target as either 4.0 or something 3.0+.

If it is not running on an iPhone 4, you may wish to explain further what specifically it is doing or not doing when you attempt to run it on that device. Keep in mind that all apps (for the most part) that were designed to run on 3.0 and above will typically run well on an iPhone 4.

There might be some issues with deprecated methods, so make sure you resolve those prior to installing and running the app. You should get a compiler warning for any of those, if not check your target settings and there should be a checkbox for it.

Other than that, I'm not sure what else would prevent you without understanding further details of your project.

As additional information, you should really look into the WWDC 2010 video called "Future Proofing Your Applications" (watching it now :)

孤独陪着我 2024-09-21 03:03:13

这很可能是因为您的 iPhone 4 运行的 iOS 系统与您在 Xcode 中使用的 SDK 不匹配。 UUID 不匹配,因为 iPhone 4 使用的 SDK 版本与您编码的版本不同。

解决方案,安装最新的 SDK 并确保您的 iPhone 与此匹配。最新的版本是4.1

That is most likely a mismatch between what iOS your iPhone 4 is running and what SDK you're using in Xcode. The UUIDs are mismatched because the iPhone 4 is using a different version SDK to what you've coded in.

Solution, install the latest SDK and make sure your iPhone matches this. The latest out is 4.1

鲜肉鲜肉永远不皱 2024-09-21 03:03:13

我遇到了同样的问题,并认为我已经解决了它,因为问题已经消失了。
首先我删除了构建文件夹。然后我通过itunes将最新版本的ios(本例中为4.1)安装到我的iphone上。之后我从苹果开发者网站安装了最新的 xcode 和 iphone sdk 包。
这本身可能解决了问题,但只是为了确保我在计算机上为手机添加了新的配置文件,之后一切正常。
希望有帮助

I had the same problem and think I have solved it because the problem has gone away.
Firstly I deleted the build folder. Then I Installed the latest version of ios (4.1 in this case) onto my iphone through itunes. Afterwards i installed the latest xcode and iphone sdk package from the apple devlopers site.
This in itself probably fixed the problem but just to be sure I added a new provisioning profile for the phone on my computer and everything worked great afterwards.
Hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文