cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glmnbeyond (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5530) [iOS] Cordova build failed if add CDVDebug.h to HelloCordova-Prefix.pch
Date Tue, 03 Dec 2013 08:57:35 GMT

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

glmnbeyond commented on CB-5530:
--------------------------------

if I modify cordova/build as follows:

xcodebuild {color:red}clean{color} -xcconfig "$CORDOVA_PATH/build.xcconfig" -project "$PROJECT_NAME.xcodeproj"
ARCHS="armv7 armv7s" -target "$PROJECT_NAME" -configuration $CONFIGURATION -sdk iphoneos build
VALID_ARCHS="armv7 armv7s" CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build/device"
xcodebuild {color:red}clean{color} -project "$PROJECT_NAME.xcodeproj" -arch i386 -target "$PROJECT_NAME"
-configuration $CONFIGURATION -sdk iphonesimulator build VALID_ARCHS="i386" CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build/emulator"

> [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#6144)

Mime
View raw message