如何解决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 举报,一经查实,本站将立刻删除。