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.
Related
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.
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
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>
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.
My app name is mobile-app
Create a cordova project
add ios platform
add plugin "cordova plugin add org.apache.cordova.contacts"
go to project folder /platforms/ios/mobile-app/ and add the following to config.xml
<feature name="Contacts">
<param name="ios-package" value="CDVContacts" />
</feature>
want to build the ios project with terminal "cordova build ios"
I get the error in terminal:
generating config.xml from defaults for platform "ios"
Preparing ios project
Compiling app on platform "ios" via command "/Users/test/mobile-app/platforms/ios/cordova/build"
[Error: An error occurred while building the ios project.** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
2014-01-13 20:49:45.743 xcodebuild[6403:4807] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContacts.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “CDVContacts.d” couldn’t be opened because there is no such file." UserInfo=0x7fa634d724e0 {NSFilePath=/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContacts.d, NSUnderlyingError=0x7fa634d72430 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContacts.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7fa634d723f0>{name = (null), num = 8}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2014-01-13 20:49:45.774 xcodebuild[6403:5d03] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78
Details: Failed to load dependencies output contents from ``/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContact.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file “CDVContact.d” couldn’t be opened because there is no such file." UserInfo=0x7fa634e56370 {NSFilePath=/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContact.d, NSUnderlyingError=0x7fa634e58160 "The operation couldn’t be completed. No such file or directory"}. User info: {
NSFilePath = "/Users/test/mobile-app/platforms/ios/build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContact.d";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";
}.
Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]
Thread: <NSThread: 0x7fa634e53090>{name = (null), num = 9}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
CompileC build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContacts.o mobile-app/Plugins/org.apache.cordova.contacts/CDVContacts.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/mobile-app.build/Debug-iphonesimulator/mobile-app.build/Objects-normal/i386/CDVContact.o mobile-app/Plugins/org.apache.cordova.contacts/CDVContact.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
]
It's a known bug of los with cordova.
you must remove ios platform with cordova platform remove ios.
then install your plugin.
then add ios platform again.
if you don't do with this order ios seem don't be able to install the plugin right.
i hope this may help you. regards.