- Configure a qmake project for desktop and iOS
- Build and run the project for desktop
- Switch to iOS kit and press "Run" before the project is reparsed for the new kit
- It builds fine, but deployment fails
Deployment fails with
14:17:06: TransferAppSession(ebb719a0fd1e5d2f5e68358e8ea61ba2690822f0, /Users/ziller/temp/build-qmake_widgets-Desktop_Qt_5_15_2_clang_64bit-Debug/Debug-iphoneos/qmake_widgets.app)TransferAppSession(/Users/ziller/temp/build-qmake_widgets-Desktop_Qt_5_15_2_clang_64bit-Debug/Debug-iphoneos/qmake_widgets.app,ebb719a0fd1e5d2f5e68358e8ea61ba2690822f0) failed, AMDeviceTransferApplication returned The file could not be found. (0x-402653176)
Note that the first part of the path is still the path from the desktop build, not the iOS build. The "Debug-iphoneos/qmake_widgets.app" part is the iOS specific output path.
After the project has been reparsed, everything is ok again.