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 2014/01/24 02:44:38 UTC

[jira] [Resolved] (CB-5530) [iOS] Cordova build failed if add CDVDebug.h to HelloCordova-Prefix.pch

     [ https://issues.apache.org/jira/browse/CB-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-5530.
----------------------------------

    Resolution: Won't Fix

The fix is more of a feature suggestion (please file a new issue). Since changing this file is rare for CLI users, the workaround of running the script "platforms/ios/cordova/clean" is fine.

> [iOS] Cordova build failed if add CDVDebug.h to HelloCordova-Prefix.pch
> -----------------------------------------------------------------------
>
>                 Key: CB-5530
>                 URL: https://issues.apache.org/jira/browse/CB-5530
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, iOS
>    Affects Versions: 3.2.0
>         Environment: cordova version: 3.1.0-0.2.0
>            Reporter: glmnbeyond
>
> 1. Add CDVDebug.h to HelloCordova-Prefix.pch:
> #ifdef __OBJC__
>     #import <Foundation/Foundation.h>
>     #import <UIKit/UIKit.h>
>     #import <Cordova/CDVDebug.h>
> #endif
> 2. $ cordova build --verbose
> The first time: ** BUILD SUCCEEDED **
> The second time and afterward:
> fatal error: file 'CDVDebug.h' has been modified since the precompiled header 'HelloCordova-Prefix.pch.pch' was built



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)