fastlane: disable_automatic_code_signing problem: Seems to be a very old project file format - please use xcode to upgrade to atlease 0800

New Issue Checklist

Issue Description

I’m using the new action based on plugin to change with a lane the signing from automatic to manual but when i use it, i have an error that i can’t understand and there are no information on internet to solve it.

I use beta lane above. Thanks!

Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

±-----±-----------------------±------------+ | fastlane summary | ±-----±-----------------------±------------+ | Step | Action | Time (in s) | ±-----±-----------------------±------------+ | 1 | Verifying required | 0 | | | fastlane version | | | 2 | default_platform | 0 | | 3 | cert | 5 | | 4 | sigh | 8 | | 💥 | automatic_code_signin | 9 | | | g | | ±-----±-----------------------±------------+

[10:14:16]: fastlane finished with errors

[!] Seems to be a very old project file format - please use xcode to upgrade to atlease 0800

lane :beta do
# match(type: "appstore") # more information: https://codesigning.guide
cert
sigh
disable_automatic_code_signing
gym(scheme: "F2FDefault") # Build your app - more options available
pilot

# sh "your_script.sh"
# You can also use other beta testing services here (run `fastlane actions`)
end

fastlane env

✅ fastlane environment ✅

Stack

Key Value
OS 10.12.5
Ruby 2.2.4
Bundler? false
Git git version 2.11.0 (Apple Git-81)
Installation Source ~/.fastlane/bin/bundle/bin/fastlane
Host Mac OS X 10.12.5 (16F73)
Ruby Lib Dir ~/.fastlane/bin/bundle/lib
OpenSSL Version OpenSSL 1.0.2g 1 Mar 2016
Is contained false
Is homebrew true
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 8.3.2

System Locale

Variable Value
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
LANGUAGE en_US.UTF-8

fastlane files:

`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.35.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    
    
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    cert
    sigh
    disable_automatic_code_signing
    gym(scheme: "Face2FaceDefault") # Build your app - more options available
    pilot

    

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "Face2FaceDefault") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end


# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded. 
# Learn more at https://github.com/fastlane/fastlane#metrics
`./fastlane/Appfile`
app_identifier "com.xxxx.f2ffastlane" # The bundle identifier of your app
apple_id "xxxx@xxxx.com" # Your Apple email address

team_id "2YEE9D624W" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem Version Update-Status
fastlane 2.35.0 ✅ Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
slack-notifier 1.5.1
CFPropertyList 2.3.5
claide 1.0.1
colored2 3.1.2
nanaimo 0.2.3
xcodeproj 1.4.4
rouge 1.11.1
xcpretty 0.2.6
unicode-display_width 1.1.3
terminal-table 1.7.3
public_suffix 2.0.5
addressable 2.5.1
multipart-post 2.0.0
word_wrap 1.0.0
tty-screen 0.5.0
babosa 1.0.2
colored 1.2
highline 1.7.8
commander-fastlane 4.4.4
excon 0.55.0
faraday 0.12.1
unf_ext 0.0.7.4
unf 0.1.4
domain_name 0.5.20170404
http-cookie 1.0.3
faraday-cookie_jar 0.0.6
fastimage 2.1.0
gh_inspector 1.0.3
uber 0.0.15
representable 2.3.0
retriable 2.1.0
mime-types-data 3.2016.0521
mime-types 3.1
hurley 0.2
little-plugger 1.1.4
multi_json 1.12.1
logging 2.2.2
jwt 1.5.6
memoist 0.15.0
os 0.9.6
signet 0.7.3
googleauth 0.5.1
httpclient 2.8.3
google-api-client 0.9.28
json 1.8.1
mini_magick 4.5.1
multi_xml 0.6.0
rubyzip 1.2.1
security 0.1.3
xcpretty-travis-formatter 0.0.4
bundler 1.14.6
faraday_middleware 0.11.0.1
plist 3.3.0

generated on: 2017-05-25

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 27 (4 by maintainers)

Most upvoted comments

Same issue with Ionic project. For the CI server, I am using the update_project_codesigning plugin which is deprecated but enables you to set an environment variable (FL_PROJECT_SIGNING_FORCE_UPGRADE) to upgrade your project and the needed TargetAttributes. It would be great to have the same possibility on the automatic_code_signing action.

Same Issue with ionic project on my side.

@janpio Thanks for that! I’ll have to try it out to see if it works for us. I literally just hit publish on my blog post on how to setup Fastlane with Ionic: https://joshstrange.com/setting-up-fastlane-with-ionic-cordova-apps/ and ended up writing a little cordova hook to “Upgrade” my XCode project just enough to make it all work: https://gist.github.com/joshstrange/cfb4128f1be7ac60c22a41dad98ea68a#file-add_target_attributes_and_push_notification_cap-js (Mine also adds Push Notification Cap)

That would be great to get in automatic_code_signing action

It seems like this issue might be related to code signing 🚫

Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues 👍