我正在尝试在iOS模拟器上运行flutter应用程序。但是android studio控制台显示这个错误:
Unable to install /Users/bmacapital/Desktop/Development/Studio
Projects/research/build/ios/iphonesimulator/Runner.app on
4929DF8A-575B-45A4-8A3A-95C7D3998A48. This is sometimes caused by
a malformed plist file:
ProcessException: Process exited abnormally:
An error was encountered processing the command
(domain=IXUserPresentableErrorDomain, code=1):
Unable To Install “App”
Please try again later.
The parent bundle has the same identifier
(io.flutter.flutter.app) as sub-bundle at /Users/bmacapital/Library/Developer/CoreSimulator/Devices/4929DF8A-
575B-45A4-8A3A95C7D3998A48/data/Library/Caches/com.apple.mobile.installd.stagin
g/temp.wdgr5g/extracted/Runner.app/Frameworks/App.framework
Underlying error (domain=MIInstallerErrorDomain, code=57):
The parent bundle has the same identifier
(io.flutter.flutter.app) as sub-bundle at /Users/bmacapital/Library/Developer/CoreSimulator/Devices/4929DF8A-
575B-45A4-8A3A95C7D3998A48/data/Library/Caches/com.apple.mobile.installd.stagin
g/temp.wdgr5g/extracted/Runner.app/Frameworks/App.framework
Command: /usr/bin/arch -arm64e xcrun simctl install 4929DF8A-575B-45A4-8A3A-95C7D3998A48
/Users/bmacapital/Desktop/Development/Studio
Projects/research/build/ios/iphonesimulator/Runner.app
Error launching application on iPhone 11 Pro Max.
我运行flutter create -i swift .
命令生成我的跑步者文件夹。
现在我想在iOS模拟器上运行这个应用程序。
在Xcode中打开Flutter项目遵循这个层次
跑=比;构建设置=>包装=比;信息。plist文件
确保此信息。plist文件= Runner/Info.plist
感谢