3

Is there a way for xcode to launch an application with an app URL?

I've read the answer to this question Debugging App When Launched by Push Notification, and it works great for single tests.

I'm trying to write unit tests for launching the app with lots of different URLs, and using the previous method will be pretty hard to automate.

Any ideas?

Community
  • 1
  • 1
DougW
  • 28,776
  • 18
  • 79
  • 107

1 Answers1

3

Search the docs for "shell script build phase".

NSResponder
  • 16,861
  • 7
  • 32
  • 46
  • Slightly overkill for my immediate needs, but we're planning on implementing an automated build process for iphone anyway, so what better time than the present I suppose. Thanks for the tip. For anyone who doesn't want to search the docs, here's the current link http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/200-Build_Phases/bs_build_phases.html – DougW Jan 05 '10 at 18:55