打算写一个蓝牙插件,在做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

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

