Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 11.3.1 Failed to load Info.plist from bundle at path

I have React Native project which stops working after Xcode upgrade to version 11.3.1. The error is following

Could not install at this time.
Failed to load Info.plist from bundle at path /Users/dmytro/Library/Developer/CoreSimulator/Devices/F0BD5650-04A4-4534-B3F6-56B74ED1B0C2/data/Library/Caches/com.apple.mobile.installd.staging/temp.aRWRdh/extracted/Target.app/Frameworks/RCTVibration.framework; Extra info about plist: ACL=<not found

enter image description here

and details

Details

This app could not be installed at this time.
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Could not install at this time.
Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/dmytro/Library/Developer/CoreSimulator/Devices/F0BD5650-04A4-4534-B3F6-56B74ED1B0C2/data/Library/Caches/com.apple.mobile.installd.staging/temp.aRWRdh/extracted/Target.app/Frameworks/RCTVibration.framework; Extra info about plist: ACL=<not found> 
--
Failed to load Info.plist from bundle at path /Users/dmytro/Library/Developer/CoreSimulator/Devices/F0BD5650-04A4-4534-B3F6-56B74ED1B0C2/data/Library/Caches/com.apple.mobile.installd.staging/temp.aRWRdh/extracted/Target.app/Frameworks/RCTVibration.framework; Extra info about plist: ACL=<not found> 
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 128;
}
--

enter image description here

like image 338
Dima Portenko Avatar asked Jan 28 '20 00:01

Dima Portenko


2 Answers

Using CocoaPods v1.9+, if you can't remove use_frameworks! from Podfile, you can set:

use_frameworks! :linkage => :static

Now that Swift supports static linking, CocoaPods has expanded this DSL to allow specifying the type of linkage preferred.

Source: https://blog.cocoapods.org/CocoaPods-1.9.0-beta/

like image 164
Maycon Mesquita Avatar answered Nov 14 '22 04:11

Maycon Mesquita


The solution for me was to remove use_frameworks! from Podfile.

Don't forget pod install, clear Derived Data and Erase All Content And Settings on your Simulator.

like image 20
Dima Portenko Avatar answered Nov 14 '22 05:11

Dima Portenko