fastlane: Invalid Swift Support

New Issue Checklist

Issue Description

I’m trying to build a beta version for my app for TestFlight but I get an email from Apple telling me the SwiftSupport folder is missing:

Dear developer,

We have discovered one or more issues with your recent delivery for "Your App". To process your delivery, the following issues must be corrected:

Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

Regards,

The App Store team

Configuration Files

Fastfile:

lane :beta do

    match(type: "appstore")

    increment_build_number(
      xcodeproj: "./ios/yourapp.xcodeproj"
    )

    gym(
      scheme: "yourapp",
      project: "./ios/yourapp.xcodeproj",
      use_legacy_build_api: true
    )


    pilot(
      username: "mymail@gmail.com"
    )

    sh "pilot list -u mymail@gmail.com"
  end

Environment

fastlane 1.104.0

Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No

Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (5 by maintainers)

Most upvoted comments

have you tried disabling use_legacy_api ? - and maybe you need to set toolchain: :swift_2_3 on gym.