Reputation: 3854
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
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;
}
--
Upvotes: 11
Views: 13891
Reputation: 4410
Had the same issue in Pod v1.11.2. I tried restarting the simulator, erasing content, restarting the machine, removed derived data from File->WorkSpace settings -> {derived data}
Nothing worked for me. Finally, the below magic steps helped,
Upvotes: 0
Reputation: 5271
I have found a detailed solution here with screenshots:
https://handyopinion.com/solution-failed-to-load-info-plist-from-bundle-at-path-in-xcode/
Steps:
1. remove use_frameworks! from Podfile
2. Run pod install
command
3. Delete Content of Derived Data Folder. For that navigate to File -> Workspace Settings
in xCode then navigate to the Derived data folder and remove its content.
Upvotes: 1
Reputation: 4600
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/
Upvotes: 33
Reputation: 3854
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.
Upvotes: 6
Reputation: 53
Go to YourTarget
> Build Settings
> Packaging
> Info.plist File
and check here the path to your .plist
file.
Also it would be helpful to clear your derived data
folder, and re-build project again.
Upvotes: 0