RxCocoa error while starting the app on device - ios

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

Related

SwiftShield error when try to obfuscate code

I am trying to obfuscate my project using SwiftShield, but i am getting below error even if i try on SwiftShield demo project.
error response (Request Failed): error: unknown argument:
'-use-frontend-parseable-output' Error: Error
Domain=com.rockbruno.swiftshield Code=0 "error response (Request
Failed): error: unknown argument: '-use-frontend-parseable-output'"
UserInfo={NSLocalizedDescription=error response (Request Failed):
error: unknown argument: '-use-frontend-parseable-output'} make: ***
[swiftshield] Error 1
Please helps me how to resolve it, i am wondering that it is very popular library even if no any tutorial or any more answers found on google about it.
Thanks.

Problem executing some library in iOS project

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.

Critical error after pause in swift 0 thread 1: signal SIGABRT

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.

IOS Application is not working when i updated my Phone IOS with this error

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>

Xcode executes successful build but is unable to launch on a physical device

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.

Resources