[ https://issues.apache.org/jira/browse/CB-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437196#comment-13437196 ]
Shazron Abdullah edited comment on CB-1122 at 9/8/12 1:50 PM: -------------------------------------------------------------- I'm writing a diagnostic+test tool to figure this issue out. I've tested a new project on a clean system, with a new user - and they build ok, including Archive, so I'm perplexed at this problem. The tool (most likely a shell script or py/rb script) will check an Xcode project: # Check and print the HEADER_SEARCH_PATHS setting (3 lines, I will expand on this later) # Check and print the VERSION of CordovaLib that is referenced (should be at least 2.0.0) # Check and print the PUBLIC_HEADERS_FOLDER_PATH build setting of CordovaLib (which should be "include/Cordova") # Check and print the CORDOVALIB setting # Check and print the "Xcode Preferences -> Locations -> Derived Data -> Advanced... -> Build Location" setting (should be "Unique") # Instruction to run "cordova/debug" on their project (sometimes this builds properly on the command line while in Xcode GUI it fails) These are the pre-requisites for a successful build. The tool will be called in the Makefile in the default target as a sanity check (creating a test project). was (Author: shazron): I'm writing a diagnostic+test tool to figure this issue out. I've tested a new project on a clean system, with a new user - and they build ok, including Archive, so I'm perplexed at this problem. The tool (most likely a shell script or py/rb script) will check an Xcode project: # Check and print the HEADER_PATHS setting (3 lines, I will expand on this later) # Check and print the VERSION of CordovaLib that is referenced (should be at least 2.0.0) # Check and print the PUBLIC_HEADERS_FOLDER_PATH build setting of CordovaLib (which should be "include/Cordova") # Check and print the CORDOVALIB setting # Check and print the "Xcode Preferences -> Locations -> Derived Data -> Advanced... -> Build Location" setting (should be "Unique") # Instruction to run "cordova/debug" on their project (sometimes this builds properly on the command line while in Xcode GUI it fails) These are the pre-requisites for a successful build. The tool will be called in the Makefile in the default target as a sanity check (creating a test project). > Compile errors when building for Archive > ---------------------------------------- > > Key: CB-1122 > URL: https://issues.apache.org/jira/browse/CB-1122 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.0.0 > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Fix For: 2.1.0 > > Attachments: header.png > > > On Tue, Jul 24, 2012 at 4:45 PM, Michael McCabe <michaelmcca...@gmail.com> > wrote: > > I'm having the same problem. I tried installing Cordova-2.0.0.pkg before > > running the create script and am still getting the errors of missing > > CDVViewController.h (in AppDelegate.h and MainViewController.h) only when > > archiving. > > > > Has anyone gotten the build to work after installing the pkg? I'm running > > XCode 4.2, mac-os 10.6.8 and ios sdk 5.0, btw. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira