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

Exit status: 65 #5

Closed
flexbox opened this issue May 10, 2019 · 1 comment
Closed

Exit status: 65 #5

flexbox opened this issue May 10, 2019 · 1 comment
Labels
CircleCI All related to the CI iOS I have the issue on iOS

Comments

@flexbox
Copy link
Owner

flexbox commented May 10, 2019

** ARCHIVE FAILED **
ERROR [2019-05-09 09:27:33.38]: Exit status: 65
INFO [2019-05-09 09:27:33.40]: 
WARN [2019-05-09 09:27:33.40]: Maybe the error shown is caused by using the wrong version of Xcode
WARN [2019-05-09 09:27:33.40]: Found multiple versions of Xcode in '/Applications/'
WARN [2019-05-09 09:27:33.40]: Make sure you selected the right version for your project
WARN [2019-05-09 09:27:33.40]: This build process was executed using '/Applications/Xcode-10.2.app'
WARN [2019-05-09 09:27:33.40]: If you want to update your Xcode path, either
INFO [2019-05-09 09:27:33.40]: 
INFO [2019-05-09 09:27:33.40]: - Specify the Xcode version in your Fastfile
INFO [2019-05-09 09:27:33.41]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0

.circleci/config.yml

# iOS
macos_defaults: &macos_defaults
  macos:
    xcode: "10.2.0"

# -------------------------
#          JOBS
# -------------------------

version: 2.1
orbs:
  slack: circleci/slack@1.0.0

jobs:
  build:
    working_directory: ~/repo
    docker:
      # documented at https://circleci.com/docs/2.0/circleci-images/
      - image: circleci/node:10

ios/Fastfile

platform :ios do
  before_all do
    setup_circle_ci
  end

  def xcode_version_select
    xcversion(version: '10.2.0')
  end

  ...

     lane :release_to_beta do
    check_build_number_versus_testflight
    match(type: 'appstore')
    xcode_version_select
    build_app(
      scheme: APP_SCHEME.to_s,
      export_options: {
        ...
        }
      },
      xcargs: "-UseNewBuildSystem=NO"
    )
  end

@flexbox flexbox added iOS I have the issue on iOS CircleCI All related to the CI labels May 10, 2019
@flexbox
Copy link
Owner Author

flexbox commented May 10, 2019

Solution:
remove xcargs: "-UseNewBuildSystem=NO" for Xcode 10.2

@flexbox flexbox closed this as completed Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CircleCI All related to the CI iOS I have the issue on iOS
Projects
None yet
Development

No branches or pull requests

1 participant