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 1061927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:32:48+00:00 2026-05-16T18:32:48+00:00

The title say’s almost all. What I have is short lived server processes that

  • 0

The title say’s almost all. What I have is short lived server processes that serves a web-based javascript test suite with optionally accompanying back-ends for integration tests (see here for how it’s done). I’m looking for a better way to direct the iPhone Emulator’s Safari to the URL given.

More, possibly optional background:

Up until iOS SDK 4.0 I’ve managed to control XCode using AppleScript to start a specially prepared PhoneGap project in this fashion:

  1. AppleScript (referred to as “AS”) starts XCode (referred to as “XC”)
  2. AS instructs XC to load the previously set up PhoneGap project.
  3. AS instructs XC to launch the PhonePap project.
  4. The PhoneGap project will redirect to the server serving the test suite, and the test suite runs.

In iOS 4.0 SDK, this only works the first round, the next time the test suite runner tries to make XC do the above routine, it fails requesting the previous run to be stopped. And I can’t for the life of me find a way to stop the debugging session with AS [1], so I can only run one test suite without manual intervention, witch is pretty much a show stopper for us since we rely a lot on nightly test runs.

Now, what I really want to do is just start the iPhone Emulator, and then start Safari on the emulator with the possibility of sending an arbitrary URL to the emulated Safari.

What I’ve found so far is iphonesim, but I’m running into this issue and can’t get it to properly start pre-compiled apps. A way to circumvent this issue in iphonesim would also be a good way forward.

[1] I’d accept a way to do this as a valid answer too.

  • 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-05-16T18:32:49+00:00Added an answer on May 16, 2026 at 6:32 pm

    I have a very different solution for you.

    Write a custom iPhone app that just contains a web view. It will behave pretty much the same as MobileSafari. Then, embed a little web server in the app.

    You can then control your app by calling specific urls on that server.

    This is a very simple app. Will take you 30 minutes to put together.

    This is easily integrated in Xcode or a bigger (Apple) script. You can use commands like curl to open URLs.

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

Sidebar

Related Questions

Well, the title say it all. I have a ruby script I want running
The title should say it all, then I can solidify 2 more ticks on
Let's say I have the following model: class Contest: title = models.CharField( max_length =
Let's say I have a table tbl with columns id and title . I
Let's say I have some code like this: <html> <head><title>Title</title></head> <body> <?php if (!$someCondition){
Let's say I have some XML like this <channel> <item> <title>This is title 1</title>
the question is that the title say! who can tell me how do this
The title should say it all... EDIT : Apparently the title didn't say it
Basicaly the title say's it all. i had an hidden input on my page
Lets say I have the following array: Array ( [1284487200] => Array ( [title]

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.