I created an ipa file of my application from product-> Archive-> Distribute-> Appstore-> Export. I used this ipa for UITest on the device farm. First I tried with Standard environment which gave me the below error -
Setup Test skipped: Not enough suites found to execute
Then I tried with custom environment with Default TestSpec for iOS XCTest UI and I got issue on launching the application. I got the below error from device farm -
UITests.swift:20: error: -[SomeAppUITests.SomeAppUITests testExample]
: Failed to get launch progress for <XCUIApplicationImpl: 0x280b47bd0
com.developer.SomeApp.Staging at
/private/tmp/scratchPTi3vk.scratch/Productsedbz37/Debug-iphoneos/SomeApp.app>:
Unable to launch com.developer.SomeApp.Staging. (Underlying Error:
Request to launch com.developer.SomeApp.Staging failed. The operation
couldn’t be completed. The process failed to launch. : Failed to
launch process with bundle identifier 'com.developer.SomeApp.Staging'.
(Underlying Error: The operation couldn’t be completed. The process
failed to launch. (Underlying Error: The operation couldn’t be
completed. Launch failed. (Underlying Error: Launchd job spawn failed
with error: 88. Malformed Mach-o file))))
Then I tried the fuzz test, but it gave me a different error. Here's the screenshot -
https://imgur.com/a/AKATt22
Related
Who knows how can solve this problem?
When I running the iOS, I got this error
Error (Xcode): unable to read property list from file: /Users/pin-chientseng/Desktop/yomate/ios/Runner/Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 2.)
Could not build the application for the simulator.
Error launching application on iPhone 13 Pro Max.
I'm trying to launch the application on a real device from Xcode, but after building correctly the app doesn't launch.
The error is the following:
Unable to launch bundle.identifier Domain: com.apple.platform.iphoneos
Code: -12
-- Request to launch "bundle.identifier" failed. Domain: com.apple.dt.deviceprocesscontrolservice Code: 2 Failure Reason: The
operation couldn’t be completed. Application info provider
(FBSApplicationLibrary) returned nil for "bundle.identifier" : Failed
to launch process with bundle identifier 'bundle.identifier'.
-- The operation couldn’t be completed. Application info provider (FBSApplicationLibrary) returned nil for "bundle.identifier" Domain:
FBSOpenApplicationErrorDomain Code: 4 Failure Reason: Application info
provider (FBSApplicationLibrary) returned nil for "bundle.identifier"
User Info: {
BSErrorCodeDescription = NotFound; }
It started giving me this error when i changed bundle identifier to the application. I also tried to change the bundle identifier directly from info.plist and not only from project > Targets but the error persists.
After I executed 'xattr -cr path/to/your.app' command ,app got installed in simulator. but its crashing in the real device.
crash report:
error: Error Domain=BKSProcessErrorDomain Code=1
"Unable to bootstrap process with bundleID com.aq.FOGVERSION2"
UserInfo={
NSLocalizedDescription=Unable to bootstrap process with bundleID com.aq.FOGVERSION2,
BKSProcessExitReason=0,
NSLocalizedFailureReason=Failed to start job,
NSUnderlyingError=0x282299320
{Error Domain=NSPOSIXErrorDomain Code=3
"No such process"
UserInfo={NSLocalizedFailureReason=The process failed to exec, NSLocalizedRecoverySuggestion=Consult /var/log/com.apple.xpc.launchd/launchd.log
for more information, NSLocalizedDescription=Unable to get valid task name port right for pid 2019}},
`BSErrorCodeDescription`=bootstrap-failed}
can you help me to fix it?
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.
When I do UI test with Jenkins,it failed with Error Domain=com.apple.platform.iphoneos Code=-1 "Could not locate installed application".
The detail log is :
Details: Install claimed to have succeeded, but application could not be found on device. bundleId = com.apple.test.iOS-3DTouchUITests-Runner
Object: <DVTiOSDevice: 0x7faafda80610>
Method: -installForMobileInstallWithSession:error:
Thread: <NSThread: 0x7faafd086dd0>{number = 9, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-19 19:35:38.382 xcodebuild[59624:934106] Error Domain=com.apple.platform.iphoneos Code=-1 "Could not locate installed application" UserInfo={NSLocalizedDescription=Could not locate installed application, NSLocalizedRecoverySuggestion=Install claimed to have succeeded, but application could not be found on device. bundleId = com.apple.test.iOS-3DTouchUITests-Runner}
2017-01-19 19:35:38.382 xcodebuild[59624:934106] Error Domain=IDETestOperationsObserverErrorDomain Code=5 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
Testing failed:
Test target iOS-3DTouchUITests encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
But when I do the ui test directly with Xcode, everything is OK.
Anyone can help me with this ?