Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8289577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:32:22+00:00 2026-06-08T12:32:22+00:00

For some of my iOS application projects, I would like my CI server to

  • 0

For some of my iOS application projects, I would like my CI server to be able to report the following properties:

  • startup time
  • frame rate

both as a graph over time, and with “low water marks” so the build fails if the measured results aren’t within certain criteria. I’ve already found some of the things I need.

  • The CI server will be Jenkins.
  • I can use Transporter Chief to get the built app onto an iPad.
  • To measure the startup time I could find the duration between launching main() and leaving application:didFinishLaunchingWithOptions:.
  • To measure frame rate I can put a CADisplayLink into the app and sample its duration property.
  • If those tests output JMeter XML, then Jenkins can display the output via the Performance plugin.

What I haven’t worked out is, how should I embed those tests into my app and launch it on the iPad? As described above I can deploy the app to the iPad, but then I don’t know how I would launch it to gather the results of the tests. My unit tests are running on the simulator – I don’t want to run the performance tests there obviously :-).

I imagine that there’s a solution involving jailbreaking the iPad and controlling the app over SSH, I’d prefer not to go down that route if it’s possible. If you have done that and can explain how it works, I’d still like to hear about it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T12:32:23+00:00Added an answer on June 8, 2026 at 12:32 pm

    I’m also using fruitstrap to install apps on the device in CI. In terms of booting the app, I know of two ways:

    1. Use fruitstrap with the debugger attached

      • I know teams that have done this to run KIF integration tests on devices in CI. I have played around with fruitstrap to get it booting apps on the device, but haven’t myself taken the extra step of automating the whole thing
      • shameless plug for my post on fruitstrap: http://www.stewgleadow.com/blog/2011/11/05/installing-ios-apps-on-the-device-from-the-command-line/
    2. Use the instruments command line tool with UIAutomation

      • I know the instruments tool can boot apps on the device automatically in CI (I wish it also installed them, but we have fruitstrap for that until Apple fixes it). So you could write a really simple little UIAutomation test that gave your app enough time to do its performance analysis.
      • Jonathan Penn has a nice little demo project for UIAutomation and build script that could be integrated with an ‘install’ step using fruistrap to try it out on the device

    In both cases, I uses a little wrapper around libusb to give me the device ID of attached devices, so the more devices I plug into my CI machine, the more devices it runs tests on, https://github.com/sgleadow/iphone_detect

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a iOS Application developer.I need some similar tasks in many projects as example
I'm creating an application for iOS 5 and I'm drawing some gradients. The following
I'm writing iOS application. There's a server related to some real estate. I've to
I am building an iOS application for public release, and I would like to
i have ios application with xcdatamodeld, i want update some data so need a
I am currently building some application for iOS. It is actually my second application.
I have a localized iOS application in which I wish to include some localized
In my current iOS application I created a ResourceDoc folder that contains some initial
Regarding Objective-C on iOS application, I read some sample program in the Apple developer
I have written a static library to re-use some code between iOS projects, let's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.