Framework did not have a CFBundleIdentifier in its Info.plist
<p>I was having issues with my Bridge.h imports finding their intended targets after a cocoapods install and run.</p>

<p>I had:</p>

<pre><code>#import &lt;TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h&gt;
#import &lt;DateTools/DateTools.h&gt;
</code></pre>

<p>But it didnt work because my Headers folder was empty, so I copied those two folder into the Headers folder and hardcoded the path:</p>

<pre><code>#import &lt;/Users/username/Documents/new_ios/ios-app/Pods/Headers/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h&gt;
#import &lt;/Users/username/Documents/new_ios/ios-app/Pods/Headers/DateTools/DateTools.h&gt;
</code></pre>

<p>This worked and the app built but when I ran it it gave this error: <code>The operation couldn’t be completed. (LaunchServicesError error 0.)</code></p>

<p>Here is the console output: </p>

<pre><code>6/2/16 4:41:24.961 PM uploadDSYM[3519]: Fabric.framework/run 1.4.0
6/2/16 4:41:24.981 PM uploadDSYM[3521]: Fabric.framework/run 1.4.0
6/2/16 4:41:25.011 PM appleeventsd[51]: SecTaskLoadEntitlements failed error=22
6/2/16 4:41:25.019 PM sharedfilelistd[251]: SecTaskLoadEntitlements failed error=22
6/2/16 4:41:25.093 PM Fabric[257]: Bundle indentifier is of type (null), returning empty string.
6/2/16 4:41:25.752 PM com.apple.CoreSimulator.CoreSimulatorService[331]: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=MissingBundleIdentifier, ErrorDescription=Bundle at path /Users/username/Library/Developer/CoreSimulator/Devices/#####-####-####-####-##########/data/Library/Caches/com.apple.mobile.installd.staging/temp.16rUWf/extracted/AppName.app/Frameworks/TPKeyboardAvoiding.framework did not have a CFBundleIdentifier in its Info.plist}
</code></pre>

<p>The initiall error that I have looks alot like this stuff: <a href="https://stackoverflow.com/questions/25889189/unable-to-run-app-in-simulator-an-error-was-encountered-while-running-domain">Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)</a> I tried all the clean builds and the reboots suggested but none worked. Also all the sharekit solutions also did not work because I do not have sharekit.</p>

<p><strong>EDIT 1</strong></p>

<p>My guess is this: <code>Frameworks/TPKeyboardAvoiding.framework did not have a CFBundleIdentifier in its Info.plist}</code> is the real problem and I need to change my info.plist file to find TPKeyboardAvoiding</p>

<p><strong>EDIT 2</strong></p>

<p>My info.plist:</p>

<p><a href="https://i.stack.imgur.com/aSlE7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aSlE7.png" alt="enter image description here"></a></p>

<p><strong>EDIT 3</strong></p>

<p>This question is a problem that arose after I tried to workaround the problem which I ran into before which is described in this question: <a href="https://stackoverflow.com/questions/37581039/empty-pod-headers-folder-after-pod-install">Empty Pod Headers Folder after `pod install`</a></p>