Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The problem seems to have been that I was using <a href="http://code.google.com/p/json-framework/" rel="nofollow noreferrer">json-framework</a> in my app, and including it as an additional SDK per <a href="http://code.google.com/p/json-framework/wiki/InstallationInstructions#Option_2:_Use_the_iPhone_Custom_SDK" rel="nofollow noreferrer">the instructions in the wiki</a>. My guess is that XCode got confused by the presence of >1 SDK, and thus couldn't find the default ResourceRules.plist like it's supposed to.</p> <p>I found two solutions (well, workarounds, anyway):</p> <ol> <li>Use the "Code Signing Resource Rules Path" build setting (which is blank by default) to specify the path to the file XCode should use: <code>$(SDKROOT)/ResourceRules.plist</code>. This works, and <em>seems</em> reasonably harmless, but is frustrating in the sense that XCode should be able to figure this out on its own. (I found this solution in a <a href="http://code.google.com/p/json-framework/issues/detail?id=18" rel="nofollow noreferrer">very old issue</a> filed on json-framework.)</li> <li>Don't use the SDK approach. Instead, just include the files directly into the project, and update the <code>#import</code> statements with local paths. This is the approach I ended up taking, since we made a general decision to fold all of the external dependencies into the project itself (so that other developers have less configuration to do on their machines to get up and running).</li> </ol> <p>I'm not sure whether this is a bug in XCode, or something wrong with json-framework but I've <a href="http://code.google.com/p/json-framework/issues/detail?id=58" rel="nofollow noreferrer">filed an issue</a> on the latter just in case.</p> <p><strong>UPDATE, 30 June 2010:</strong> the issue I filed has been closed, and Mr. Brautaset plans to remove support for the SDK option in the next release (2.3) of the project. Also, the <a href="http://github.com/stig/json-framework" rel="nofollow noreferrer">code now lives on GitHub</a>, though the Google Code pages still exist for now.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload