Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

error: call to unavailable function 'system': not available on iOS #16

Description

@solodon4

I was following your instructions to build sample firebase cocos2d-x project for Analytics and got this error:

sample/sample_project/cocos2d/cocos/platform/CCFileUtils.cpp:1156:9: error: call to unavailable function 'system': not available on iOS
    if (system(command.c_str()) >= 0)
        ^~~~~~

You guys need to cherry pick this fix to resolve the issue: remove "system" usage #17921 which I applied locally and was able to get the project build and run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions