{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5467","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5467/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5467/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5467/events","html_url":"https://github.com/fastlane/fastlane/issues/5467","id":166778655,"number":5467,"title":"Always get `Transportation Failed` for App Extension Target","user":{"login":"macbaszii","id":809559,"avatar_url":"https://avatars.githubusercontent.com/u/809559?v=3","gravatar_id":"","url":"https://api.github.com/users/macbaszii","html_url":"https://github.com/macbaszii","followers_url":"https://api.github.com/users/macbaszii/followers","following_url":"https://api.github.com/users/macbaszii/following{/other_user}","gists_url":"https://api.github.com/users/macbaszii/gists{/gist_id}","starred_url":"https://api.github.com/users/macbaszii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macbaszii/subscriptions","organizations_url":"https://api.github.com/users/macbaszii/orgs","repos_url":"https://api.github.com/users/macbaszii/repos","events_url":"https://api.github.com/users/macbaszii/events{/privacy}","received_events_url":"https://api.github.com/users/macbaszii/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/awaiting-reply","name":"awaiting-reply","color":"bfe5bf"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/pilot","name":"pilot","color":"c7def8"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-21T09:44:36Z","updated_at":"2016-07-27T21:45:24Z","closed_at":null,"body":"### Issue Description\r\n\r\nI always get this error while the app is successfully built and being sent to iTunes Connect.\r\nIt's about `App Extension Target` (I have a Sharing Extension in my app)\r\nI tried everything that I've found via Google such as\r\n\r\nRun this script in Extension Target\r\n```\r\ncd \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/\"\r\nif [[ -d \"Frameworks\" ]]; then\r\nrm -fr Frameworks\r\nfi\r\n```\r\n\r\nor Change `Embedded Content Contains Swift Code` flag in Extension Target's build settings to `NO`\r\n\r\nThese solutions don't work for me.\r\nI run the fastlane command both on my Macbook Air and on CircleCI, all failed.\r\nif you want some more informations, please tell me.\r\nThanks in advance.\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\n[15:45:35]: Successfully exported and compressed dSYM file\r\n[15:45:35]: Successfully exported and signed the ipa file:\r\n[15:45:35]: /Users/iMacbaszii/Desktop/Oozou/playground-ios/Playground.ipa\r\n[15:45:35]: -------------------\r\n[15:45:35]: --- Step: pilot ---\r\n[15:45:35]: -------------------\r\n[15:45:35]: Login to iTunes Connect (desk@joinplayground.com)\r\n[15:45:40]: Login successful\r\n[15:45:40]: Ready to upload new build to TestFlight (App: 1073036392)...\r\n[15:45:41]: Going to upload updated app to iTunes Connect\r\n[15:45:41]: This might take a few minutes, please don't interrupt the script\r\n[15:48:26]: [Transporter Error Output]: ERROR ITMS-90205: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles.\"\r\n[15:48:26]: [Transporter Error Output]: ERROR ITMS-90206: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'.\"\r\n[15:48:27]: Transporter transfer failed.\r\n[15:48:27]: \r\n[15:48:27]: ERROR ITMS-90205: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles.\"\r\nERROR ITMS-90206: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'.\"\r\n[15:48:27]: ERROR ITMS-90205: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed nested bundles.\"\r\nERROR ITMS-90206: \"Invalid Bundle. The bundle at 'Playground Staging.app/PlugIns/Playground.appex' contains disallowed file 'Frameworks'.\"\r\nReturn 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'.\"\r\nThe call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.\r\n[15:48:27]: Variable Dump:\r\n[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\"}\r\n[15:48:27]: Error uploading ipa file, for more information see above\r\n[15:48:27]: Sending Crash/Success information. More information on: https://github.com/fastlane/enhancer\r\n[15:48:27]: No personal/sensitive data is sent. Only sharing the following:\r\n[15:48:27]: {:fastlane_version=>1, :default_platform=>1, :cocoapods=>1, :sigh=>2, :gym=>1, :pilot=>1}\r\n[15:48:27]: pilot\r\n[15:48:27]: This information is used to fix failing actions and improve integrations that are often used.\r\n[15:48:27]: You can disable this by adding `opt_out_usage` to your Fastfile\r\n\r\n+------+-------------------------------------+-------------+\r\n|                     fastlane summary                     |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action                              | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1    | Verifying required fastlane version | 0           |\r\n| 2    | default_platform                    | 0           |\r\n| 3    | cocoapods                           | 18          |\r\n| 4    | sigh                                | 77          |\r\n| 5    | sigh                                | 14          |\r\n| 6    | gym                                 | 1090        |\r\n| 7    | pilot                               | 171         |\r\n+------+-------------------------------------+-------------+\r\n\r\n[15:48:27]: fastlane finished with errors\r\n```\r\n\r\n### Configuration Files\r\n\r\nFastfile:\r\n```ruby\r\nfastlane_version \"1.96.0\"\r\n\r\ndefault_platform :ios\r\n\r\nplatform :ios do\r\n  before_all do\r\n    cocoapods unless Helper.is_ci?\r\n    ENV['KEYCHAIN_NAME'] = \"TempKeychain.keychain\"\r\n    # increment_build_number\r\n    # xctool # run the tests of your app\r\n  end\r\n  \r\n  desc \"Submit a new Internal Build to Apple TestFlight\"\r\n  lane :staging do\r\n    import_certificates\r\n\r\n    udid = sigh(app_identifier: \"com.joinplayground.staging\", output_path: \"/tmp\", adhoc: false)\r\n    ENV[\"PROFILE_UUID\"] = udid\r\n\r\n    udid = sigh(app_identifier: \"com.joinplayground.staging.share\", output_path: \"/tmp\", adhoc: false)\r\n    ENV[\"SHARE_EXTENSION_UUID\"] = udid\r\n\r\n    gym(scheme: \"PlaygroundStaging\") # Build your app - more options available\r\n    pilot(skip_submission: true, skip_waiting_for_build_processing: true)\r\n\r\n    # sh \"your_script.sh\"\r\n    # You can also use other beta testing services here\r\n  end\r\n\r\n  def import_certificates\r\n    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\r\n\r\n    create_keychain(\r\n      name: ENV[\"KEYCHAIN_NAME\"],\r\n      default_keychain: true,\r\n      unlock: true,\r\n      timeout: 3600,\r\n      lock_when_sleeps: true,\r\n      password: ENV[\"KEYCHAIN_PASSWORD\"]\r\n    )\r\n\r\n    import_certificate(\r\n      certificate_path: \"fastlane/certificates/distribution.p12\",\r\n      certificate_password: ENV['CERT_PASSWORD'],\r\n      keychain_name: ENV[\"KEYCHAIN_NAME\"]\r\n    )\r\n\r\n  end\r\nend\r\n```\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): `1.98`\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? `NO`\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? `NO`\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/235731204","html_url":"https://github.com/fastlane/fastlane/issues/5467#issuecomment-235731204","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5467","id":235731204,"user":{"login":"TKBurner","id":1987108,"avatar_url":"https://avatars.githubusercontent.com/u/1987108?v=3","gravatar_id":"","url":"https://api.github.com/users/TKBurner","html_url":"https://github.com/TKBurner","followers_url":"https://api.github.com/users/TKBurner/followers","following_url":"https://api.github.com/users/TKBurner/following{/other_user}","gists_url":"https://api.github.com/users/TKBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/TKBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TKBurner/subscriptions","organizations_url":"https://api.github.com/users/TKBurner/orgs","repos_url":"https://api.github.com/users/TKBurner/repos","events_url":"https://api.github.com/users/TKBurner/events{/privacy}","received_events_url":"https://api.github.com/users/TKBurner/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T21:45:24Z","updated_at":"2016-07-27T21:45:24Z","body":"@macbaszii Can you let me know more about your frameworks file? It seems like that is why your project is getting rejected. Thanks!"}}
{"actor":{"display_login":"TKBurner"}}