Note that there are some explanatory texts on larger screens.

plurals
  1. PONew PhoneGap / Cordova iOS project won't run after renaming
    primarykey
    data
    text
    <p>When you create a fresh Cordova project it's called HelloCordova, which is also the app icon name. If I rename the project in XCode it will no longer run in the iPad simulator.</p> <p><em>I am running Cordova 3 and Xcode 4.6.3 on OS X 10.8.4</em></p> <h2>Steps to reproduce</h2> <p>In terminal:</p> <ul> <li><code>cordova create Survey com.domain.mysurveyap</code></li> <li><code>cd Survey</code></li> <li><code>cordova platform add ios</code></li> <li><code>cordova build</code></li> </ul> <p>This creates the XCode project in platforms/ios/. I then open it in XCode. The project is called <code>HelloCordova</code>. I hit run with the target set to iPad 6.0 Simulator.</p> <p><code>Running HelloCordova on iPad 6.0 Simulator. No issues</code></p> <p>Good. I get the Hello World app up.</p> <hr> <p>Next I rename the project by changing the <code>Project Name</code> in the Identity panel. I'm doing this </p> <ul> <li><p>a) because I don't want my project to be called 'HelloCordova'.</p></li> <li><p>b) because the name here seems to dictate what the App Icon is labelled as on the device.</p></li> </ul> <p>I rename it to 'Survey':</p> <p><img src="https://i.stack.imgur.com/5kG6W.png" alt="enter image description here"></p> <p>Xcode prompts me to rename related project content items for me. I click 'Rename'</p> <p><img src="https://i.stack.imgur.com/nujs8.png" alt="enter image description here"></p> <p>After renaming, I go to run in the simulator again. Now it won't run. I see a 'Build succeeded' overlay for a moment. But in the status panel at the top it says:</p> <p><code>Finished running Survey.app on iPad 6.0 Simulator. No issues.</code></p> <p><img src="https://i.stack.imgur.com/UTCiD.png" alt="enter image description here"></p> <p>I notice that it still shows 'HelloCordova' in the scheme selector. I have tried running 'Clean' and also restarting XCode.</p> <p>This is a completely fresh PhoneGap project with no modifications. Any ideas where I'm going wrong?</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.
 

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