Wireless Ad Hoc Distribution for iPhone Apps

本文介绍了一种方便快捷的iOS应用预发布版无线安装方法。利用iOS 4的新特性,开发者可以轻松地通过电子邮件发送安装链接给测试人员,实现从iPhone上的无线安装。文章详细解释了如何构建归档文件、上传至Dropbox并发送安装链接。

原文:http://blog.just2us.com/2010/12/wireless-ad-hoc-distribution-for-iphone-apps/ 


This post is for iPhone developers who need to send pre-released apps to (beta) testers.

For a long time since iOS development began, whenever developers need to send a pre-released app, testers need to go through a tedious process to install – they have to download, drag app to iTunes on a PC/Mac (NOT iPhone), and sync over USB..

Now with iOS 4, wireless installation is possible, right from an iPhone!

This new process is much more convenient, or as convenient as installing from App Store. The result is that testers will be more glad to install and test your pre-released apps.

Jeffrey Sambells has a good post on how to create a little webpage that has links for testers to install the app. He even has a PHP script to conveniently skip some of the steps.

The post is helpful, but for myself, all I need is to a link that I can email to my testers. A link which they can simply click on and install the app wirelessly.

I am going to explain how I do it my way.

 

Step 1 – Build and Archive

In Xcode, Build and Archive your Ad Hoc target.

Under Organizer window, select the archive app and select Share Distribute for Enterprise. You will see this (screenshot from paradeofrain):

For the URL field, enter a temporary URL first (we will change that in step 2). This URL is the link to the IPA file which you will upload.

Press OK. You will now have the IPA file (the app) and a PLIST file (an XML that describes the app and where the IPA is).

 

Step 2 – Upload to Dropbox

Firstly, upload the IPA file to your dropbox. I prefer dropbox, but you may use a web server if you like. After the file is uploaded, get the dropbox public link for the IPA file. eg.http://dl.dropbox.com/u/1234/MyApp.ipa

Next, open the PLIST file and edit the url element. For example,

...
<key>url</key>
<string>http://dl.dropbox.com/u/1234/MyApp.ipa<string>
...

Upload the edited PLIST file to dropbox. Similarly, get the dropbox public link to the PLIST file. eg.http://dl.dropbox.com/u/1234/MyApp.plist

 

Step 3 – Email Testers the Link

The secret to installing is this URI:

itms-services://?action=download-manifest&url=http://dl.dropbox.com/u/1234/MyApp.plist 

Created a HTML email with a hyperlink pointing to the above URI. For example:

<a href=”itms-services://?action=download-manifest&url=http://dl.dropbox.com/u/1234/MyApp.plist>Download App</a>

When a tester click on Download App from his iPhone, the installation will begin!

That’s it!



内容概要:本文研究了一种基于改进ICEEMDAN的火电-蓄电池-飞轮混合储能联合调频协同控制策略,旨在提升电力系统频率调节的快速响应能力与运行稳定性。通过引入改进的自适应噪声完备集合经验模态分解(ICEEMDAN)方法,对电网频率偏差信号进行多时间尺度分解,精确分离高频与低频动态分量,并据此实现功率的差异化分配:高频成分由响应迅速的飞轮储能承担,低频成分由能量密度高的蓄电池处理,同时结合火电机组的基础调频能力,构建火电-混合储能多源协同控制架构。该策略充分发挥各类储能技术的优势,有效缓解单一储能系统的压力,延长设备寿命,并提升系统整体调频性能。文中提供了完整的Matlab仿真代码实现,验证了该方法在抑制频率波动、优化储能出力、提高系统可靠性和经济性方面的显著效果。; 适合人群:具备电力系统分析、自动控制理论及新能源技术等相关专业知识背景,熟悉Matlab/Simulink仿真平台,从事电力系统调频控制、混合储能系统优化、多时间尺度能量管理等领域研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①深入研究混合储能系统在电网一次调频与二次调频中的功率分配机制与协调控制逻辑;②掌握ICEEMDAN信号分解技术在能源系统动态特征提取与多尺度控制中的应用方法;③实现火电机组与多类型储能协同参与调频的仿真建模、算法开发与性能对比分析;④为综合能源系统、微电网及新型电力系统的多源多时间尺度协调控制提供理论依据与技术参考。; 阅读建议:建议结合提供的Matlab代码逐模块分析算法实现流程,重点理解信号分解、模态分量判别、功率分配规则及控制器设计等关键环节,可通过调整系统参数、模拟不同扰动工况进行仿真测试,进一步开展灵敏度分析与策略优化,以深化对协同控制机理的认识并拓展其实际应用价值。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值