有没有人知道为非越狱设备添加iOS应用程序权利的方法? [英] Does anybody know a way to add entitlement to iOS application for non jailbroken device?

查看:104
本文介绍了有没有人知道为非越狱设备添加iOS应用程序权利的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

某些背景


  • iOS操作系统具有权利概念。一般来说,它是授予应用程序的权限。其他系统服务和应用程序可以检查此权限以允许/拒绝执行某些功能。

  • iOS operation system has a "entitlement" notion . Generally speaking, it's a permission which is granted to an application. Other system services and apps can check for this permission to allow/deny execution of some functionality.

应在配置文件中指定这些权利。

These entitlements should be specified in a provisioning profile.

系统应用程序有很多不同的权利。

System applications have a lot of different entitlements.

用户应用仅限于几个权利(例如访问iCloud或类似可在开发人员门户网站上配置的内容)。

User application are limited to just couple of entitlements (like access to iCloud or something like that which can be configured on developer portal).

问题是:有没有人知道为NON越狱设备添加权限给用户应用程序的方法?

The question is: Does anybody know a way to add entitlements to user application for NON jailbroken device?

总的想法是为开发的应用添加权利以获得更多使用系统服务的权限。

The overall idea is to add entitlements to developed app to gain more permissions to use system services.

Notes&免责声明


  • 我知道如何为越狱手机做这件事。但是,它不适用于非越狱设备。

  • I know how to do this for jailbroken phone. However, it doesn't work on non jailbroken device.

我知道Apple会拒绝它。它不会去AppStore。

I am aware that Apple will reject it. It won't go to AppStore.

解决方案不一定是编译时解决方案(意思是修改文件的方法)。它可能是一个运行时解决方案 - 一个应用程序向自己或第三方应用程序添加某种方式的权利。

The solution doesn't have to be a compile time solution (meaning, a way to modify a file). It could be a runtime solution - one application adding somehow entitlements to itself or to 3rd party app.

推荐答案

没有。权利包含在应用程序的代码签名中。当然,更改它们会破坏签名,并且库存iOS设备将不会运行具有损坏的代码签名的代码。你问的是不可能的。

No. Entitlements are contained within the application’s code signature. Changing them will, of course, break the signature, and stock iOS devices will not run code with a broken code signature. What you ask is not possible.

这篇关于有没有人知道为非越狱设备添加iOS应用程序权利的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆