Ion build error of Cordova INAppBrowser

I have added the Cordova Inappbrowser plugin to my blank Ionic project, but when I try to build or simulate the project, I get a nasty build error:

2014-08-20 01:41:39.181 xcodebuild[95617:3d23] 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 ``/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb-test.build /Debug-iphonesimulator/fb-test.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=0x7f94945e9260 {NSFilePath=/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb-test.build/Debug-iphonesimulator/fb-test.build/Objects-normal/i386/ CDVInAppBrowser.d, NSUnderlyingError=0x7f9494731fc0 "The operation couldn't be completed. N o such file or directory"}. User info: {
NSFilePath = "/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb-test.build/Debug-iphonesimulator/fb- test.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: {name = (null), num = 7}
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/fb-test.build/Debug-iphonesimulator/fb-test.build/Objects-normal/i386/CDVInAppBrowser.o fb-test/Plugins/org.apache. cordova.inappbrowser/CDVInAppBrowser.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler(1 failure)
Error: /Users/johndoe/Coding/temp/fb-test/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:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:755:16)
at Process.ChildProcess._handle.onexit (child_process.js:822:5)

Does my Xcode (beta2) version need to be updated? Or is there an error in inappbrowser?

This works for me.
First update ios-sim: npm install ios-sim.
Then create a folder named org.apache.cordova.inappbrowser in platforms/ios/yourAppName/Plugins.
Then go to plugins/org.apache.cordova.inappbrowser/src/ios folder and Copy the CDVInAppBrowser.h and CDVInAppBrowser.m files to the folder you created earlier (platforms/ios/yourAppName/Plugins/org.apache.cordova.inappbrowser).

This is after installing inappbroswer The entire contents of: $cordova plugins add org.apache.cordova.inappbrowser

For more information, please refer to https://www.firebase.com/blog/2014-07-25-ionic-simple- login.html. If you try to install other plugins, follow the same steps. For some reason, the .h and .m files are not generated in the platforms/ios/… files.

p>

I have added the Cordova Inappbrowser plugin to my blank Ionic project, but when I try to build or simulate the project, I get a nasty build error:

2014-08-20 01:41:39.181 xcodebuild[95617:3d23] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-5069/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/SpecificationTypes/BuiltInSpecifications/CompiltInSpecifications/ XC GccMakefileDependencies.m:76
Details: Failed to load dependencies output contents from ``/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb-test.build/Debug-iphonesimulator/fb -test.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=0x7f94945e9260 {NSFilePath=/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb-test.build/Debug-iphonesimulator/fb-test.build/Objects-normal/i386/CDVInAppBrowser.d, NSUnderlyingError= 0x7f9494731fc0 "The operation couldn't be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/johndoe/Coding/temp/fb-test/platforms/ios/build/fb- test.build/Debug-iphonesimulator/fb-test.build/Objects-normal/i386/CDVInAppBrowser.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: voi d XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, void (^__strong)(NSString *__strong))
Thread: {name = (null), num = 7}
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/fb-test.build/Debug-iphonesimulator/fb-test.build/Objects-normal/i386/CDVInAppBrowser.o fb-test/Plugins/org.apache.cordova.inappbrowser/CDVInAppBrowser.m normal i386 objective -c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: /Users/johndoe/Coding/temp/fb-test/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:135:23)
at ChildProcess .emit (events.js:98:17)
at maybeClose (child_process.js:755:16)
at Process.ChildPro cess._handle.onexit (child_process.js:822:5)

Does my Xcode (beta2) version need to be updated? Or is there an error in inappbrowser?

This works for me.
First update ios-sim: npm install ios-sim.
Then go to platforms / ios / yourAppName / Plugins Create a folder named org.apache.cordova.inappbrowser in .
Then go to the plugins/org.apache.cordova.inappbrowser/src/ios folder and copy the CDVInAppBrowser.h and CDVInAppBrowser.m files to you The folder created before (platforms / ios / yourAppName / Plugins / org.apache.cordova.inappbrowser ).

This is the entire content after installing inappbroswer: $cordova plugins add org.apache. cordova.inappbrowser

For more information, please refer to https://www.firebase.com/blog/2014-07-25-ionic-simple-login.html. If you try to install other plugins, please Perform the same steps. For some reason, the .h and .m files are not generated in the platforms/ios/… files.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3716 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.