I'm trying to run my application in a real iOS device, but it is giving me the next error that I have no idea what to do to solve:
dyld: Library not loaded: #rpath/libsndfile.1.dylib
Referenced from: /private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/MyApp
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib: code signature invalid for '/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib'
/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib: code signature invalid for '/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib'
/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib: stat() failed with errno=1
/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib: code signature invalid for '/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib'
/private/var/containers/Bundle/Application/7366AC4C-A729-4AB4-A2F6-7ADB2FC71B5D/MyApp.app/Frameworks/libsndfile.1.dylib: stat() failed with errno=1
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
When I run my app in my own device, it works perfectly, but when I run it in any other device, the app doesn't even open, it just crashes and throws that error.
Related
Currently I'm having a problem with starting the app on device. After installing rxcocoa and rxswift through cocoapods - on emulator everything is good but not on device. The error says that rxcocoa cannot be found
Here is the error log:
dyld: Library not loaded: #rpath/RxCocoa.framework/RxCocoa Referenced
from:
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/rx_goodslist
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
code signature invalid for
'/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa'
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
stat() failed with errno=25
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
code signature invalid for
'/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa'
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
stat() failed with errno=1
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
code signature invalid for
'/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa'
/private/var/containers/Bundle/Application/542D3903-715B-4FB9-9418-D25860F6F5AA/rx_goodslist.app/Frameworks/RxCocoa.framework/RxCocoa:
stat() failed with errno=1 (lldb)
UPDATE: SOLVED
I just commented “use_fraemworks” in pod file and everything worked well
I had a pause in my project - 1 month. I saved working version. Now when i try debug without any change, app dripping error on thread 1: signal SIGABRT with this:
dyld: Library not loaded: #rpath/GTMSessionFetcher.framework/GTMSessionFetcher
Referenced from: /private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/BillyBill
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=25
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=1
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: code signature invalid for '/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher'
/private/var/containers/Bundle/Application/1A1C365B-14A1-4438-9995-5622C7F9FAC3/BillyBill.app/Frameworks/GTMSessionFetcher.framework/GTMSessionFetcher: stat() failed with errno=1
If you test your application on a physical device with iOS 13.3.1 and you are using podfile, it's a problem with a dynamic framework.
In your podfile comment the use_framework! line and run your pod install again.
My application was working completely fine with one cocoapod (CSV.swift). I updated the iOS version of my phone today and after that my app stopped working and showing this error
later I removed the version of my pods and reinstall it with no version mentioned in the pod file but still not working. Anyone can help?
/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV: stat() failed with errno=25
/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV: code signature invalid for '/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV'
/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV: stat() failed with errno=1
/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV: code signature invalid for '/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV'
/private/var/containers/Bundle/Application/1464C2C5-D4B1-43F2-9FC1-7D67A35549C7/TrackerConfiguration.app/Frameworks/CSV.framework/CSV: stat() failed with errno=1
Message from debugger: Terminated due to signal 6>
iOS App is build successfully but App is not getting open in the Simulator or device.
Getting chmod error for the app path.
Error:
info ** BUILD SUCCEEDED **
info Installing <PATH TO APP>.app
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Could not install at this time.
Failed to chmod /Users/surabhiagrawal/Library/Developer/CoreSimulator/Devices/7A54A41E-006C-4B29-B33A-BE956F715255/data/Bundle/Application/0A68FDA4-1D57-49BB-8377-7BA5AC9BBB46/<AppName> : No such file or directory
Underlying error (domain=MIInstallerErrorDomain, code=4):
Failed to chmod /Users/surabhiagrawal/Library/Developer/CoreSimulator/Devices/7A54A41E-006C-4B29-B33A-BE956F715255/data/Bundle/Application/0A68FDA4-1D57-49BB-8377-7BA5AC9BBB46/<AppName>.app/<AppName> : No such file or directory
info Launching <Package Name>
com.goshopmatic.ShopmaticGoApp: -1
An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain, code=1):
The request to open "App Package name" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: NotFound ("Application <App_Path_Name> is unknown to FrontBoard").
Underlying error (domain=FBSOpenApplicationErrorDomain, code=4):
The operation couldn’t be completed. Application "App package name" is unknown to FrontBoard.
Application "App package name" is unknown to FrontBoard.
I fixed this by upgrading XCode.
I'm having this exact same issue:
https://github.com/facebook/react-native/issues/26152
This is on react-native 0.60.4
I'm able to have a successful build in Xcode, but I'm not able launch the app on a physical device.
This is the error that I'm given:
This is the readout from the console:
Details
Unable to launch com.news.arg
Domain: com.apple.platform.iphoneos
Code: -12
--
Request to launch com.news.arg failed.
Domain: com.apple.dt.deviceprocesscontrolservice
Code: 2
Failure Reason: The operation couldn’t be completed. Application "com.news.arg" is unknown to FrontBoard. : Failed to launch process with bundle identifier 'com.news.arg'.
--
The operation couldn’t be completed. Application "com.news.arg" is unknown to FrontBoard.
Domain: FBSOpenApplicationErrorDomain
Code: 4
Failure Reason: Application "com.news.arg" is unknown to FrontBoard.
User Info: {
BSErrorCodeDescription = NotFound;
}
--
Someone said on the react native reddit that expo posted a workaround on their twitter, but we were unable to find it when we went back and looked.