如何上传ipa到如何使用testflightt

iOS开发建议和技巧:第一部分 - 博客 - 伯乐在线
& iOS开发建议和技巧:第一部分
我是个热衷于iOS平台的开发者,最早开发iOS app是在2009年中,当时打算做一个关于荷兰,虽然最后没有完成,但是我学会了如何开发一款iOS App。从那开始,我想了许多值得做成应用的点子,有些还用博客记录下来。到了2010年,我做了一款供朋友间交流使用的论坛应用,我给它取名为‘Yert’。之后的2011年,我利用空闲时间和我的叔叔(Jos Jong)还有兄弟(Jim van Zummeren)一起合作开发了一款叫做的应用,
这个应用给我们带来了不错的收入。在制作这款应用的过程中,我学到了很多。后来我又为Trifork开发了iOS客户端,为The New Motion开发了应用,还有一款为GeriMedia开发的用于帮助医生记录自己工作时间的应用。差点忘了,还有一款iPad应用:,这个应用主要是用来学习如何高效的为孩子们创作有意思的故事。
发布完这一系列的app之后我又在不同的项目上埋头苦干,虽然最终没有发布,但是每一个项目都让我有所提高。接下来我就和下家分享一些开发iOS app的贴士&技巧,其中会涉及我最近在用的工具,一些值得推荐的framework和一些发布app的方式。
IDE:AppCode
首先要推的是我认为最好的IDE:。我在我的博客中已经很详尽的介绍过它了,我认为它是。经过两年多的使用,我坚定不移的认为:如果开发iOS app,AppCode是最好的IDE。虽然Xcode也越来越好,但是我觉得还是不敌AppCode。到底AppCode好在哪里,建议大家看看我之前写的博文。而且,如果你用过,我估计你可以理解我所指的那种好。因为IntelliJ相较于Eclipse的那些优点,恰好就是Xcode所不及AppCode的方面。
AppCode不是Xcode的替代品,完全是增强版。使用AppCode开发的工程,在Xcode内是完全兼容的,可以随时切换到Xcode继续开发。所以使用AppCode不存在风险可言。比如,虽然AppCode中没有Interface Builder设计器,如果需要创建storyboard可以去Xcode,然后再切回AppCode编码。最重要的是,如果Xcode有什么大的更新或者针对开发语言有什么新特性新变化,几周之后AppCode就能将这些变化和特性集成。
依赖关系管理:CocoaPods
下面说一说依赖管理。坦白的说,和java应用开发相比,iOS需要管理的依赖关系通常不多。iOS的SDK本身所涵盖的内容已经相当丰富。但是如果你确实需要管理一些依赖关系,那么强烈推荐你使用。不只是iOS平台,包括Mac平台在内,CocoaPods都是一个相当受追捧的依赖管理工具。
安装CocoaPods非常简单,只需要在终端工具中输入如下命令:
sudo gem install cocoapods
安装完成后,回到所开发应用的Xcode工程目录,在下面创建一个文件,名称是PodFile:
platform :ios, &6.0&
pod 'AFNetworking', '2.0.2'
上述描述内容表示通知 CocoaPods,该工程需要引入一个针对iOS6版本的“AFNetworking”。如果所引用的framework所要求的最低iOS兼容版本高于工程所设置的最低iOS兼容版本,CocoaPods会给出相应的提示。
运行下面的命令会自动获取要引用的framework并添加到工程中:
pod install
CocoaPods会基于原有的工程MyCoolProject.xcodeproj创建一个名称为MyCoolProject.xcworkspace的workspace文件。后续的工程维护只需要打开workspace文件即可,其中即包含了原有的工程文件同时又添加了所依赖的framework。
还可以更简单一点
AppCode最近增加了对CocoaPods的支持!可以通过AppCode来创建PodFile,完全可以抛弃终端命令了。
系统内还没安装CocoaPods也不要紧,AppCode可以帮忙安装。再也不需要去命令行鼓捣“gem”了。
pods打哪来?
所有的pods都在Github:。可以fork也可以PR自己的pod。我提了几次PR,一般在一天之内就会接受合并,有的时候几个小时就完成了合并。
一般java开发者都比较熟悉集成工具。其实Jenkins也适用于Xcode工程。直接在Jenkins上安装即可(.hpi插件),注意Jenkins需要运行在Mac服务器上。
支持CocoaPods
Code signing
其他的集成工具:
,这个虽然安装配置比较简单,但是我发现它有一些局限性。但是这是苹果官方支持的集成工具。所以值得一试。
,这是一个可以基于Github代码仓库来进行在线集成的方案,同样支持CocoaPods,不过我还没有用过。
在开发iOS应用的过程中,肯定是需要一些专业的测试或者是一些亲朋好友来验证应用。怎么将应用发布给这些人呢?除了去苹果app store上面发布,苹果本身提供了其他的发布应用的策略,比如“AD-HOC”。AD-HOC可以最多向100个设备授权使用应用,被授权的设备直接访问app的所在URL即可进行下载安装。具体来说,可以简单的架设一个Apache服务器,将应用安装包ipa和必要的描述信息集成在HTML页面中,然后部署在服务器上,接着就可以将相关下载页面的链接地址发布出来供授权的设备下载安装。这种方式有一点比较麻烦,就是每次想要更新ipa,都得重新部署一次。
另外,测试人员在测试的过程中可能会遇到诸如app崩溃等情形,这时候开发者最想得到的就是崩溃日志以便辅助debug这些问题。最直接的做法是,让测试者将设备与itunes链接,然后从设备里拿到崩溃日志,再交给开发者。即便是拿到了测试用户的崩溃日志,在iOS平台,还需要借助用户使用的安装包当初在编译时所生成的dSYM文件,才能还原崩溃日志的堆栈信息。
总结一下具体的流程和步骤:
将应用发布给测试者
收集崩溃日志
记得保存dSYM文件
TestFlight
现在有在线服务来替代以上的复杂流程。我最初使用的是
支持iOS和安卓
将测试人员分组,例如不同组的人负责不同的app
为开发者提供了便利的桌面客户端来上传 IPA和dSYM文件
提供SDK来自动化上传崩溃日志并且能够对其进行分析
提供了一种机制,使得测试人员可以在应用内进行直接反馈
当然,通过一段时间的使用,还是发现了一些TestFlight的缺陷:崩溃日志不是很可靠,有时候在终端查不到已经生成的崩溃日志。另外,TestFlight网站也比较复杂,尤其是想要注册成为测试者的话,整个注册流程很麻烦。
最近,我开始使用服务。虽然名字听起来怪怪的,但是处理起发布和崩溃日志非常不错且更简单。下面是我总结的HockyApp优于TestFlight的地方:
拥有我所知道的所有的TestFlight的功能
应用一旦崩溃就会生成日志
会自动询问用户是否发送崩溃日志
会将崩溃日志按照类型和频率进行分组
虽不免费但不贵(5美元一个月,使用上限5个app)
综上所述,个人HockyApp。
本文重点推介了一些iOS开发可以用到的比较好的工具,后续的文章中,我会介绍一些framework中值得推介的代码。稍后奉上。
关于作者:
可能感兴趣的话题
关于伯乐在线博客
在这个信息爆炸的时代,人们已然被大量、快速并且简短的信息所包围。然而,我们相信:过多“快餐”式的阅读只会令人“虚胖”,缺乏实质的内涵。伯乐在线博客团队正试图以我们微薄的力量,把优秀的原创/译文分享给读者,做一个小而精的精选博客,为“快餐”添加一些“营养”元素。
新浪微博:
推荐微信号
(加好友请注明来意)
– 好的话题、有启发的回复、值得信赖的圈子
– 分享和发现有价值的内容与观点
– 为IT单身男女服务的征婚传播平台
– 优秀的工具资源导航
– 翻译传播优秀的外文文章
– 国内外的精选文章
– UI,网页,交互和用户体验
– 专注iOS技术分享
– 专注Android技术分享
– JavaScript, HTML5, CSS
– 专注Java技术分享
– 专注Python技术分享
& 2016 伯乐在线
赞助云主机iOS――TestFlight Beta Testing - iPhone手机开发技术文章 - 红黑联盟
iOS――TestFlight Beta Testing
TestFlight Beta Testing makes it easy to invite users to test youriOS 8 apps before you release them on the App Store. You can invite up to 1,000 external testers using just their email address. TestFlight Beta Testing 使得在你的App发布到App Store之前邀请用户测试变得很容易。你可以通过用户的邮箱邀请至多1000个外部测试者。
Preparing for TestFlight
Build and setup with Xcode and iTunes Connect
To get your app ready for testers, upload a beta build of your app from Xcode and add the names and email address of people that you&d like to test in iTunes Connect. For instructions on how to prepare your beta app and set up a list of testers, read the iTunes Connect Developer Guide or watch the TestFlight video tutorial. 为了让用户测试你的App,你需要通过Xcode上传你的测试版本App,并且需要在iTunes Connect添加测试者的姓名和邮箱地址。如何准备你的测试App和设置测试者名单,你可以参考 iTunes Connect Developer Guide 或者 watch the TestFlight video tutorial。链接如下:
iTunes Connect Developer Guide
TestFlight Video Tutorial
Inviting TestFlight Beta Testers
Internal Testers
Get feedback quickly by sharing your beta builds with up to 25 members of your team who have been assigned the Technical or Admin role in iTunes Connect. Each member can test on up to 10 devices.
External Testers
Once you&re ready, you can invite up to 1,000 users who are not part of your development organization to beta test an app that you intend for public release on the App Store. Apps made available to external testers require a Beta App Review and must comply with the full App Store Review Guidelines before testing can begin. A review is required for new versions of your app that contain significant changes. Up to 10 apps can be tested at a time, internally or externally.
TestFlight App for iOS
Download on the App Store
Each time you invite a tester, they will automatically receive an invitation email to join your group of beta testers and will be prompted to install the free TestFlight app from the App Store. The TestFlight app makes installing beta apps simple, with no need to keep track of UDIDs or provisioning profiles. 每次当你邀请测试者时,他们会自动地收到一封加入你的测试组的邀请邮件,并且他们会获得安装TestFlight app的帮助。TestFlight app使得安装测试App变得简单,不需要去跟踪UUIDs和配置文件。 View the TestFlight App
Once a beta app is installed, TestFlight will notify testers each time a new build is available, provide instructions on where to focus, and offer an easy way to give feedback. 一旦测试者安装了测试版App,TestFilght会提供测试者App更新的通知,提供需要关注的说明,和方便的反馈方式。
Using TestFlight as a Beta Tester
You can use TestFlight on up to 10 devices and test multiple apps for multiple developers & there is no limit to the number of apps that you can test simultaneously. TestFlight can be used to test iOS apps on iPhone, iPad, and iPod touch running iOS 8 or later. Mac apps cannot be tested. If the beta app does not load on your device, contact the developer. 你可以在至多十个设备上使用TestFlight,测试不同开发者的不同App,并且没有同事测试App数目的限制。TestFlight可以运行在iPhone、iPad和iPod touch上的App,前提是这些设备的系统版本不小于iOS 8。 Mac apps不能被测试。如果你无法在你的设备上安装App,请联系开发者。
Once you accept your invitation, you&ll be able to download a beta version of the app you&ve been invited to test. If you already have the live app installed on your device, the beta version of the app will replace the live version. When you&ve downloaded the beta app, you&ll see an orange dot next to its name that identifies it as a beta. TestFlight will notify you each time a new build is available and provide instructions on where to focus. You can easily offer feedback by tapping the Provide Feedback button in the App Details view in TestFlight. An email automatically opens with pertinent app and device details, and you can add additional details and screenshots。 一旦接受了邀请,你就可以被邀请测试的App的。如果你已经安装了应用,那么测试版本的App将会替换它。下载beta App后,你会在App的名字旁边看到一个黄色的点,它是用来标识测试版本的。TestFilght会提供测试者App更新的通知,和需要关注的说明。在TestFlight里测试App的详情界面,你可以通过反馈按钮提供反馈,此时一封含有相关App和设备详情信息的邮件编辑界面自动打开,你还可以添加额外的详情和截图。
The beta period lasts for 30 days, starting on the day it is released to testers. In TestFlight, the number of days remaining appears below the Open button for each app. 测试有限期为30天,从发布给测试者的当天算起。在TestFlight里,你可以在app的打开按钮下面看到剩余可测试时间。
If a beta app has In-App Purchases, you do not have to purchase them, as In-App Purchases made with beta builds are free within the context of the beta version. 如果App包括内购买功能,你不需要去购买,因为含有内支付功能的beta App的所有内容都是免费的。
Opting Out
If you do not accept your email invitation, the beta app will not be installed and you will not be listed as a tester. Additionally, you can unsubscribe using the link at the bottom of the invitation email to notify the developer that you&d like to be removed from their list. If you accepted the invitation and no longer wish to test the app, you can delete yourself as a tester in the App Details page in TestFlight. 如果你没有接收到邮件邀请,你无法安装beta app,并且也不会成为测试组的一员。此外,你也可以通过邀请邮件底端的退订链接,通知开发者将你从测试组中移除。如果你接收到了邀请,但是不想再测试这个App,你可以在TestFlight的App详情页删除你自己。
TestFlight Beta Testing requires iOS 8 or later, and can be used in all 155 countries where the App Store is available. TestFlight Beta Testing 需要iOS8版本以后的,并且可以在App Store被使用的155个国家可用。1、将自己的邮箱告诉开发者(不要用QQ企业邮箱,企业邮箱会把它当成垃圾邮件,而且接收不及时);开发者将向你们的邮箱发送邀请;
2、邮箱收到邀请邮件后,打开邮件里的链接,用你的邮箱注册一个号就行;
3、帐号注册完毕后,即可进行设备的注册。在你们需要用来测试的iOS设备上打开Safari,输入地址,用刚才注册的帐号登录。
4、登录后点击&RegisterDevice&按钮注册设备。注册设备后会在设备上安装一个TestFlight WebClip的描述文件,并在桌面上出现一个&TestFlight&的应用程序图标。以后你就可以通过这个TestFlight的app进行程序的安装和更新了。
5、当有新的包裹后,我会通知你们,你只要在设备上打开那个testflight图标
6、然后就能看到那个包,直接点install按钮,接下来就是见证奇迹的时刻了
7、以后,只要有包,我放到上面,你们只要打开那个testflight图标进去安装就可以了,一劳永逸...
阅读(...) 评论()

我要回帖

更多关于 testflight怎么用 的文章

 

随机推荐