I am facing an issue which ultimately results in following error -
The bundle “$(PRODUCT_NAME)” couldn’t be loaded because its executable couldn’t be located. Try reinstalling the bundle.
Error Domain=IDETestOperationsObserverErrorDomain Code=6 "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}
I have been working on getting my UITest automated but i am intermittently(though 80% of the time) facing the above issue.
I am using the following command from command line .
xcodebuild -project Commute.xcodeproj -scheme CommuteUITests -configuration Debug test -destination "platform=iOS,name=$DEVICE_NAME" -derivedDataPath $DERIVED_DATA_DIR -only-testing:CommuteUITests/$SUITE .
where everything have there usual meaning but this results in above error, and also i sometime provide multiple destinations.
On the other hand i want to run .ipa instead of building via source code.
So basically there are 2 problems here -
- Why do i get these errors, i hovered around the internet but i'm not able to find the solution?
- How to do i start my tests for testing an .ipa?
Someone please help me i'm stuck here big time, any help/pointer is greatly appreciated.