大老,
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
- 更新:2023-09-18 11:25
- 阅读:703
请问一下,我现在在打自定义基座,关于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'
不凡的青石
谢谢,已解决
2023-09-19 11:26