4***@qq.com
4***@qq.com
  • 发布:2023-04-09 13:19
  • 更新:2023-09-18 11:25
  • 阅读:703

#插件讨论# 【 uni-wifi - DCloud移动团队 】iso打包报错

分类:uni-app
关联插件: uni-wifi

大老,
ios运原生打包报错是什么意思呢
[HBuilder] 13:18:04.725 [plugin:uni:uts] uts compiler is not found
[HBuilder] 13:18:04.725 at uni_modules/uni-wifi:1:0
[HBuilder] 13:18:04.730 Build failed with errors.

2023-04-09 13:19 负责人:DCloud_iOS_LZY 分享
已邀请:
DCloud_iOS_LZY

DCloud_iOS_LZY

CLI版本过低,和打包机不匹配,请升级CLI,或者使用HX进行打包

DCloud_iOS_LZY

DCloud_iOS_LZY

你是采用什么样的打包方式呢?看这报错是uts编译插件没有安装,uts插件真机运行需要MAC电脑。windows电脑只能采用云打包的方式。

不凡的青石

不凡的青石

请问一下,我现在在打自定义基座,关于uni-wifi,提交云打包之后编译报错了,我是win电脑,vue-cli模式,Hbuilder X版本是3.8.7请问我该解决?

错误日志如下:

Error code = -5000
Error message:
UTS plugin uni_modules/uni-wifi compile error!

uni_modules/uni-wifi

[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:141:2: error: attribute can only be applied to types, not declarations
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:28: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:27: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:32: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:26: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:25: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:30: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:36: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:35: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:40: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:38: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:37: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:42: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:42: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:41: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:46: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:40: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:39: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:44: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:70: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:69: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:74: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:42: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:41: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:46: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:76: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:75: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:80: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:1:8: error: no such module 'DCUTSFoundation'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:115:6: error: attribute can only be applied to types, not declarations
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:141:2: error: attribute can only be applied to types, not declarations
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:28: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:27: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:213:32: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:26: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:25: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:225:30: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:238:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:36: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:35: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:249:40: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:38: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:37: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:250:42: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:42: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:41: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:251:46: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:287:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:40: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:39: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:298:44: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:70: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:69: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:299:74: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:42: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:41: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:300:46: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:76: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:75: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:301:80: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:32: error: expected initial value after '='
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:31: error: consecutive statements on a line must be separated by ';'
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:302:36: error: expected identifier in function declaration
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:317:6: error: attribute can only be applied to types, not declarations
[PackagePath]/wgtRoot/UNI7E4B5C4/uni_modules/uni-wifi/utssdk/app-ios/src/index.swift:1:8: error: no such module 'DCUTSFoundation'

要回复问题请先登录注册