HomeiOS DevelopmentGithub actions configuration for iOS undertaking

Github actions configuration for iOS undertaking


I am making an attempt to construct a easy CI/CD pipeline for a demo iOS undertaking with Github actions. However it retains getting fails with this error message

The requested gadget couldn't be discovered as a result of no obtainable gadgets matched the request.

Out there locations for the "CI" scheme:
        
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, title:Any iOS Machine }

{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, title:Any iOS Simulator Machine }

Right here is my configuration in .yml file:

title: Pull Request

on:
   push:
    branches:
    - fundamental
pull_request:
   branches:
   - fundamental

jobs:
build-and-test:

runs-on: macos-latest

steps:
  - makes use of: actions/checkout@v2

  - title: Choose Xcode
    run: sudo xcode-select -switch /Purposes/Xcode.app

  - title: Construct and check
    run: xcodebuild clear construct check -project GithubActionsConfiguration.xcodeproj -scheme "CI" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=15.2,title=iPhone 11" ONLY_ACTIVE_ARCH=NO 

I’ve tried completely different command for vacation spot for it did not work.
Please assist.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments