[ 
https://issues.apache.org/jira/browse/CB-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498548#comment-14498548
 ] 

Winston commented on CB-8868:
-----------------------------

The problem seems to be in platforms/ios/cordova/build.xcconfig. This line has 
quotes around it which causes XCode to treat it as one pathname instead of 
three:

HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include 
$(OBJROOT)/UninstalledProducts/include $(BUILT_PRODUCTS_DIR)"

replacing it with this fixes the problem:

HEADER_SEARCH_PATHS = $(TARGET_BUILD_DIR)/usr/local/lib/include 
$(OBJROOT)/UninstalledProducts/include $(BUILT_PRODUCTS_DIR)


> ios 4.0.x cannot archive
> ------------------------
>
>                 Key: CB-8868
>                 URL: https://issues.apache.org/jira/browse/CB-8868
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>            Reporter: Winston
>
> The current (16 April 2015) version of the ios platform on brach 4.0.x is 
> unable to archive the project. If I create an empty project, open XCode, and 
> run the project on my iPad it works fine. When I try to archive it for 
> distribution, it gives the error below. Presumably it's some problem of 
> include paths. At first I thought it might be a the release settings since 
> Archive uses release, but if you change your XCode Scheme to use debug 
> settings for Archive, you still get that error.
> ```
> In file included from 
> /Users/winstonwolff/steveandkate/cordova-test/cordova_test/platforms/ios/CordovaTest/Classes/AppDelegate.m:28:
> /Users/winstonwolff/steveandkate/cordova-test/cordova_test/platforms/ios/CordovaTest/Classes/AppDelegate.h:28:9:
>  fatal error: 'Cordova/CDVViewController.h' file not found
> #import <Cordova/CDVViewController.h>
>         ^
> 1 error generated.
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to