You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/04/19 09:22:59 UTC

[jira] [Comment Edited] (CB-8868) ios 4.0.x cannot archive

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

Shazron Abdullah edited comment on CB-8868 at 4/19/15 7:22 AM:
---------------------------------------------------------------

The header path fix is in two areas:
1. cordova/build.xcconfig -- remove the enveloping quotes in HEADER_SEARCH_PATHS, quote each of the three terms instead
2. Move all Private headers in CordovaLib Build Phases to Project headers


was (Author: shazron):
The header path fix is in two areas:
1. cordova/build.xcconfig -- remove the enveloping quotes in HEADER_SEARCH_PATHS, quote each of the three terms instead
2. In the HEADER_SEARCH_PATHS Build Setting for the Target, add "$inherited"

> ios 4.0.x cannot archive
> ------------------------
>
>                 Key: CB-8868
>                 URL: https://issues.apache.org/jira/browse/CB-8868
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org