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:76Details: 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: voID XCGccMakefileDependencIEsParsePathsFromrulefile(Nsstring *__strong,voID (^__strong)(Nsstring *__strong))Thread: <NSThread: 0x7f94945e92a0>{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)
我的Xcode(beta2)版本是否需要更新?或者是否存在inappbrowser的错误?
解决方法 这对我有用.首先更新ios-sim:npm install ios-sim.
然后在platforms / ios / yourAppname / Plugins中创建一个名为org.apache.cordova.inappbrowser的文件夹.
然后转到plugins / org.apache.cordova.inappbrowser / src / ios文件夹并将CDVInAppbrowser.h和CDVInAppbrowser.m文件复制到您之前创建的文件夹(platforms / ios / yourAppname / Plugins / org.apache.cordova.inappbrowser ).
这是安装inappbroswer后的全部内容:$cordova plugins add org.apache.cordova.inappbrowser
有关详细信息,请参阅https://www.firebase.com/blog/2014-07-25-ionic-simple-login.html.如果您尝试安装其他插件,请执行相同的步骤.由于某种原因,.h和.m文件不是在platforms / ios / …文件中生成的.
总结以上是内存溢出为你收集整理的Cordova Inappbrowser的离子构建错误全部内容,希望文章能够帮你解决Cordova Inappbrowser的离子构建错误所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)