The file “” couldn’t be opened ::Followed several forums still the same iOS real device issue with Xcode 8.3

The file “” couldn’t be opened because there is no such file

When I Codesign in with Terminal using the below command , The web driver agent gets installed fine.
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=8895ca6624277cc534a3350296ad3cea7b019726’ test

The issue happens when you try to launch appium and run the web driver agent.

a) Followed several forums and all dependancies are in place.
rm -rf Carthage
./Scripts/ -d
Everything in this article has been followed. Including adding a new provisioning profile.