@pytest.fixture
def platform():
    return 'ios'

@pytest.fixture(autouse=True)
def skip_by_platform(request, platform):
    if request.node.get_marker('skip_platform'):
        pass
How to skip a pytest using an external fixture?