Error running app on devise dyld_shared_cache_extract_dylibs failed - ios

I have Xcode 10.3 and iPhone 11. When I run the project there are no errors. It compiles, and then throws an error
dyld_shared_cache_extract_dylibs failed
In the Devices and Simulators window, my iPhone 11 defines it as iPhone 4. I think the problem is somewhat related to this. Because iPhoneX on the same system (13.3.1) starts up normally.
I watched a lot of sites where they say add files, etc., but that doesn’t help me.
I will be grateful for the help

Related

Error: Command CodeSign failed with a nonzero exit code Xcode in 13.2.1

I got this Codesign error when attempting to run one of my applications on my iPhone, I tried a couple more of my apps and i still get the same error. Also, I only get this error when I’m running the app on my iPhone that’s plugged into my computer but I get no errors when running on a simulator. Thus, this error seems to be due to my iPhone.
From what I read online I tried the following:
Restart both my Mac and iPhone
no success. I tried multiple times and still got the same error.
Check my provisioning profile and certificates
everything looks fine but I'm a newbie so I could be wrong.
What I noticed that may be causing the error:
I stopped using Xcode for about 3 months and during that time I updated my iPhone version to 15.6.1, but the iOS Deployment Target only goes up to 15.2.
So with all this said, is it possible to run an older version say 15.2 when your iPhones version is higher (like mine which is 15.6.1)?
If this is possible, then would anyone suggest where else this error could be coming from.
Thank you!

What are all the steps to run a XCUITest on a device?

I can run XCUITests just fine on simulators, but when I try them on my device, the UITest icon is auto-clicked, and it fills the screen, freezes, then execution stops. The bug readout is "Test target GreetrUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted).
Things I have tried:
1. Gone into my phone's settings -> developer -> enable UI Automation.
2. I don't have any cocoapods in my tests, only native XCUITests.
3. I have a provisioning profile for my app, I am able to run the app fine.
I might need to add a provisioning profile to the UITest but I don't know how to do that. I have also seen suggestions having to do with code-signing and paths, but I didn't understand the suggestions well enough to fix this.
I appreciate the help.
It works on my iphone 5s. I was using an iphone 5. iPhone 5 was released in 2012 which was 3 years before XCUITests were released in 2015 with xcode 7. I have xcode 9.0. Perhaps running UITests on iphone 5 is therefore deprecated.

Simulators missing in Xcode6 beta6

I'm having weird problem in XCode6 beta6. In preferences, downloads there is only one simulator (iOS8) showing as downloaded. No other simulators available.
In addition trying to execute my project on simulator causes this same error mentioned in another question: Unable to run app in Simulator : Xcode beta 6 iOS 8
Removing simulators and adding them back seems to crash Xcode most of the time but even if successful the simulator won't run. Rebooting the machine doesn't help either.
Anyone having similar problems and solution?

Unable to profile using Instruments on iPad 1 using XCode 5

I have an application built against iOS 7, but targeted for iOS 5.1 since I only have an iPad 1 available for testing. It's an all native library, with very minimal iOS dependencies. I am able to run the app on my iPad just fine, but when I try to Profile it, XCode 5 immediately changes the status to 'Finished running on iPad', and the Instruments window shows a warning saying 'This device does not support this instrument'. I see this behavior regardless of which instrument I choose from the Instruments panel.
I have tried other suggestions from similar issues posted on Stackoverflow such as
1. Cleaning my app and rebuilding
2. Restarting XCode
3. Deleting my app from the device
4. Changing the deployment target from 'iPhone/iPad' to just 'iPhone'
None of these have helped me get over this problem. Is there something fundamentally not supported in the configuration that I am trying to run ? Since the app runs correctly on the iPad, this seems like just a problem with Instruments compatibility, so I welcome any comments / suggestions on resolving this.
Thanks.

Fully Working iPhone Project Fails When Transioned To iPad

I have a working app that I have ran on the iPhone countless times. Everything has worked and the app will run on the iPad in compatibility mode. The problem came when I duplicated my iPhone target and hit "Transion to iPad" When building to my iPad device I get 1 error - Apple Mach-O Linker Error.Does anyone have any advice on a fix for this?
Thanks
Tanner
Did you read the output you posted? The linker can't find the OAuth library you're using. Verify Xcode knows where the library is.

Resources