I think I should have added “In my experience, you have to manually install WDA…” running Appium on iOS devices is always a moving target thanks mostly to the way Apple does their updates… Things are always changing on the Appium side in response to that so there may be a way to auto install WDA at runtime that I am not aware of.
As for the issue at hand, I can see it a lot better with your full logs attached (thanks for posting that). The app (.ipa) that you are trying to test is not provisioned/signed correctly. My guess is that it is signed for distribution in the App Store and what you need is for it to be signed for development / distribution outside of the app store so that it can be sideloaded when Appium fires up. An incorrectly provisioned/signed app will not install on an iOS device. Also keep in mind that the .ipa may be packaged with an appropriate provisioning profile but the device you are using may not be on the profile’s list of approved devices. If you are the developer of the app and hold control of the Apple Developer Certificate, you need to go to Apple’s developer portal to set all of this up… here a couple of helpful links for that:
If someone else is the developer, you will need to let them know you need a version of the .ipa built for debuggable automated testing (they will hopefully know what to do).
In case anyone is this far in and wondering… His logs show the .ipa under test (not WDA) unpacking itself on the device and then:
[debug] [XCUITest] [ 70%] VerifyingApplication
[debug] [XCUITest] '. Stderr: '2018-07-18 13:15:46.114 ios-deploy[13234:100961] [ !! ] Error 0xe8008015: A valid provisioning profile for this executable was not found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Good Luck!