没有开发者许可的 iOS 应用程序/应用程序商店
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6539075/
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
iOS apps without developer license / app store
提问by Craigt
I'm new to iPhone development and was wondering if there is a good/easy guide I could follow to install an iOS app on a jailbroken phone without joining the developer program.
我是 iPhone 开发的新手,想知道是否有一个好的/简单的指南可以让我在不加入开发者计划的情况下在越狱手机上安装 iOS 应用程序。
Basically, I don't know if I'm going to have the time to learn everything I need to learn, but would like to make a start and see where it leads. Once I have something decent put together I can make plans to go through official channels.
基本上,我不知道我是否有时间学习我需要学习的所有东西,但我想先开始,看看它会走向何方。一旦我把一些不错的东西放在一起,我就可以制定计划通过官方渠道。
I followed a guide that I found in SO, but when launching the app it immediately dies/crashes back to the springboard. So I can only assume I did something wrong, or the guide is outdated.
我遵循了在 SO 中找到的指南,但是在启动应用程序时,它立即死机/崩溃回到跳板。所以我只能假设我做错了什么,或者指南已经过时了。
I'm using iOS 4.3.3 and xCode 4.
我使用的是 iOS 4.3.3 和 xCode 4。
here is the link to the guide I followed: iPhone App Minus App Store?
这是我遵循的指南的链接:iPhone App Minus App Store?
Thanks
谢谢
采纳答案by Craigt
Just to get the warning away.
只是为了消除警告。
I just found a guide that worked for me: How can I deploy an iPhone application from Xcode to a real iPhone device?. all I had to do was change the 4.2 in one of the commands to 4.3
我刚刚找到了一个对我有用的指南:如何将 iPhone 应用程序从 Xcode 部署到真正的 iPhone 设备?. 我所要做的就是将其中一个命令中的 4.2 更改为 4.3
回答by Hollerweger
With Xcode 7 it's now free to run your apps on your iPhone, iPad or Apple Watch (beta): https://developer.apple.com/xcode/
使用 Xcode 7,现在可以在 iPhone、iPad 或 Apple Watch(测试版)上免费运行您的应用程序:https: //developer.apple.com/xcode/
Now everyone can get their app on their Apple device. Xcode 7 and Swift now make it easier for everyone to build apps and run them directly on their Apple devices. Simply sign in with your Apple ID, and turn your idea into an app that you can touch on your iPad, iPhone, or Apple Watch. Download Xcode 7 beta and try it yourself today. Program membership is not required.
现在每个人都可以在他们的 Apple 设备上获取他们的应用程序。Xcode 7 和 Swift 现在让每个人都可以更轻松地构建应用程序并直接在他们的 Apple 设备上运行它们。只需使用您的 Apple ID 登录,即可将您的想法转化为可在 iPad、iPhone 或 Apple Watch 上触摸的应用程序。立即下载 Xcode 7 beta 并亲自试用。不需要计划会员资格。
回答by Anon
This isn't my own method, but I thought I'd help you out since I've just read this elsewhere:
这不是我自己的方法,但我想我会帮助你,因为我刚刚在别处读到了这个:
There's a way you can do this.
You will need ROOT access to edit the following file.
Navigation to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk and open the file SDKSettings.plist.
In that file, expand DefaultProperties and change CODE_SIGNING_REQUIRED to NO, while you are there, you can also change ENTITLEMENTS_REQUIRED to NO also.
You will have to restart Xcode for the changes to take effect. Also, you must do this for every .sdk you want to be able to run on device.
Now, in your project settings, you can change Code Signing Identity to Don't Code Sign.
Your app should now build and install on your device successfully."
有一种方法可以做到这一点。
您将需要 ROOT 访问权限才能编辑以下文件。
导航到 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk 并打开文件 SDKSettings.plist。
在该文件中,展开 DefaultProperties 并将 CODE_SIGNING_REQUIRED 更改为 NO,同时您还可以将 ENTITLEMENTS_REQUIRED 更改为 NO。
您必须重新启动 Xcode 才能使更改生效。此外,您必须为希望能够在设备上运行的每个 .sdk 执行此操作。
现在,在您的项目设置中,您可以将代码签名标识更改为不进行代码签名。
您的应用现在应该可以成功构建并安装到您的设备上。”