Search code examples
swiftgithubcontinuous-integrationgithub-actionsbuilding-github-actions

Getting a issue while setting up the yml file for GithubActions


I am new at using Github Actions,Have written below ios.yml file and getting error like Error: Process completed with exit code 70. on execution.

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    name: Build and Test default scheme using any available iPhone simulator
    runs-on: macos

    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Set Default Scheme
        run:  sudo xcodebuild clean build test -workspace testing.xcworkspace -scheme "testing" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=15.4,name=iphone 8" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO```

enter image description here


Solution

  • Try removing CODE_SIGN_IDENTITY="" and test