Comments (11)
|
@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.
|
@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.
|
@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.
|
@woutergoossens commented |
Thanks. working!
(small remark, last line should be install instead of uninstall).
from fastlane.
|
@KrauseFx commented |
Oh, sorry about that last line.
I'm glad it works 👍
from fastlane.
|
@martnst commented |
FYI: Helped me as well
from fastlane.
|
@KrauseFx commented |
Okay, then I need to find a solution to avoid this problem.
from fastlane.
|
@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.
|
@KrauseFx commented |
Did you use sudo
to run snapshot
? Maybe sudo
is causing the problem.
from fastlane.
|
@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.
|
@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)
- Problem with Fastlane Build Version Management for iOS HOT 1
- [Deliver] Improve documentation for macOS since the Quick Start results with error HOT 2
- Fastlane snapshot doesn't work on iOS HOT 4
- Issue with get_push_certificate Command on Ruby 3.2 and 3.3 HOT 1
- Error on Device.disable request due to missing teamId in attributes data
- Deliver cannot upload a build with Individual API Key
- get_build_number(xcodeproj: options[:xcodeproject]) returns wrong number HOT 1
- Fastlane ios build fails, but xCode Product Archive succeeds HOT 1
- Assigning groups to app but only last one shows up HOT 2
- [spaceship] update_availability using Deprecated API HOT 1
- Bug: Handling of Version Numbers Ending in .0.0 in Fastlane
- [GYM] Fastlane doesn't generate the correct plist export file when a certain amount of bundleIds are provided
- Xcode 16 beta 3 tests fail as xcresulttool get object is deprecated HOT 5
- CircleCI PR check uses unsupported Ruby version HOT 1
- use rosetta simulator in the lane - fastlane snapshot
- Ruby 3.3.4 falls back to "App" `output_name`, 3.3.3 works fine HOT 1
- xcodebuild fails during fastlane, but same command works outside of fastlane.
- Fastlane Snapshot devices defaults to Mac
- Archive Fails only when invoking fastlane from Remote Jenkins Server works totally fine when done locally or done from Jenkins Localhost
- Update REXML 3.3.2 or greater to resolve denial of service vulnerability
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.