iPad crashing when linking with CoreVideo or CoreMedia
<p>I have an application that runs fine on the simulator.</p>

<p>When trying to run on the actual iPhone, I get link errors that require the CoreVideo and CoreMedia frameworks - and then the application runs fine on the iPhone hardware and the iPhone simulator.</p>

<p>Unfortunately, as soon as I do that, the application crashes on the iPad simulator (and according to some report - on the iPad hardware too) - until I REMOVE the CoreMedia and CoreVideo frameworks... But then again it doesn't link for the iPhone hardware.</p>

<p>Catch 22...</p>

<p>I searched the internet high-and-low, but found no answer.
I tried weak-linking to these frameworks, but is still didn't help - the iPad simulator crashes like mad...</p>

<p>Is there maybe a way to add a framework to a specific application?</p>

<p><b> EDIT </b><br/>
Based on Michal's comment, here's some more information.<br/>
1. I need these libraries for the h/w, in order to successfully link with the ZXing QR code scanning widget.<br/>
2. The iPad version of my software crashes as soon as it launches with the following error:
<br/><br/><b>Attaching to process 73137.
dyld: Library not loaded: /System/Library/Frameworks/CoreMedia.framework/CoreMedia
  Referenced from: /Users/admin/Library/Application Support/iPhone Simulator/3.2/Applications/CF1E8FD0-3E84-495F-B2CB-3A2BF5F1F916/myappname.app/myappname
 <br/> Reason: image not found </b></p>

<p><br/><b> EDIT </b></p>

<p>Thanks,</p>
