iOS模拟器运行报错Unable to install /xxx/build/ios/iphonesimulator/Runner.app
生活随笔
收集整理的這篇文章主要介紹了
iOS模拟器运行报错Unable to install /xxx/build/ios/iphonesimulator/Runner.app
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
前言
最近在做項目用模擬器運行,清理緩存后發現模擬器運行不起來了,報錯如下:
Unable to install /xxx/build/ios/iphonesimulator/Runner.app on 8E36D100-45F6-4CC7-8DA2-1F6EB4FBAC11. 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 “HotsMeta” Please try again later. Failed to create temporary staging dir in /xxx/Library/Developer/CoreSimulator/Devices/8E36D100-45F6-4CC7-8DA2-1F6EB4FBAC11/data/Library/Caches/com.apple.mobile.installd.staging Underlying error (domain=MIInstallerErrorDomain, code=105):Failed to create temporary staging dir in /Users/xxx/Library/Developer/CoreSimulator/Devices/8E36D100-45F6-4CC7-8DA2-1F6EB4FBAC11/data/Library/Caches/com.apple.mobile.installd.stagingCommand: /usr/bin/arch -arm64e xcrun simctl install 8E36D100-45F6-4CC7-8DA2-1F6EB4FBAC11 /Users/mxmac/Documents/HotsMeta/build/ios/iphonesimulator/Runner.app Error launching application on iPhone 12 Pro Max.解決方法:
重啟Xcode和模擬器,把模擬器里對應的APP應用刪除。重新運行即可解決!
總結
以上是生活随笔為你收集整理的iOS模拟器运行报错Unable to install /xxx/build/ios/iphonesimulator/Runner.app的全部內容,希望文章能夠幫你解決所遇到的問題。