When I run the newly created iOS app in iPhone 11 simulator(iOS 13) I'm getting the following error.
This app could not be installed at this time.
Error Log:
com.apple.dt.Xcode[32819] : installApplication:withOptions:error:: Error Domain=IXUserPresentableErrorDomain Code=1 "This app could not be installed at this time." UserInfo={NSUnderlyingError=0x7fc48881db10 {Error Domain=LSApplicationWorkspaceErrorDomain Code=-102 "(null)" UserInfo={Error=RegistrationFailed, _LSLine=627, _LSFunction=-[_LSInstaller _doinstallApplication:atURL:withOptions:installType:notificationJournaller:reply:], CFBundleIdentifier=com.boopathy.TestingApp}}, NSLocalizedFailureReason=Could not install at this time., NSLocalizedDescription=This app could not be installed at this time.}
Configuration Details:
macOS - Catalina 10.15 Beta(19A487m)
Xcode - 11.3(11C29)
Simulator - 11.3 (SimulatorApp-912.5 SimulatorKit-570.3
CoreSimulator-681.17)
Related
Having build issue when running nativescript application in ios platform.
My xcode Version 12.2 (12B45b) and showing error as "The current device configuration is unsupported. This iPhone 4 is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.2."
Project successfully prepared (ios)
Configure firebase
Add iOS crash logging
Building project...
Xcode build...
2022-03-16 12:52:12.267 xcodebuild[3959:55798] DTDeviceKit: deviceType from 00008020-000A393E2123002E was NULL
2022-03-16 12:52:12.467 xcodebuild[3959:55798] DTDeviceKit: deviceType from 00008020-000A393E2123002E was NULL
2022-03-16 12:52:12.467 xcodebuild[3959:55798] DTDeviceKit: deviceType from 00008020-000A393E2123002E was NULL
2022-03-16 12:52:13.621 xcodebuild[3959:55796] iPhoneConnect: š±<DVTiOSDevice (0x7ff74baabfe0), Mobileās iPhone XR, iPhone, 14.7.1 (18G82), 00008020-000A393E2123002E> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=601 "The current device configuration is unsupported. This iPhone 4 is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.2." UserInfo={NSLocalizedDescription=The current device configuration is unsupported. This iPhone 4 is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.2., NSLocalizedRecoverySuggestion=To run on this device, please update to a version of Xcode that supports iOS 14.7.1. You can download Xcode from the Mac App Store or the Apple Developer website., DVTRadarComponentKey=487927, DeviceType=iPhone11,8, NSUnderlyingError=0x7ff74ba2a820 {Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 "Unable to locate ideal DDI for platform: <DVTPlatform:0x7ff74875e810:'com.apple.platform.iphoneos':<DVTFilePath:0x7ff74875e660:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7ff74875e810:'com.apple.platform.iphoneos':<DVTFilePath:0x7ff74875e660:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82, DVTRadarComponentKey=487927}}}) {
DVTRadarComponentKey = 487927;
DeviceType = "iPhone11,8";
NSLocalizedDescription = "The current device configuration is unsupported. This iPhone 4 is running iOS 14.7.1 (18G82), which is not supported by Xcode 12.2.";
NSLocalizedRecoverySuggestion = "To run on this device, please update to a version of Xcode that supports iOS 14.7.1. You can download Xcode from the Mac App Store or the Apple Developer website.";
NSUnderlyingError = "Error Domain=com.apple.dt.DVTDeviceSupportFilesError Code=2 \"Unable to locate ideal DDI for platform: <DVTPlatform:0x7ff74875e810:'com.apple.platform.iphoneos':<DVTFilePath:0x7ff74875e660:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82\" UserInfo={NSLocalizedDescription=Unable to locate ideal DDI for platform: <DVTPlatform:0x7ff74875e810:'com.apple.platform.iphoneos':<DVTFilePath:0x7ff74875e660:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform'>>, version: 14.7.1, build: 18G82, DVTRadarComponentKey=487927}";
}
how to solve this issue?
When trying to upload an image to a web system, using webview in react-native v0.63.2 and react-native-webview v11.0.2 on an iPhone 11 emulator using iOS 14, I get the error on the xCode console:
2021-02-11 19:07:33.784921-0300 Ebank[2851:26809] [ProcessSuspension] 0x111cac210 - ProcessAssertion: Failed to acquire RBS UnboundedNetworking assertion 'WebKit uploads' for process with PID 2860, error: Error Domain=RBSAssertionErrorDomain Code=3 "Required client entitlement is missing" UserInfo={RBSAssertionAttribute=<RBSDomainAttribute| domain:"com.apple.webkit" name:"UnboundedNetworking" sourceEnvironment:"(null)">, NSLocalizedFailureReason=Required client entitlement is missing}
Emulating on Android, the upload happens normally. Any idea what it might be?
Thank you all.
This question already has answers here:
MobileDevice.pkg untrusted, cannot open Xcode after OS X update
(11 answers)
Closed 3 years ago.
I updated to MacOS Catalina and now my Xcode is not opening. I get this prompt:
Which leads to this error after getting root access:
There is a huge log but the key errors are:
2019-11-04 12:39:48+05 tk_lpt_0141_wifi Xcode[1214]: Package:
PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package āMobileDeviceDevelopment.pkgā is untrusted."
UserInfo={NSLocalizedDescription=The package
āMobileDeviceDevelopment.pkgā is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7fe07012cad0 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}} 2019-11-04
13:01:20+05 tk_lpt_0141_wifi Xcode[1306]: Package: PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package āMobileDeviceDevelopment.pkgā is untrusted."
UserInfo={NSLocalizedDescription=The package
āMobileDeviceDevelopment.pkgā is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7fd230cb1ae0 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}} 2019-11-04
13:29:51+05 tk_lpt_0141_wifi Xcode[1377]: Package: PKLeopardPackage
Failed to verify with error: Error Domain=PKInstallErrorDomain
Code=102 "The package āMobileDeviceDevelopment.pkgā is untrusted."
UserInfo={NSLocalizedDescription=The package
āMobileDeviceDevelopment.pkgā is untrusted.,
NSURL=MobileDeviceDevelopment.pkg --
file:///Applications/Xcode.app/Contents/Resources/Packages/,
PKInstallPackageIdentifier=com.apple.pkg.MobileDeviceDevelopment,
NSUnderlyingError=0x7f8ab8ba9380 {Error Domain=NSOSStatusErrorDomain
Code=-2147409654 "CSSMERR_TP_CERT_EXPIRED" UserInfo={SecTrustResult=5,
PKTrustLevel=PKTrustLevelExpiredCertificate,
NSLocalizedFailureReason=CSSMERR_TP_CERT_EXPIRED}}}
I have already tried:
xcode-select --install
and
xcode-select --reset
Has anyone else run into this issue? How to fix it?
First, try updating Xcode through the app store
As a last resort, you can change your MacOS Date to
1st October 2019
I set my system time to 1st October 2019, the date when the certificate was still valid. Then, I opened Xcode and followed the component install. This went well, and now Xcode works again.
Edit and set the date of your Mac as 1st October 2019.
What worked for me was updating Xcode in the App Store. After that I was able to install the additional components successfully.
Disclaimer: I am not using Expo.
react: 16.8.3
react-native: 0.59.9
react-native-cli: 2.0.1
iOS 12.2 (16E227)
I have this weird problem with my React Native iOS app that has been happening for a while. At a first glance everything works as excepted, both Development and Release. I am able to install it in my device and use it without the metro server running.
However after some time, like couple of days the app in my phone won't launch, it crashes at the launch screen, the one that says "Powered by React Native ..." with the following errors showing up in the console:
Process: assertiond
Failed to start job with error <NSError: 0x103e56f70; domain: NSPOSIXErrorDomain; code: 3; reason: "No such process"> {
description = "Unable to get pid for label UIKitApplication:org.josemigallas.RealmsCounter[0x953c][62]";
failureReason = "No such process";
userInfo = {
BKLaunchdJobLabel = UIKitApplication:org.josemigallas.RealmsCounter[0x953c][62];
BKLaunchdOperation = launch_get_running_pid_4SB;
}
}
Process: SpringBoard
[org.josemigallas.RealmsCounter] Bootstrap failed with error: <NSError: 0x2830c26a0; domain: BKSProcessErrorDomain; code: 1 (bootstrap-failed); reason: "Failed to start job">
Process: SpringBoard
Bootstrapping failed for <FBApplicationProcess: 0x1371b5470; org.josemigallas.RealmsCounter; pid: -1> with error: Error Domain=BKSProcessErrorDomain Code=1 "Unable to bootstrap process with bundleID org.josemigallas.RealmsCounter" UserInfo={NSLocalizedDescription=Unable to bootstrap process with bundleID org.josemigallas.RealmsCounter, BKSProcessExitReason=0, NSLocalizedFailureReason=Failed to start job, NSUnderlyingError=0x2830c0210 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process" UserInfo={BKLaunchdOperation=launch_get_running_pid_4SB, NSLocalizedDescription=Unable to get pid for label UIKitApplication:org.josemigallas.RealmsCounter[0x953c][62], BKLaunchdJobLabel=UIKitApplication:org.josemigallas.RealmsCounter[0x953c][62], NSLocalizedFailureReason=No such process}}, BKSProcessJobLabel=UIKitApplication:org.josemigallas.RealmsCounter[0x953c][62], BSErrorCodeDescription=bootstrap-failed}
Is this a bug? Or did I do something wrong with the Xcode configuration? The React Native documentation is of no use Xcode wise and so is iOS's because this is something in between of both.
Any ideas?
OK, turned out it as simple as the provisioning profile is only valid for 6 days without a paid Apple Developer account... The app will work during the first days then inevitably it won't start anymore and it has to be rebuild again.
I am using :
Xcode 10.1
Os Version : 12.1
iPhone 6
I did follow all required steps to setup build and everything but still getting error when try to build project using xcode build.
I am confuse between 2 thing that is it signing issue or I am missing some config. in webdriver agent xproj.
Actual Error on xcode build command
Testing failed:
WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.apple.test.WebDriverAgentRunner-Runner. (Underlying error: The operation couldnāt be completed. (DTXMessage error 1.))))
Actual Error on appium
Error: Unable to launch WebDriverAgent because of xcodebuild failure: āxcodebuild failed with code 65ā. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
Some other logs if that helps :
2018-11-19 11:02:17.350 xcodebuild[2413:325556] Error Domain=com.apple.platform.iphoneos Code=-12 āUnable to launch com.apple.test.WebDriverAgentRunner-Runnerā UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.WebDriverAgentRunner-Runner, NSUnderlyingError=0x7f8ec758be20 {Error Domain=DTXMessage Code=1 ā(null)ā UserInfo={DTXExceptionKey=The operation couldnāt be completed. Unable to launch com.apple.test.WebDriverAgentRunner-Runner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier ācom.apple.test.WebDriverAgentRunner-Runnerā}}}
2018-11-19 11:02:17.350 xcodebuild[2413:325556] Error Domain=IDETestOperationsObserverErrorDomain Code=4 āFailed to install or launch the test runnerā UserInfo={NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /Users/asianweb/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Test-WebDriverAgentRunner-2018.11.19_11-02-01-+0530.xcresult, NSLocalizedDescription=Failed to install or launch the test runner, NSUnderlyingError=0x7f8ec7ac6c70 {Error Domain=com.apple.platform.iphoneos Code=-12 āUnable to launch com.apple.test.WebDriverAgentRunner-Runnerā UserInfo={NSLocalizedDescription=Unable to launch com.apple.test.WebDriverAgentRunner-Runner, NSUnderlyingError=0x7f8ec758be20 {Error Domain=DTXMessage Code=1 ā(null)ā UserInfo={DTXExceptionKey=The operation couldnāt be completed. Unable to launch com.apple.test.WebDriverAgentRunner-Runner because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the user. : Failed to launch process with bundle identifier ācom.apple.test.WebDriverAgentRunner-Runnerā}}}}}
Other logs info
{
deviceSerialNumber: XXXXXXXXXXXX
identifier: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6
deviceClass: iPhone
deviceName: qaās iPhone
deviceIdentifier: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6
productVersion: 12.1
buildVersion: 16B92
deviceSoftwareVersion: 12.1 (16B92)
deviceArchitecture: arm64
deviceTotalCapacity: 11945508864
deviceAvailableCapacity: 5477302272
deviceIsTransient: NO
ignored: NO
deviceIsBusy: NO
deviceIsPaired: YES
deviceIsActivated: YES
deviceActivationState: Activated
isPasscodeLocked: NO
deviceType: <DVTDeviceType:0x8f7ec4d00ca0 Xcode.DeviceType.iPhone>
supportedDeviceFamilies: (
1
)
applications: (null)
provisioningProfiles: (null)
hasInternalSupport: NO
isSupportedOS: YES
developerDiskMountError: (null)
(null)
bootArgs: (null)
connected: yes
isWirelessEnabled: no
connectionType: direct
hostname: (null)
bonjourServiceName: 90:60:f1:6b:7f:91#fe80::9760:f1ff:fe6b:2f92._apple-mobdev2._tcp.local.
} (12.1 (16B92))
Note : While I run it, it puts my app and webdriveragent into iphone device and then stopped.
I was able to resolve issue by following steps :
Uninstalled following :
Xcode,Appium,Xcode command line,ideviceinstaller,carthage,xpretty,deviceconsole
Reinstalled everything as per this video guide : https://youtu.be/ySglJIrDVMQ
Restart my mac machine and iphone
Again setup project in xcode as per this video guide : https://youtu.be/ySglJIrDVMQ
And Yes it works.
For iOS development I use Fastlane with the XCTest framework and I had the same problem as you described. However, I'm using a simulator, not a real device. To solve it I replaced iPhone 6 with iPhone XS Max in the list of simulators that should be used for testing. If you can also use any other device different from iPhone 6 you should try this solution.
However if you need to test your application on iPhone 6 you can recreate the corresponding simulator. In Xcode 10.1 press Window -> Devices and Simulators, then select the line called iPhone 6 and press Backspace. After that press + in the left bottom corner of window to create a new simulator. You will see this window:
Set all parameters as they are in this screenshot and then press Create. After that, try to run your test suite again.