Ionic Build在错误65 CompileC CDVThemeableBrowser上失败

问题描述

立即尝试为Apple构建一个陈旧的应用程序,并且始终在错误代码65上失败

The following build commands failed:
    CompileC /Users/techdev/Library/Developer/Xcode/DerivedData/Basketball_Löwen-datcmpaaxtmdqeecljjfilollhtp/Build/Intermediates.noindex/ArchiveIntermediates/Basketball\ Löwen/IntermediateBuildFilesPath/Basketball\ Löwen.build/Debug-iphoneos/Basketball\ Löwen.build/Objects-normal/arm64/CDVThemeableBrowser.o /Users/techdev/Documents/Projects/basketball-loewen-app/platforms/ios/Basketball\ Löwen/Plugins/cordova-plugin-themeablebrowser/CDVThemeableBrowser.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Command finished with error code 65: xcodebuild -workspace,Basketball Löwen.xcworkspace,-scheme,Basketball Löwen,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,Basketball Löwen.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/techdev/Documents/Projects/basketball-loewen-app/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/techdev/Documents/Projects/basketball-loewen-app/platforms/ios/build/sharedpch
xcodebuild: Command failed with exit code 65
Error: xcodebuild: Command failed with exit code 65
    at ChildProcess.whenDone (/Users/techdev/Documents/Projects/basketball-loewen-app/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:136:25)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
[ERROR] An error occurred while running subprocess cordova.
        
        cordova build ios --verbose exited with exit code 65.

我尝试过:

  • 删除平台并读取该平台,然后删除并读取该插件。
  • 在xcode中的标头搜索路径中添加“ $ {PODS_ROOT} / Headers / Public / nanopb”
  • 已检查的构建阶段-编译文件的路径(在该文件中以及在查找器中)
  • 设置所有文件的权限

在XCode中运行版本时,出现此错误:

'Cordova/CDVUIWebViewDelegate.h' file not found

运行以下命令的我的package.json:

{
  "name": "basketball-loewen-app","version": "0.0.1","author": "Ionic Framework","homepage": "http://ionicframework.com/","private": true,"scripts": {
    "start": "ionic-app-scripts serve","clean": "ionic-app-scripts clean","build": "ionic-app-scripts build","lint": "ionic-app-scripts lint"
  },"dependencies": {
    "@angular/animations": "5.2.11","@angular/common": "5.2.11","@angular/compiler": "5.2.11","@angular/compiler-cli": "5.2.11","@angular/core": "5.2.11","@angular/forms": "5.2.11","@angular/http": "5.2.11","@angular/platform-browser": "5.2.11","@angular/platform-browser-dynamic": "5.2.11","@ionic-native/core": "~4.17.0","@ionic-native/file": "^4.19.0","@ionic-native/in-app-browser": "^4.19.0","@ionic-native/launch-navigator": "^4.19.0","@ionic-native/native-page-transitions": "^4.19.0","@ionic-native/push": "^4.19.0","@ionic-native/splash-screen": "~4.17.0","@ionic-native/status-bar": "^4.19.0","@ionic-native/themeable-browser": "^4.19.0","@ionic/storage": "2.2.0","com.telerik.plugins.nativepagetransitions": "0.6.5","cordova-android": "^8.1.0","cordova-browser": "5.0.4","cordova-ios": "6.1.1","cordova-plugin-actionsheet": "2.3.3","cordova-plugin-device": "^2.0.2","cordova-plugin-dialogs": "2.0.1","cordova-plugin-file": "6.0.1","cordova-plugin-ionic-keyboard": "^2.1.3","cordova-plugin-splashscreen": "^5.0.2","cordova-plugin-statusbar": "^2.4.2","cordova-plugin-whitelist": "^1.3.3","cordova-support-google-services": "1.1.0","ionic-angular": "3.9.2","ionic-image-loader": "^6.3.2","ionicons": "3.0.0","phonegap-plugin-multidex": "1.0.0","phonegap-plugin-push": "2.2.3","rxjs": "5.5.11","sw-toolbox": "3.6.0","uk.co.workingedge.phonegap.plugin.launchnavigator": "4.2.2","zone.js": "0.8.26"
  },"devDependencies": {
    "@ionic/app-scripts": "3.2.1","cordova-plugin-inappbrowser": "^4.0.0","cordova-plugin-ionic-webview": "^5.0.0","typescript": "~2.6.2"
  },"description": "An Ionic project","cordova": {
    "plugins": {
      "cordova-plugin-whitelist": {},"cordova-plugin-statusbar": {},"cordova-plugin-device": {},"cordova-plugin-splashscreen": {},"cordova-plugin-ionic-keyboard": {},"uk.co.workingedge.phonegap.plugin.launchnavigator": {
        "OKHTTP_VERSION": "3.+","LOCATION_USAGE_DESCRIPTION": "This app requires access to your location for navigation purposes"
      },"cordova-plugin-file": {},"phonegap-plugin-push": {
        "ANDROID_SUPPORT_V13_VERSION": "27.+","FCM_VERSION": "11.6.2","SENDER_ID": "680449200681"
      },"com.telerik.plugins.nativepagetransitions": {},"cordova-plugin-themeablebrowser": {},"cordova-plugin-inappbrowser": {},"cordova-plugin-ionic-webview": {}
    },"platforms": [
      "browser","android","ios"
    ]
  }
}

现在,这个问题困扰了几个小时... Android Build完全没有问题。只是iO不合规。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...