Compiling for iOS?

About Monkey 2 Forums Monkey 2 Development Compiling for iOS?

Tagged: 

This topic contains 6 replies, has 3 voices, and was last updated by  PhatPeter 1 year, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #11676

    PhatPeter
    Participant

    Hi, I’m just trying Monkey2 (v1.1.08) out and compiling the demos for iOS (updated to MacOS High Sierra / 10.13.1 and latest non-beta Xcode (9.1 9B55) and installed the xcode tools today) and I got this:

    (I add the screenshot as an attachment as I seem not able to copy and paste from the output window)

    What’s wrong?

    Attachments:
    #11680

    CopperCircle
    Participant
    #11682

    PhatPeter
    Participant

    Thanks, okay I can confirm it’s all installed, I also collected these details :

     

    package-id: com.apple.pkg.CLTools_Executables

    version: 9.0.1.0.1.1506734476

    volume: /

    location: /

    install-time: 1510561197

    groups: com.apple.FindSystemFiles.pkg-group

    #11686

    Mark Sibly
    Keymaster

    You need to modify the bin/env_macos.txt. Change the line that begins ‘MX2_SDKROOT=…’ to this:

    This needs to be updated each time a new version of ios is released (apparently about once a week!). I haven’t found a way to ‘automate’ locating this dir yet so for now it must be updated manually.

    You may also need to rebuild ios modules depending on what apple has messed with.

    #11687

    Mark Sibly
    Keymaster

    Yay, this seems to do the trick – will add it to mx2cc_macos so this is automated in future.

    xcrun --sdk iphoneos --show-sdk-path

    #11688

    Mark Sibly
    Keymaster

    Ok, just tested mojo3d/tests/ducks on my aging ipad2 and it’s working fine (after the env file tweak) if a little slow…

    I am running macos 10.12.6 (16G1036) and xcode 9.1 (9B55).

    #11691

    PhatPeter
    Participant

    Thanks, that worked perfectly !

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

You must be logged in to reply to this topic.