2
votes

I have a project on react native,

I'm Stack all day with this error I try a lot of things but nothing works, build successfully but the application is not launched on device or simulator here is the error I got

Could not install at this time. Failed to load Info.plist from bundle at path /Users/BT/Library/Developer/CoreSimulator/Devices/32A76497-8C7B-4639-B3F9-80379AF5CB9A/data/Library/Caches/com.apple.mobile.installd.staging/temp.SEVqpI/extracted/XXXXXX.app/Frameworks/RCTVibration.framework; Extra info about Info.plist: Couldn't stat /Users/BT/Library/Developer/CoreSimulator/Devices/32A76497-8C7B-4639-B3F9-80379AF5CB9A/data/Library/Caches/com.apple.mobile.installd.staging/temp.SEVqpI/extracted/XXXXX.app/Frameworks/RCTVibration.framework/Info.plist: No such file or directory

Even I reset to the old version of the project witch worked perfectly I'm getting the error

When I add a info.plist to RCTVibration other library has the same problem as 20 library

I tried to clean project, close xcode, delete derived data, restart Mac i tried Embded Framework copy only when installing ... but still stuck i can't delete use_frameworks! because i have dynamic and no dynamic framework

On device i'm getting a different error :

Details

Unable to install "XXXXX" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103

Could not inspect the application package. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653103 User Info: { DVTRadarComponentKey = 282703; MobileDeviceErrorCode = "(0xE8000051)"; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x0000000129dbe93f DTDKCreateNSErrorFromAMDErrorCode + 220 1 DTDeviceKitBase 0x0000000129dfd124 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2 DVTFoundation 0x000000010d9a1b43 DVTInvokeWithStrongOwnership + 71 3 DTDeviceKitBase 0x0000000129dfce65 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440 4 IDEiOSSupportCore 0x0000000129c6dd28 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513 5 DVTFoundation 0x000000010dad02aa DVT_CALLING_CLIENT_BLOCK + 7 6 DVTFoundation 0x000000010dad1ecc __DVTDispatchAsync_block_invoke + 1191 7 libdispatch.dylib 0x00007fff6d0416c4 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff6d042658 _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff6d047c44 _dispatch_lane_serial_drain + 597 10 libdispatch.dylib 0x00007fff6d0485d6 _dispatch_lane_invoke + 363 11 libdispatch.dylib 0x00007fff6d051c09 _dispatch_workloop_worker_thread + 596 12 libsystem_pthread.dylib 0x00007fff6d29ca3d _pthread_wqthread + 290 13 libsystem_pthread.dylib 0x00007fff6d29bb77 start_wqthread + 15 ); }

System Information

macOS Version 10.15.7 (Build 19H2) Xcode 12.0.1 (17220)

any help will be appreciated

3
Any solution for that issue?Hindu
I already publish a solution worked for metamtoum1987

3 Answers

1
votes

Try running your project with npx react-native run-ios. After hours of struggling and trying everything I found (cleaning derived data, erasing content and settings of simulators, reinstalling Xcode...) This is the only thing that made it work, I was even able to build with Xcode after running the build with npx.

0
votes

Clean drive data in XCODE preferences, clean and then rebuild the project. Hope it works!

0
votes

I tried even uninstall xcode and install again another version, also pull project git on a new location, create new simulator, restart device nothing worked

What worked for is adding for every framework, click on choose info.plist file like image show it and pods-Project-info.plist and it will be filled with correct information It's not the best solution because it takes me a lot of time to associate all plist file, but it's the only solution that worked for me