Giter Site home page Giter Site logo

Comments (11)

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

Hi,

It doesn't matter if your simulator is running. Can you run instruments -s on your mac? Do you have the Xcode command line tools installed?

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@woutergoossens commented

HI,

I get this result when I run instruments -s

Wouter’s MacBook Pro (2) [9F4857F6-36F0-5763-A413-B776FDA7418E]
Resizable iPad (8.1 Simulator) [2AB4CF6A-3185-4B1A-8118-71163CDEA7D4]
Resizable iPhone (8.1 Simulator) [225294A3-9F5D-4F5F-82FB-A67162F13D76]
iPad 2 (8.1 Simulator) [0EDD63D2-CED7-4547-A5E5-05090A1BEDD1]
iPad Air (8.1 Simulator) [DEB4B845-C9E9-43A7-B96B-F05D73BF2BC3]
iPad Retina (8.1 Simulator) [E4369167-9346-40F0-8B9F-090F0AD2B1D2]
iPhone 4s (8.1 Simulator) [5DFCE9DC-0E69-480E-8140-485171A5E08B]
iPhone 5 (8.1 Simulator) [1C88C81B-DA70-4EAF-A369-A072AC50AC9C]
iPhone 5s (8.1 Simulator) [550D234F-F559-49B2-AD6D-1CF516710261]
iPhone 6 (8.1 Simulator) [0335272A-0CB8-4E18-8386-4235432357DB]
iPhone 6 Plus (8.1 Simulator) [38B86F54-5783-404C-8C13-042B89E9554A]
Known Templates:
"Activity Monitor"
"Allocations"
"Automation"
"Blank"
"Cocoa Layout"
"Core Animation"
"Core Data"
"Counters"
"Dispatch"
"Energy Diagnostics"
"File Activity"
"GPU Driver"
"Leaks"
"Multicore"
"Network"
"OpenGL ES Analysis"
"Sudden Termination"
"System Trace"
"System Usage"
"Time Profiler"
"UI Recorder"
"Zombies"

And I have xcode command line tools installed..
"xcode-select: error: command line tools are already installed, use "Software Update" to install updates"

What could be wrong?

Wouter

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

It seems to be related to your Ruby version and system settings.

Could you try running:

sudo gem uninstall snapshot
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
sudo gem uninstall snapshot

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@woutergoossens commented

Thanks. working!

(small remark, last line should be install instead of uninstall).

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

Oh, sorry about that last line.
I'm glad it works 👍

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@martnst commented

FYI: Helped me as well

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

Okay, then I need to find a solution to avoid this problem.

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

I've seen shenzhen seems to be fighting with the same problems.

https://github.com/nomad/shenzhen

For best results, set your environment localization to UTF-8, with $ export LC_ALL="en_US.UTF-8". Otherwise, Shenzhen may return unexpectedly with the error "invalid byte sequence in US-ASCII".

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@KrauseFx commented

Did you use sudo to run snapshot? Maybe sudo is causing the problem.

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@netbe commented

Got same issue:

snapshot --snapfile ./scripts/Snapshot/Snapfile
�[37m[15:23:00]: �[0m#############################################################
�[37m[15:23:00]: �[0m# xctool is recommended to build the apps
�[37m[15:23:00]: �[0m# Install it using 'brew install xctool'
�[37m[15:23:00]: �[0m# Falling back to xcodebuild instead 
�[37m[15:23:00]: �[0m#############################################################
/Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/lib/snapshot/simulators.rb:23:in `split': invalid byte sequence in US-ASCII (ArgumentError)
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/lib/snapshot/simulators.rb:23:in `available_devices'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/lib/snapshot/dependency_checker.rb:23:in `check_simulators'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/bin/snapshot:38:in `block (3 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/bin/snapshot:37:in `chdir'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/bin/snapshot:37:in `block (2 levels) in run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/bin/snapshot:85:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/snapshot-0.10.1/bin/snapshot:91:in `<top (required)>'
    from /usr/bin/snapshot:23:in `load'
    from /usr/bin/snapshot:23:in `<main>'

I've try to uninstall and reinstall as suggested with sudo on yosemite, but did not work

from fastlane.

fastlanebot avatar fastlanebot commented on May 2, 2024
@netbe commented

ok it wsa on a jenkins build slave and putting the two:

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8

in the "[EnvInject] - Injecting as environment variables the properties" of the job solved it.

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.