Forums

OverviewV-Play Installation › error: Xcode not set up properly. You may need to confirm the license agree

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #10066

    Cho

    QT is showing this error message…

    error: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.

    Is there any way to solve it?

    #10067

    Alex
    V-Play Team

    Hi,

    Please follow following steps:

    1. Install Xcode from the App Store (if not already done)
    2. Open Xcode once
    3. If that doesn’t help run the “xcodebuild” command from the Terminal window as suggested by the log output

    Does this solve your issue?

    Thanks,

    Alex

    #15612

    V-Play User

    I’ve uninstalled everything now but this is what made me continue my search for a game engine that just works.

    xcode is installed via app store and i’ve accepted the license via the command line: sudo xcodebuild -license accept

    this error persists and I have zero tolerance for this kind of thing so my search continues.

    #15613

    Marcin

    Hi Cho,
    I am not sure if you are going to see my message byt whatever.
    I can assure you in one thing: XCode is sh*t to set up, every major upgrade can break your projects, so expect this kind of issues from every engine.
    If you think that this is an issue in V-Play, look how many similar issues happen in engines which use native Objective-C/Swift.
    I see tons of them.

    If this is a ground breaking issue for you- do not develop for iOS at all- XCode breaks things very often for many developers.

    Best regards,
    Marcin

    #15614

    Günther
    V-Play Team
    #15619

    RQ

    Hi!

    I have xcode 8.2.1 under macOs Sierra 10.12.2.

    I tried everything you have suggested and nothing seems to work.

    Any idea?

     

    Thanks

     

    Ruben

     

     

    #15620

    Günther
    V-Play Team

    The issue “Xcode not set up properly. You may need to confirm the license agreement” when opening a project should be solvable with the fix in my previous post. After applying the changes to fix the issue you may need to close Qt Creator and reopen the project.

    Or do you maybe get another error that might be responsible?

    Best,
    Günther

    #15627

    RQ

    Thanks Günther for following up.

    As soon as I create a new project, let’s say a new v-play Master-Detail app, I receive all this errors:

    Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.

    Error while parsing file /Users/rquiterio/vplay/vplayTest01/vplayTest01.pro. Giving up.

    Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.

    Error while parsing file /Users/rquiterio/vplay/vplayMasterDetail/vplayMasterDetail.pro. Giving up.

     

    rq

    #15628

    Günther
    V-Play Team

    Hi!

    The error is quite clear and the fix worked for me (with the same MacOS and XCode version as you described) – so it’s strange that you still get this message.

    Can you please have a last try:
    – Open XCode standalone to see if any messages or additional updates/tools to install pop up (accept or install if necessary)
    – Open the file <V-PlaySDK>/5.7/clang_64/mkspecs/features/mac/default_pre.prf
    – Search for the following code-block (responsible for the error message) and make sure that xcodebuild is used instead of xcrun:

        # Make sure Xcode is set up properly
        isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \
            error("Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.")

    Note that only the xcrun command between -find and 2>/dev/null should be replaced.
    – Please also delete the build directory of your project (if exists) and also the *.pro.user file of your project
    – Close and reopen Qt Creator and the project

    It should be possible to read and build the project with the clang_64 kit then. If the message still pops up, maybe additionally accepting the license as described here helps.

    Does it still not work?

    #15629

    RQ

    Hi.

    It’s working!

    I think that deleting the build directory made the difference.

     

    Thanks a lot!

     

    rq

     

Viewing 10 posts - 1 through 10 (of 10 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support