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

Always get Transportation Failed for App Extension Target #5467

Closed
macbaszii opened this issue Jul 21, 2016 · 6 comments
Closed

Always get Transportation Failed for App Extension Target #5467

macbaszii opened this issue Jul 21, 2016 · 6 comments

Comments

@macbaszii
Copy link

macbaszii commented Jul 21, 2016

Issue Description

I always get this error while the app is successfully built and being sent to iTunes Connect.
It's about App Extension Target (I have a Sharing Extension in my app)
I tried everything that I've found via Google such as

Run this script in Extension Target

cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
if [[ -d "Frameworks" ]]; then
rm -fr Frameworks
fi

or Change Embedded Content Contains Swift Code flag in Extension Target's build settings to NO

These solutions don't work for me.
I run the fastlane command both on my Macbook Air and on CircleCI, all failed.
if you want some more informations, please tell me.
Thanks in advance.

Complete output when running fastlane, including the stack trace and command used
[15:45:35]: Successfully exported and compressed dSYM file
[15:45:35]: Successfully exported and signed the ipa file:
[15:45:35]: /Users/iMacbaszii/Desktop/Oozou/playground-ios/Playground.ipa
[15:45:35]: -------------------
[15:45:35]: --- Step: pilot ---
[15:45:35]: -------------------
[15:45:35]: Login to iTunes Connect (desk@joinplayground.com)
[15:45:40]: Login successful
[15:45:40]: Ready to upload new build to TestFlight (App: 1073036392)...
[15:45:41]: Going to upload updated app to iTunes Connect
[15:45:41]: This might take a few minutes, please don't interrupt the script
[15:48:26]: [Transporter Error Output]: ERROR ITMS-90205: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles."
[15:48:26]: [Transporter Error Output]: ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'."
[15:48:27]: Transporter transfer failed.
[15:48:27]: 
[15:48:27]: ERROR ITMS-90205: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles."
ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'."
[15:48:27]: ERROR ITMS-90205: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles."
ERROR ITMS-90206: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'."
Return status of iTunes Transporter was 1: ERROR ITMS-90205: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowe\nERROR ITMS-90206: "Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[15:48:27]: Variable Dump:
[15:48:27]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios staging", :SIGH_PROFILE_PATH=>"/tmp/AppStore_com.joinplayground.staging.share.mobileprovision", :SIGH_PROFILE_PATHS=>["/tmp/AppStore_com.joinplayground.staging.mobileprovision", "/tmp/AppStore_com.joinplayground.staging.share.mobileprovision"], :SIGH_UDID=>"d6e707e2-f3e0-48c8-9b0a-78a683d4d750", :SIGH_PROFILE_TYPE=>"app-store", :IPA_OUTPUT_PATH=>"/Users/iMacbaszii/Desktop/Oozou/playground-ios/Playground.ipa", :DSYM_OUTPUT_PATH=>"/Users/iMacbaszii/Desktop/Oozou/playground-ios/Playground.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/Users/iMacbaszii/Library/Developer/Xcode/Archives/2016-07-21/Playground 2016-07-21 15.27.28.xcarchive"}
[15:48:27]: Error uploading ipa file, for more information see above
[15:48:27]: Sending Crash/Success information. More information on: https://github.com/fastlane/enhancer
[15:48:27]: No personal/sensitive data is sent. Only sharing the following:
[15:48:27]: {:fastlane_version=>1, :default_platform=>1, :cocoapods=>1, :sigh=>2, :gym=>1, :pilot=>1}
[15:48:27]: pilot
[15:48:27]: This information is used to fix failing actions and improve integrations that are often used.
[15:48:27]: You can disable this by adding `opt_out_usage` to your Fastfile

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 18          |
| 4    | sigh                                | 77          |
| 5    | sigh                                | 14          |
| 6    | gym                                 | 1090        |
| 7    | pilot                               | 171         |
+------+-------------------------------------+-------------+

[15:48:27]: fastlane finished with errors

Configuration Files

Fastfile:

fastlane_version "1.96.0"

default_platform :ios

platform :ios do
  before_all do
    cocoapods unless Helper.is_ci?
    ENV['KEYCHAIN_NAME'] = "TempKeychain.keychain"
    # increment_build_number
    # xctool # run the tests of your app
  end

  desc "Submit a new Internal Build to Apple TestFlight"
  lane :staging do
    import_certificates

    udid = sigh(app_identifier: "com.joinplayground.staging", output_path: "/tmp", adhoc: false)
    ENV["PROFILE_UUID"] = udid

    udid = sigh(app_identifier: "com.joinplayground.staging.share", output_path: "/tmp", adhoc: false)
    ENV["SHARE_EXTENSION_UUID"] = udid

    gym(scheme: "PlaygroundStaging") # Build your app - more options available
    pilot(skip_submission: true, skip_waiting_for_build_processing: true)

    # sh "your_script.sh"
    # You can also use other beta testing services here
  end

  def import_certificates
    return unless Helper.is_ci? # As in my local machine I don't need to import the certificates, only run if it's in the CI

    create_keychain(
      name: ENV["KEYCHAIN_NAME"],
      default_keychain: true,
      unlock: true,
      timeout: 3600,
      lock_when_sleeps: true,
      password: ENV["KEYCHAIN_PASSWORD"]
    )

    import_certificate(
      certificate_path: "fastlane/certificates/distribution.p12",
      certificate_password: ENV['CERT_PASSWORD'],
      keychain_name: ENV["KEYCHAIN_NAME"]
    )

  end
end

Environment

fastlane version (run fastlane -v): 1.98
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

@macbaszii macbaszii changed the title Always get Transportation Failed for Extension Target Always get Transportation Failed for App Extension Target Jul 21, 2016
@TKBurner
Copy link

Hi @macbaszii Are you able to upload the same ipa to iTunes in other ways without issues? What happens if you pass the ipa directly as a parameter? Thanks!

@macbaszii
Copy link
Author

macbaszii commented Jul 23, 2016

@TKBurner Sometimes I get the same result, but I can eventually release the app manually via Application Loader.

But with Fastlane, both CLI and CircleCI. I always get the error.

@TKBurner
Copy link

@macbaszii Can you let me know more about your frameworks file? It seems like that is why your project is getting rejected. Thanks!

@kcharwood
Copy link
Contributor

I'm seeing this issue as well. Trying to submit an iOS 10 Message Extension for TestFlight

@kcharwood
Copy link
Contributor

Adding this run script to the end of my extension appears to remove this error.

@TKBurner
Copy link

Closing this as a non-fastlane issue.

@fastlane fastlane locked and limited conversation to collaborators Dec 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants