Coder Social home page Coder Social logo

Comments (7)

gelodgreat avatar gelodgreat commented on January 30, 2023 2

Actually for Xcode 13 I had in fastfile: ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'true'

For Xcode 14.0.1 I turned it to false to get rid of the problem: ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'false'

For 14.1 this change didn't help.

@digimatic , that seems to be the issue, fixed it on my side just set it to fase

from fastlane.

fastlane-bot avatar fastlane-bot commented on January 30, 2023

It seems like you have not included the output of fastlane env
To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env 👍

from fastlane.

digimatic avatar digimatic commented on January 30, 2023

I get the same error now since upgrading Xcode from 13 to 14.1.

Error uploading '/var/folders/p1/w86d2xc54t725hm36zs5pc340000gn/T/d20221201-72484-3fjlfg/1549879626-6766adc4-41db-4626-9bd6-e0dfd32437b7.itmsp'. Could not determine the package’s bundle ID. The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017) The call to the altool completed with a non-zero exit status: 1. This indicates a failure. Could not download/upload from App Store Connect!
Fastlane env:

🚫 fastlane environment 🚫

Stack

Key Value
OS 13.0.1
Ruby 2.7.2
Bundler? false
Git git version 2.37.1 (Apple Git-137.1)
Installation Source ~/.rbenv/versions/2.7.2/bin/fastlane
Host macOS 13.0.1 (22A400)
Ruby Lib Dir ~/.rbenv/versions/2.7.2/lib
OpenSSL Version OpenSSL 1.1.1i 8 Dec 2020
Is contained false
Is homebrew false
Is installed via Fabric.app false
Xcode Path /Applications/Xcode.app/Contents/Developer/
Xcode Version 14.1
Swift Version 5.7.1

System Locale

Error
No Locale with UTF8 found 🚫

fastlane files:

`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do

  lane :publish_beta do |options|
    desc "Beta iOS build to TestFlight channel xxx Beta"

    api_key = app_store_connect_api_key(
      key_id: "xxxx",
      issuer_id: "xxxx",
      key_filepath: ENV["HOME"]+"/gitlab-runner/AuthKey_xxx.p8",
      duration: 1200, # optional
      in_house: false, # optional but may be required if using match/sigh
    )

    match(
      api_key: api_key,
      type: "appstore",
      app_identifier: [ xxxx ],
      readonly: false)

    increment_build_number(
      build_number: options[:build_number],
      xcodeproj: "../Builds/ios-#{options[:build_mode]}/xxxiOS-#{options[:build_mode]}/Unity-iPhone.xcodeproj"
    )

    # pickup release notes created by build.py
    release_notes = File.read(options[:release_notes])
    print("release notes: \n #{release_notes}\n")

    build_app(
      workspace: "../Builds/ios-#{options[:build_mode]}/xxxiOS-#{options[:build_mode]}/Unity-iPhone.xcworkspace",
      scheme: "Unity-iPhone",
      clean: false,
      xcargs: 'ONLY_ACTIVE_ARCH=NO USYM_UPLOAD_AUTH_TOKEN=dummy',
      configuration: options[:build_mode].capitalize(),
      output_directory: "./output",
      archive_path: "../Builds/ios-#{options[:build_mode]}/XXXiOS-#{options[:build_mode]}/XXX-BETA.xcarchive"
    )

    ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'false'

    upload_to_testflight(
      app_identifier: "xxx",
      api_key: api_key
      #changelog: release_notes
    )

    #slack(message: "Successfully distributed a new beta build")
  end


end
`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address


# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem Version Update-Status
fastlane 2.211.0 Up-To-Date

Loaded fastlane plugins:

No plugins Loaded

Loaded gems
Gem Version
did_you_mean 1.6.1
rouge 2.0.7
xcpretty 0.3.0
terminal-notifier 2.0.0
terminal-table 1.8.0
plist 3.6.0
multipart-post 2.0.0
word_wrap 1.0.0
optparse 0.1.1
tty-screen 0.8.1
tty-cursor 0.7.1
tty-spinner 0.9.3
artifactory 3.0.15
babosa 1.0.4
colored 1.2
highline 2.0.3
commander 4.6.0
faraday-cookie_jar 0.0.7
gh_inspector 1.1.3
mini_magick 4.11.0
naturally 2.2.1
security 0.1.3
xcpretty-travis-formatter 1.0.1
simctl 1.6.8
uri 0.11.0
rexml 3.2.5
nanaimo 0.3.0
colored2 3.1.2
claide 1.1.0
CFPropertyList 3.0.5
atomos 0.1.3
xcodeproj 1.22.0
unicode-display_width 1.8.0
public_suffix 5.0.0
addressable 2.8.1
excon 0.94.0
ruby2_keywords 0.0.5
faraday-retry 1.0.3
faraday-rack 1.0.0
faraday-patron 1.0.0
faraday-net_http_persistent 1.2.0
faraday-net_http 1.0.1
faraday-multipart 1.0.4
faraday-httpclient 1.0.1
faraday-excon 1.1.0
faraday-em_synchrony 1.0.0
faraday-em_http 1.0.0
faraday 1.10.2
unf_ext 0.0.8.2
unf 0.1.4
domain_name 0.5.20190701
http-cookie 1.0.5
faraday_middleware 1.2.0
fastimage 2.2.6
json 2.6.2
rubyzip 2.3.2
dotenv 2.8.1
bundler 2.3.22
jwt 2.5.0
webrick 1.7.0
httpclient 2.8.3
multi_json 1.15.0
signet 0.17.0
os 1.1.4
memoist 0.16.2
googleauth 1.3.0
mini_mime 1.1.2
retriable 3.1.2
trailblazer-option 0.1.2
declarative 0.0.20
uber 0.1.0
representable 3.2.0
google-apis-core 0.9.1
google-apis-playcustomapp_v1 0.12.0
google-apis-androidpublisher_v3 0.31.0
rake 13.0.6
digest-crc 0.6.4
google-apis-storage_v1 0.19.0
google-apis-iamcredentials_v1 0.16.0
google-cloud-errors 1.3.0
google-cloud-env 1.6.0
google-cloud-core 1.6.0
google-cloud-storage 1.44.0
emoji_regex 3.2.3
aws-eventstream 1.2.0
aws-sigv4 1.5.2
aws-partitions 1.666.0
jmespath 1.6.2
aws-sdk-core 3.168.1
aws-sdk-kms 1.59.0
aws-sdk-s3 1.117.1
forwardable 1.3.2
logger 1.5.1
cgi 0.3.2
date 3.2.2
timeout 0.3.0
stringio 3.0.2
openssl 3.0.1
ipaddr 1.2.4
zlib 2.1.1
mutex_m 0.1.1
connection_pool 2.2.5
net-http-persistent 4.0.1
patron 0.13.3
ostruct 0.5.5
strscan 3.0.4
io-console 0.5.11
delegate 0.2.0
fileutils 1.6.0
singleton 0.1.1
open3 0.1.1
yaml 0.2.0
psych 4.0.5

generated on: 2022-12-02

I noticed that the .ipa is in a folder under the itmsp in the error message. Maybe it is trying to upload the folder and not the ipa under it??

$ ls /var/folders/p1/w86d2xc54t725hm36zs5pc340000gn/T/d20221201-72484-3fjlfg/1549879626-6766adc4-41db-4626-9bd6-e0dfd32437b7.itmsp
8e31ebb7e9f2c60401561fd692fd4eb2d11baec0254a989e3bb43303e978ba7c.ipa
metadata.xml

from fastlane.

jasonbekolay avatar jasonbekolay commented on January 30, 2023

I'm experiencing this as well. Also upgrading from Xcode 13 to 14.1.

from fastlane.

digimatic avatar digimatic commented on January 30, 2023

I tried downgrading to Xcode 14.0.1, then the problem disappears. So it is a problem new to Xcode 14.1.

from fastlane.

gelodgreat avatar gelodgreat commented on January 30, 2023

I tried downgrading to Xcode 14.0.1, then the problem disappears. So it is a problem new to Xcode 14.1.

i did try downgrading to XCode 14.0.1 and its still failing.

from fastlane.

digimatic avatar digimatic commented on January 30, 2023

Actually for Xcode 13 I had in fastfile:
ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'true'

For Xcode 14.0.1 I turned it to false to get rid of the problem:
ENV['ITMSTRANSPORTER_FORCE_ITMS_PACKAGE_UPLOAD'] = 'false'

For 14.1 this change didn't help.

from fastlane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.