Re: Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Chris Hanson
You're thinking of otool, not otest. OCUnit's otest does load bundles, but it doesn't open (say) ARM bundles on Intel-based Macs. You can't load a bundle for one platform on another. They're different platforms... -- Chris On May 5, 2010, at 1:10 PM, Bill Bumgarner wrote: On May 4, 2

Re: Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Bill Bumgarner
On May 5, 2010, at 1:13 PM, Kyle Sluder wrote: > It tests the code that was built for the simulator. See here for more > information:http://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/135-Unit_Testing_Applications/unit_testing_applications.html What Kyle

Re: Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Kyle Sluder
On Tue, May 4, 2010 at 11:26 PM, Csaba Trucza wrote: > I want to examine the classes in a bundle built for iPhone in a desktop > application. You can't. You would be trying to load ARM code into an Intel process. > As far as I know the otest unit testing application runs as a command line > tool

Re: Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Bill Bumgarner
On May 4, 2010, at 11:26 PM, Csaba Trucza wrote: > As far as I know the otest unit testing application runs as a command line > tool (so I assume it is a Mac OS X application) and somehow manages to load > the iPhone bundles. > > Any ideas? otest doesn't load the bundle at all. It examines the

Loading iPhone bundle in Mac OS X application

2010-05-05 Thread Csaba Trucza
Hello, I want to examine the classes in a bundle built for iPhone in a desktop application. Right now I am stuck at loading the iPhone bundle in the Mac OS X application. I tried loading with NSBundle load, but it complains of incompatible architectures. As far as I know the otest unit testing app