0

It's more than a whole day I'm struggling with this problem and whatever I've found on the Web is either related to lower versions of Xcode or not working for these two issue!

Using Qt Creator (Qt 5.12.1), on my macOS Sierra 10.13.6 installed as a virtual machine on VMware Workstation 14 Player on my physical machine Windows 10 x64, I created a simple QML project called test_2 and configured Desktop and iOS kits for that.

There is almost no warning in the Projects menu of the program but the green triangle button for running is greyed out and when I build the project I get this error: :-1: error: Xcodebuild failed.

The Xcode I've installed on macOS X is version 10.1 and I've signed my Apple ID on the Accounts menu of that.

Now Xcode shows two errors and I think if these two are solved I can run my QML project using the iOS kit.

How to solve these two issues please?

The errors are related to signing

Franky
  • 1,181
  • 2
  • 11
  • 33
  • @paulw11: Did you find a proper answer there? I didn't! So how should I use that thread to solve my issues? – Franky Mar 13 '19 at 20:41
  • You can use that question to follow the issue. I don't believe there is a real fix until Apple fixes whatever they broke – Paulw11 Mar 13 '19 at 20:41
  • So what can I do? Can't I build my QML projects using the iOS kit? And how long should I wait? Who knows they ever fixes this, since it's a free account. :( – Franky Mar 13 '19 at 20:45
  • The issue only started occurring yesterday, so it will probably be fixed soon, but yes, it does only seem to be affecting free developer memberships. There are some suggested work around in the answers to the duplicate. Have you tried any of them? – Paulw11 Mar 13 '19 at 20:48
  • None of them worked for me. The only one that could be the solution was on the *~⁨Library⁩ ▸ ⁨MobileDevice⁩ ▸ ⁨Provisioning Profiles* path while in my macOS X Sierra 10.13.6 there isn't such a path! :( – Franky Mar 13 '19 at 20:53
  • I guess the only guaranteed fix at the moment is to pay for a developer program membership. – Paulw11 Mar 13 '19 at 20:56
  • OK, thanks. One last question, where should I check to see whether or not the issue is fixed? And if fixed, see the solution. – Franky Mar 13 '19 at 21:01
  • All I can suggest is keeping an eye on the duplicate, however you might find that your compilation just starts working. – Paulw11 Mar 13 '19 at 21:02
  • There is also [a thread](https://forums.developer.apple.com/thread/114612) on the Apple developer forums – Paulw11 Mar 13 '19 at 21:04
  • I changed my Apple ID and used it to sign in both Xcode and developer.apple. And now there is no signing error in the Xcode menu but I still can't build/run my project in Qt Creator. When I build it, I get the error: "Xcodebuild failed", and in the Run Settings, in the Projects menu it's been written: *To use this device you need to enable developer mode on it*. But on my iPhone it's on developer mode I think. :( How to solve this issue, please? – Franky Mar 14 '19 at 12:33
  • 1
    Connecting the device via USB to Xcode should enable it for developer mode. Try restarting the device and Xcode/macOS – Paulw11 Mar 14 '19 at 19:53
  • I restarted both the device and macOS. Now I can build the project for the iOS kit, but in the project's directory I see no *.api* file! Should I have one with this type for that project there? The second question is although I restarted the machine and device I still get the message "*To use this device you need to enable developer mode on it.*" for Run mode. Is there any reason for that, please? – Franky Mar 14 '19 at 21:27

0 Answers0