title: Can't load my world, issue with loading architect://architect.js
body: <p>I am able to run the HelloWorld sample within the Wikitude PhoneGap Plugin package for iOS.</p>
  
  <p>However, when I carefully copy the necessary files and frameworks to my own vanilla PhoneGap project, I experience the following when trying to load the same HelloWorld world:</p>
  
  <ul>
  <li>Whenever I leave <code>&lt;script src="architect://architect.js"&gt;&lt;/script&gt;</code> in my code, the app crashes at the big Wikitude logo (right before is minimizes to the lower left corner)</li>
  <li>When I delete that line, the app does not crash but does not display Hello World.</li>
  </ul>
  
  <p>I have tried loading the ade.js, but I understand now the D stands for Desktop. I have looked for the architect.js file all over my Mac and the internet, but cannot find it. I do not understand what the difference is between the sample project and mine.</p>
  
  <p>Can anyone help me getting a world in my own project?</p>
  
  <p>(I have asked this here (<a href="http://forum.wikitude.com/home/-/message_boards/message/260302" rel="nofollow">http://forum.wikitude.com/home/-/message_boards/message/260302</a>) as well. I will post any answer I get wherever I posted the question with credit and linkback to the original answer giver)</p>
  
  <p>For completeness, this is the code from the HelloWorld world:</p>
  
  <pre><code>    &lt;!-- Include the ARchitect library --&gt;
      &lt;script src="architect://architect.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript"&gt;
         var label = null;
  
          function createLabelAtLocation(geoLocation)
          {
              label = new AR.Label("No Text", 2, {onClick : function(){
                                          document.location = 'architectsdk://labelClick?text='+label.text;
                                       }});
  
              var geoObject = new AR.GeoObject(geoLocation, {drawables: {cam: label}});
          }
  
          function setupScene()
          {
              createLabelAtLocation( new AR.RelativeLocation(null, 100, 0, 0) );
          }
  
          function didReceivedNewTextForLabel(text)
          {
              if(label)
              {
                  label.text = text;
              }
          }
  
          function clickedClose() {
              document.location = 'architectsdk://actionButton?action=close';
          }
  
          function clickedHide() {
              document.location = 'architectsdk://hideButton?status=hide';
          }
  
      &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body onload="setupScene()"&gt;
  
      &lt;!-- Button to close AR view, you may use this to hide arView and navigate back to familiar phoneGap environment --&gt;
      &lt;button title="close" onclick="clickedClose()"&gt;Close AR View&lt;/button&gt;
      &lt;button title="hide" onclick="clickedHide()"&gt;Hide AR View&lt;/button&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>