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)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 3
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file HOT 1
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 10
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in China’s ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift HOT 1
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.