如何在ios中调试nativescript应用程序的生成失败?

如何在ios中调试nativescript应用程序的生成失败?,ios,nativescript,nativescript-vue,Ios,Nativescript,Nativescript Vue,我只是运行tns运行ios-emulator,我得到了以下结果: /Users/me/Desktop/proj/projfront/App/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m:87:34: error: no known class method for selector 'labelColor' _contentColor = [[UIColor labelColor] colorWithAlphaComp

我只是运行tns运行ios-emulator,我得到了以下结果:

/Users/me/Desktop/proj/projfront/App/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m:87:34: error: no known class method for selector
      'labelColor'
       _contentColor = [[UIColor labelColor] colorWithAlphaComponent:0.7f];
                                 ^~~~
/Users/me/Desktop/proj/projfront/App/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m:378:101: error: use of undeclared identifier
      'UIActivityIndicatorViewStyleLarge'
                activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleLarge];
                                                                                                    ^
/Users/me/Desktop/proj/projfront/App/platforms/ios/Pods/MBProgressHUD/MBProgressHUD.m:1065:32: error: use of undeclared identifier
      'UIBlurEffectStyleSystemThickMaterial'
            _blurEffectStyle = UIBlurEffectStyleSystemThickMaterial;
                               ^
3 errors generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
* BUILD FAILED *

Unable to apply changes on device: 96EBA70E-38D5-4C6A-B30B-21BECF697C9C. Error is: Command xcodebuild failed with exit code 65.
我不知道如何调试这个。它在Android上构建得很好。 这是我的package.json:


labelColor是iOS 13引入的一个新属性。您需要XCode 11为iOS 13.x及更高版本构建。也就是说,其中一个插件带来了一个名为MBProgressHUD的pod。该pod正在使用最新的iOS API。但您的构建很可能失败,因为它是使用XCode 10.x或更低版本构建的。要解决此问题,请尝试使用XCode 11以及最新的tns ios 6.3.x及以上版本+最新的tns核心模块进行构建。

Wild guess-像UIBlurEffectStyleSystemThickMaterial这样的东西只在最新的ios上可用,如果您的目标低于此值,则将失败。您能否确认您的{N}运行时版本和您正在使用的插件名称?✔ 组件nativescript的版本为6.3.3,并且是最新的。✔ 组件tns核心模块有6.3.2版本,并且是最新版本。因此,如果我坚持使用此插件,IOS版本低于13的用户将无法使用我的应用程序?我如何判断哪个插件正在使用它?只需搜索MBProgressHUD-@nstudio/nativescript加载指示器,您是否也可以回答我的第一条评论?我有同样的问题,但我没有回答我使用sidekick云构建,我有xcode 11。我能做什么?
{
  "nativescript": {
    "templateVersion": "v2",
    "tns-android": {
      "version": "6.0.0"
    },
    "tns-ios": {
      "version": "6.0.1"
    }
  },
  "dependencies": {
    "@nativescript/theme": "^2.2.1",
    "@nstudio/nativescript-cardview": "^1.0.0",
    "@nstudio/nativescript-checkbox": "^1.0.0",
    "@nstudio/nativescript-floatingactionbutton": "^2.0.0",
    "@nstudio/nativescript-loading-indicator": "^3.0.1",
    "axios": "^0.19.2",
    "nativescript-exoplayer": "^4.0.2",
    "nativescript-iqkeyboardmanager": "^1.5.1",
    "nativescript-masked-text-field": "^4.0.3",
    "nativescript-plugin-firebase": "^10.3.3",
    "nativescript-social-share": "^1.6.0",
    "nativescript-ui-autocomplete": "^6.0.0",
    "nativescript-vue": "^2.4.0",
    "tns-core-modules": "^6.0.0",
    "vuex": "^3.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "babel-loader": "^8.0.2",
    "nativescript-dev-webpack": "^1.0.0",
    "nativescript-vue-template-compiler": "^2.0.0",
    "nativescript-worker-loader": "~0.9.0",
    "node-sass": "^4.9.2",
    "vue-loader": "^15.4.0"
  }
}