I am trying to run my app on simulator/my phone but I get the following message. I had this problem on Xcode 12.2 too but after updating Xcode to 12.3 the problem didn’t resolve. Changing library embed type to do not embed or having copy files to copy when installing gets the app to run but it crashes shortly since it can not load the library it self.
I have tried cleaning project and derived data folder, restarting my Mac, simulator (also reseting simulator data) and my phone.
Deleting the app and reinstalling frameworks with Carthage didn’t help either
I am using latest Carthage version.
I have seen these following answers but were either unhelpful or about cocoapods:
Xcode error Extra info about plist: ACL=<not found>
Failed to load Info.plist from bundle
Unable To Install “AppName”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/UserName/Library/Developer/CoreSimulator/Devices/99CF9C54-3B8A-47E7-8FF3-0FD688140975/data/Library/Caches/com.apple.mobile.installd.staging/temp.x2AUa9/extracted/Payload/AppName.app/Frameworks/FSCalendar.framework; Extra info about Info.plist: Couldn't stat /Users/UserName/Library/Developer/CoreSimulator/Devices/99CF9C54-3B8A-47E7-8FF3-0FD688140975/data/Library/Caches/com.apple.mobile.installd.staging/temp.x2AUa9/extracted/Payload/AppName.app/Frameworks/FSCalendar.framework/Info.plist: No such file or directory
--
Failed to load Info.plist from bundle at path /Users/UserName/Library/Developer/CoreSimulator/Devices/99CF9C54-3B8A-47E7-8FF3-0FD688140975/data/Library/Caches/com.apple.mobile.installd.staging/temp.x2AUa9/extracted/Payload/AppName.app/Frameworks/FSCalendar.framework; Extra info about Info.plist: Couldn't stat /Users/UserName/Library/Developer/CoreSimulator/Devices/99CF9C54-3B8A-47E7-8FF3-0FD688140975/data/Library/Caches/com.apple.mobile.installd.staging/temp.x2AUa9/extracted/Payload/AppName.app/Frameworks/FSCalendar.framework/Info.plist: No such file or directory
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
FunctionName = "-[MIBundle _validateWithError:]";
LegacyErrorString = PackageInspectionFailed;
SourceFileLine = 131;
}
--
System Information
macOS Version 11.1 (Build 20C69)
Xcode 12.3 (17715) (Build 12C33)
2
Answers
I still don't know what caused the problem but it seems switching to SPM solves the problem. It is strange because everything was working just fine for the last couple of months.
I had faced this issue on my Xcode.
Then I tried to reset content and setting of simulator and it worked for me.