Coder Social home page Coder Social logo

Hockey upload fails to find dSYM.zip file if there is a space in the filename about fastlane HOT 10 CLOSED

egold avatar egold commented on September 22, 2016

I have a generated dSYM zip file called

./MyAppName Beta.app.dSYM.zip

(note the space in the name)

However, during Hockey upload I get this error:

Symbols not found on path /Users/eric/my-apps-directory/MyAppNameBeta.app.dSYM.zip. Crashes won't be symbolicated properly

(note the lack of a space in the error's description of the filename)

The .dSYM.zip gets generated just fine. I checked the datestamp, unzipped the archive, etc. It just has a space in the name, so the Hockey upload of the dSYM fails.

from fastlane.

Comments (10)

champo avatar champo commented on February 13, 2015

This is wierd, I've just configured hockey to use an app with a space in the name and it doesn't complain. Can you post your Fastile?

from fastlane.

KrauseFx avatar KrauseFx commented on February 13, 2015

fastlane uses shenzhen under the hood to upload builds to hockey.

from fastlane.

egold avatar egold commented on February 13, 2015
# Customise this file, documentation can be found here:
# https://github.com/krausefx/fastlane#customise-the-fastfile

# Change the syntax highlighting to Ruby

# All lines starting with a # are ignored when running `fastlane`

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

  # sh "./customShellScript.sh"

  increment_build_number

  cocoapods

  # xctool
end

lane :test do
  # snapshot
end

lane :beta do
  # snapshot
  sigh
  # deliver :skip_deploy, :beta
  # sh "your_script.sh"
  sh "cd ../;ipa build --scheme \"My Scheme\" --configuration \"AdHoc\" --ipa \"MyIPA.ipa\" "
  hockey({
    api_token: 'XXXXXXXXX',
    ipa: './MyIPA.ipa',
    notes: 'Automatically generated build'
  })
end

lane :deploy do
  # snapshot
  sigh
  # deliver :skip_deploy, :force
  # frameit
end

lane :inhouse do
  # insert your code here
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 for [App](http://link.com).",
  #   success: true,
  #   channel: 'development'
  # })
end


error do |lane, exception|
  # Something bad happened
end

from fastlane.

egold avatar egold commented on February 13, 2015

Ah okay, so this is a shenzhen issue. I posted an issue there: nomad/shenzhen#211

thanks all!

from fastlane.

egold avatar egold commented on February 13, 2015

Actually re-opening, I think it's a fastlane issue in hockey.rb:

        if options[:dsym]
          options[:dsym_filename] = options[:dsym]
        else  
          dsym_path = options[:ipa].gsub("ipa", "app.dSYM.zip")
          if File.exists?(dsym_path)
            options[:dsym_filename] = dsym_path
          else
            Helper.log.info "Symbols not found on path #{File.expand_path(dsym_path)}. Crashes won't be symbolicated properly".yellow
          end
        end

from fastlane.

KrauseFx avatar KrauseFx commented on February 13, 2015

Okay, please just pass the path to your dsym to hockey.

hockeyapp({dsym: "path"})

Also, check out the README, there is now an ipa action, which uses shenzhen to build your app, without having to use sh 'ipa build'

from fastlane.

egold avatar egold commented on February 14, 2015

OK great, thanks @KrauseFx. I'll check into that

from fastlane.

joshdholtz avatar joshdholtz commented on March 4, 2015

@egold Is this issue resolved for you? If not, I can look into it further 😁

from fastlane.

KrauseFx avatar KrauseFx commented on March 4, 2015

Feel free to re-open the issue if you're still experiencing this issue 👍

from fastlane.

egold avatar egold commented on March 5, 2015

Yeah things are fine now that I specify the dsym param like you suggested above. Thanks! 👍

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.