Skip to content

Commit 27ce807

Browse files
author
Alexey
committed
[ISSUE-12] add xcparser for xcode 11
1 parent 0cef390 commit 27ce807

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ Prerequisites:
66
--------
77

88
#### Global
9-
- Install [imagemagick](http://brewformulas.org/Imagemagick).
9+
$ brew install imagemagick
1010

1111
#### Android
12-
- Install [SDK Tools](http://developer.android.com/sdk/installing/index.html?pkg=tools).
13-
- SDK tools are added to your $PATH ([OSX](https://stackoverflow.com/posts/19764254/revisions)).
14-
- Enable [USB Debugging](https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm) on your device(s).
12+
# Install [SDK Tools](http://developer.android.com/sdk/installing/index.html?pkg=tools).
13+
# SDK tools are added to your $PATH ([OSX](https://stackoverflow.com/posts/19764254/revisions)).
14+
# Enable [USB Debugging](https://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android.htm) on your device(s).
1515

1616
#### iOS
17-
- Install [Xcode](https://developer.apple.com/xcode/download/).
18-
- Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html).
19-
- Install [ideviceinstaller](http://brewformulas.org/Ideviceinstaller).
17+
# Install [Xcode](https://developer.apple.com/xcode/download/)
18+
# Install [Xcode Command Line Tools](http://railsapps.github.io/xcode-command-line-tools.html)
19+
$ brew install ideviceinstaller
20+
$ brew install chargepoint/xcparse/xcparse
2021

2122
Installation:
2223
------
@@ -32,16 +33,16 @@ Usage:
3233
or
3334
$ skeleton scan -p ios -b "your_app_bundle_id"
3435
4. Open page with the generated screen objects on your favorite language
35-
36+
3637
For more info use:
3738
$ skeleton -h
3839
$ skeleton scan -h
39-
40+
4041
Demo:
4142
------
4243

4344
![Skeleton example](docs/skeleton_example.png)
44-
45+
4546
Docs:
4647
------
4748

lib/skeleton/ios.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ def check_bundle
184184

185185
def save_screenshot
186186
Log.info('Saving screenshot 📷')
187-
png_path = "#{XCRESULTS_FOLDER}/Attachments/*.png"
187+
png_path = "#{ATTACHMENTS_FOLDER}/*.png"
188188
new_path = "#{ATTACHMENTS_FOLDER}/ios_#{TIMESTAMP}.png"
189+
`xcparse screenshots #{XCRESULTS_FOLDER} #{ATTACHMENTS_FOLDER}`
189190
screenshots = Dir[png_path].collect { |png| File.expand_path(png) }
190191
FileUtils.cp(screenshots[0], new_path)
191192
FileUtils.rm_rf(XCRESULTS_FOLDER)

lib/skeleton/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Skeleton
2-
VERSION ||= '0.1.18'.freeze
2+
VERSION ||= '0.1.19'.freeze
33
GEM_NAME ||= 'skeleton-ui'.freeze
44
end

0 commit comments

Comments
 (0)