错误:Building for iOS Simulator, but the linked and embedded framework '***' was built for iOS + tvOS SimulatorSimulator-x86_64
设置:Build Settings -> Validate Workspace
Failed to register observatory port with mDNS with error -65555.
(1)将info.plist文件复制并改名为info-Release.plist
(2)将info.plist文件改名为info-Debug.plist
(3)在info-Debug.plist文件中添加
//keyrivacy - Local Network Usage Description //value:Allow Flutter tools on your computer to connect and debug your application.This prompt will not appear on release builds.//key:Bonjour services//value:_dartobservatory._tcp(4)将info.plist的路径改为
Runner/Info-$(CONFIGURATION).plist