You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marko Asplund (JIRA)" <ji...@apache.org> on 2014/08/20 21:14:26 UTC

[jira] [Commented] (CB-7346) Build fails after installing InAppBrowser plugin

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

Marko Asplund commented on CB-7346:
-----------------------------------

here's a longer extract of the build errors:

...
clang: error: no such file or directory: '/me/myproject/platforms/ios/myprj/Plugins/org.apache.cordova.inappbrowser/CDVInAppBrowser.m'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/clang failed with exit code 1

2014-08-20 21:59:57.244 xcodebuild[79539:3703]  DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5069/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/Compilers/XCGccMakefileDependencies.m:76
Details:  Failed to load dependencies output contents from ``/me/myproject/platforms/ios/build/myprj.build/Debug-iphonesimulator/myprj.build/Objects-normal/i386/CDVInAppBrowser.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “CDVInAppBrowser.d” couldn’t be opened because there is no such file." UserInfo=0x7ff65ed81cf0 {NSFilePath=/me/myproject/platforms/ios/build/myprj.build/Debug-iphonesimulator/myprj.build/Objects-normal/i386/CDVInAppBrowser.d, NSUnderlyingError=0x7ff65ed19730 "The operation couldn’t be completed. No such file or directory"}. User info: {
    NSFilePath = "/me/myproject/platforms/ios/build/myprj.build/Debug-iphonesimulator/myprj.build/Objects-normal/i386/CDVInAppBrowser.d";
    NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread:   <NSThread: 0x7ff65eae24f0>{name = (null), num = 6}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **


The following build commands failed:
	CompileC build/myprj.build/Debug-iphonesimulator/myprj.build/Objects-normal/i386/CDVInAppBrowser.o myprj/Plugins/org.apache.cordova.inappbrowser/CDVInAppBrowser.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: /me/myproject/platforms/ios/cordova/run: Command failed with exit code 65
    at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Process.ChildProcess._handle.onexit (child_process.js:810:5)

> Build fails after installing InAppBrowser plugin
> ------------------------------------------------
>
>                 Key: CB-7346
>                 URL: https://issues.apache.org/jira/browse/CB-7346
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.5.0
>         Environment: Mac OS X 10.8.5, Xcode 5.1.1, InAppBrowser 0.5.1
>            Reporter: Marko Asplund
>
> Running my Cordova app in the emulator fails due to build failures after installing the plugin. everything works before installing the plugin and the problem gets fixed after uninstalling it.
> $ cordova plugin add org.apache.cordova.inappbrowser
> $ cordova plugin ls
> org.apache.cordova.globalization 0.2.7 "Globalization"
> org.apache.cordova.inappbrowser 0.5.1 "InAppBrowser"
> $ cordova emulate iOS
> ...
> The following build commands failed:
> 	CompileC build/myprj.build/Debug-iphonesimulator/myprj.build/Objects-normal/i386/CDVInAppBrowser.o myprj/Plugins/org.apache.cordova.inappbrowser/CDVInAppBrowser.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> Error: /me/myproject/platforms/ios/cordova/run: Command failed with exit code 65
>     at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:743:16)
>     at Process.ChildProcess._handle.onexit (child_process.js:810:5)



--
This message was sent by Atlassian JIRA
(v6.2#6252)