s***@163.com
s***@163.com
  • 发布:2025-07-28 09:33
  • 更新:2025-07-29 11:10
  • 阅读:216

UTS原生插件如何使用IOS原生API

分类:uni-app x

打算写一个蓝牙插件,在做IOS部分的时候导入蓝牙模块出现问题,使用import { CBCentralManager } from "CoreBluetooth";出现问题
Rollup failed to resolve import "CoreBluetooth" from "D:/install/uniappProject/toyball/uni_modules/sckd-bleAdapter/utssdk/app-ios/openBluetoothAdapter/index.uts".
09:24:50.581 This is most likely unintended because it can break your application at runtime.
09:24:50.581 If you do want to externalize this module explicitly add it to
09:24:50.581 build.rollupOptions.external

2025-07-28 09:33 负责人:无 分享
已邀请:
DCloud_UNI_OttoJi

DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信

要回复问题请先登录注册