MonoTouch 部署到 iPhone

发布于 2024-09-05 18:02:19 字数 178 浏览 2 评论 0原文

我已经使用 MonoTouch 开发了许多应用程序,并且一直在使用 iPhone 的模拟器,现在我需要将应用程序部署到我的 iPhone 上进行进一步测试。

我已经从 Apple 购买了 iPhone SDK,但我找不到如何在我的 iPhone 上部署和激活 MonoTouch 应用程序。

请问有什么指点吗?

I have developed a number of apps using MonoTouch, and been using the emulator for the iPhone, now I need to deploy me application to my iPhone for further testing.

I have purchased the iPhone SDK from Apple, but I can't find how to deploy and activate the MonoTouch application to my iPhone.

Any pointers please?

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

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

发布评论

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

评论(4

渔村楼浪 2024-09-12 18:02:20

以下是有关构建分发的 MonoTouch 文档

http://monotouch.net/Documentation/Building_for_Distribution

Here are the MonoTouch docs on building for distribution

http://monotouch.net/Documentation/Building_for_Distribution

余生再见 2024-09-12 18:02:20

据我了解,您必须拥有 Novell 的 Monotouch 部署许可证才能部署到设备。

It is my understanding that you have to have the Monotouch deployment license from Novell to deploy to a device.

波浪屿的海角声 2024-09-12 18:02:20

根据你的说法:

当我编译时,我得到:“在中找不到有效的 iPhone 代码签名密钥
钥匙扣。

这实际上是一个 Xcode 问题,而不是 Monotouch 问题;

该消息表明您的钥匙串不提供用于生成证书和配置文件的签名密钥。

如果您按照苹果的步骤生成证书(请求),然后是配置文件,他们还会说明您可能想要导出您的私钥(p13 文件)并将其保存在安全的地方。
例如,如果您移动到另一台笔记本电脑,您将需要再次导入该密钥以使该计算机成为有效的计算机。

如果出现问题(即:您不小心删除了私钥,..),将会显示此消息,因为 Xcode 无法验证配置文件是否在有效的计算机上使用。

前往此说明页面(需要苹果帐户凭据)进行检查如果已执行这些步骤,并检查 Mac 上的钥匙串访问应用程序 如果在“我的证书”下您看到开发人员证书,并且 - 如果展开它 - 您可以看到私钥作为子节点。

According to your statement:

When I compile I get: "No Valid iPhone code signing keys found in
keychain.

This is actually a Xcode question more then a Monotouch one;

The message indicates that your keychain does not provide the signing keys used to generate the certificates and provisioning profiles.

If you follow apple's steps on generating certificate(request), followed by profiles they will also state you might want to export your private key (p13 file) and keep it somewhere safe.
If you move to another laptop for instance, you will need to import that key again to make the machine a valid one.

If something went wrong (ie: you accidentally removed your private key, ..) this message will be shown since there is no way for Xcode to verify that the profiles are being used on a valid machine.

Go to this instruction page (apple account credentials needed) to check if the steps have been followed and check in the Keychain access app on your mac if under My Certificates you see a developer certificate and - if you unfold it - you can see the private key as a child node.

淡水深流 2024-09-12 18:02:19

正如已经说过的,您显然需要付费版本的 MonoTouch 和 iPhone SDK。完成这些分类后,您需要在 iPhone 开发人员门户中创建开发人员证书,将其下载到您的开发计算机并将其添加到您的钥匙串中。

完成此操作后,您必须为您的物理设备创建一个配置文件,这也是您通过开发人员门户完成的。获得配置文件后,将其下载到您的计算机,并通过 XCode 中的 Organizer 应用程序将其添加到 iPhone。

然后启动 MonoDevelop,如果一切都按计划进行,那么您应该可以选择将构建部署到您的 iPhone。您可以通过打开“项目选项”窗口来检查 MonoDevelop 是否正确检测到您的证书,并在“构建”部分和“iPhone 捆绑包签名”下,您应该看到您的开发人员证书和配置文件。

Apple iPhone 开发网站< 所需步骤的完整详细信息/a>

As has been already stated you obviously need the paid version of MonoTouch and the iPhone SDK. Once you have those sorted you need to create a developer certificate in the iPhone developer portal, download it to your dev machine and add it into your keychain.

Once you have done that you must create a provisioning profile for your physical device, which again you do through the developer portal. Once you have the provisioning profile, download that to your machine, and add it to the iPhone via the Organiser app in XCode.

Then fire up MonoDevelop, and if it's all gone to plan then you should have the option of deploying the build to your iPhone. You can check that MonoDevelop has correctly detected your certs by opening up the Project Options window and under the Build section and under iPhone Bundle Signing, you should see your developer cert and provisioning profile.

Full details of the steps required on the Apple iPhone Dev Site

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