Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macos - multiple device simulator warning #11036

Open
3 of 15 tasks
salvatoreboemia opened this issue Nov 25, 2024 · 5 comments
Open
3 of 15 tasks

macos - multiple device simulator warning #11036

salvatoreboemia opened this issue Nov 25, 2024 · 5 comments
Assignees
Labels
Area: Apple bug report investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS

Comments

@salvatoreboemia
Copy link

Description

Hi I'm using this command to build

run: |
        echo "Building project manually..."
        xcodebuild -workspace MyApp.xcworkspace \
        -scheme MyApp \
        -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=18.1" \
        build | xcbeautify --renderer github-actions

But I got this warning

Screenshot 2024-11-25 at 15 29 01

Why there are 2 simulator with same os and same model?

How I can remove this warning?

Thanks

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

macos 14 and 15 arm64

Is it regression?

yes

Expected behavior

no warning

Actual behavior

warning

Repro steps

run xcodebuild command

@erik-bershel
Copy link
Contributor

Hey @salvatoreboemia!

Please, provide more info. 🙇

  • When this happened for the first time? Which exact image version it was with?
  • We need the full workflow code to test other steps if the source of the issue.

@erik-bershel erik-bershel added Area: Apple OS: macOS investigate Collect additional information, like space on disk, other tool incompatibilities etc. and removed needs triage labels Nov 25, 2024
@salvatoreboemia
Copy link
Author

salvatoreboemia commented Nov 25, 2024

Hey @salvatoreboemia!

Please, provide more info. 🙇

* When this happened for the first time? Which exact image version it was with?

* We need the full workflow code to test other steps if the source of the issue.

It seems to have always happened

it's only 1 warning but I would like to understand how to remove it

I opened the workflows from 1 month ago to today

Here are some logs on runners

Current runner version: '2.320.0'
Operating System
  macOS
  14.7
  23H124
Runner Image
  Image: macos-14-arm64
  Version: 20241022.361
  Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20241022.361/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20241022.361

Current runner version: '2.320.0'
Operating System
  macOS
  14.7.1
  23H222
Runner Image
  Image: macos-14-arm64
  Version: 20241119.509
  Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20241119.509/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20241119.509

Current runner version: '2.320.0'
Operating System
  macOS
  14.7.1
  23H222
Runner Image
  Image: macos-14-arm64
  Version: 20241119.509
  Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20241119.509/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20241119.509

Current runner version: '2.320.0'
Operating System
  macOS
  14.7
  23H124
Runner Image
  Image: macos-14-arm64
  Version: 20241022.361
  Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20241022.361/images/macos/macos-14-arm64-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20241022.361
Runner Image Provisioner
  2.0.384.1+6d6c56aa16f1b9c7dd7935df5d63980397e44def

Thanks @erik-bershel

@erik-bershel
Copy link
Contributor

Hmmmmm. 🤔 I'm starting to think the problem is somewhere in the workflow code. We have a duplicate check during the build. Of course, it might be buggy. We'll check the runner and come back later...

@salvatoreboemia
Copy link
Author

salvatoreboemia commented Nov 25, 2024

Hmmmmm. 🤔 I'm starting to think the problem is somewhere in the workflow code. We have a duplicate check during the build. Of course, it might be buggy. We'll check the runner and come back later...

Hi @erik-bershel

Here are some main steps of my worflfow


runs-on: ${{ (matrix.language == 'swift' && 'macos-14-xlarge') }}

    - name: Set Xcode version
      run: |
        echo "Setting Xcode version..."
        sudo xcode-select -s /Applications/Xcode_15.4.app
        
    - name: Checkout repository
      uses: actions/checkout@v4


    - name: Initialize CodeQL
      uses: github/codeql-action/init@v3
     .....
     .....
      shell: bash
      run: |
        echo "Building project manually..."
        xcodebuild -workspace MyApp.xcworkspace \
        -scheme MyApp \
        -destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=18.1" \
        build | xcbeautify --renderer github-actions

That's it

@erik-bershel
Copy link
Contributor

Yeah, it doesn't look like any step creates additional simulators. It's strange - we'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Apple bug report investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS
Projects
None yet
Development

No branches or pull requests

3 participants