arcticfox1919 / flutter-scankit

Flutter QR code scanning
MIT License
142 stars 46 forks source link

Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore #41

Closed L-X-J closed 1 year ago

L-X-J commented 1 year ago

构建ios-framework报错

执行命令:flutter build ios-framework --release --output=xwifi-ios-framework

输出日志

Unable to build plugin frameworks for simulator: 2022-06-23 17:23:40.446 xcodebuild[74220:13798814] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-23 17:23:40.449 xcodebuild[74220:13798814] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **

The following build commands failed:
        Ld /Users/chenxinlei/BehemothCloud-Projects/x_wifi_flutter/xwifi-ios-framework/Debug/iphonesimulator/Debug-iphonesimulator/flutter_scankit/flutter_scankit.framework/flutter_scankit normal (in target 'flutter_scankit' from project
        'Pods')
(1 failure)

flutter 版本

Flutter 3.0.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision cd41fdd495 (2 weeks ago) • 2022-06-08 09:52:13 -0700
Engine • revision f15f824b57
Tools • Dart 2.17.3 • DevTools 2.12.2
L-X-J commented 1 year ago

直接运行 flutter run 是可以成功运行的,但是运行flutter build ios-framework --output=xwifi-ios-framework,就报错

arcticfox1919 commented 1 year ago

Scan Kit这个库是不支持模拟器的

Unable to build plugin frameworks for simulator
dasonXie commented 2 months ago

同样遇到了这个问题,不支持模拟的话,是不是就无法使用命令"flutter build ios-framework"了?但是我们的接入方式就是用的嵌入的方式,这使得我们原生项目接入flutter项目的方式要改变。是否有参数可以配置不构建iphonesimulator?