Prepare build for release

pull/2/head
Michael Scoff 7 years ago
parent d3808885e5
commit 038f67be26
  1. 4
      Trust.xcodeproj/project.pbxproj
  2. 2
      Trust/Info.plist
  3. 2
      TrustTests/Info.plist
  4. 2
      TrustUITests/Info.plist
  5. 18
      TrustUITests/Screenshots.swift
  6. 12
      fastlane/README.md
  7. 6
      fastlane/Snapfile
  8. 2
      fastlane/metadata/trade_representative_contact_information/address_line1.txt
  9. 28
      fastlane/screenshots/Framefile.json

@ -1223,6 +1223,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = 9873B38DWV; DEVELOPMENT_TEAM = 9873B38DWV;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Trust/Info.plist; INFOPLIST_FILE = Trust/Info.plist;
@ -1235,6 +1236,7 @@
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 3.0; SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
}; };
name = Debug; name = Debug;
}; };
@ -1245,6 +1247,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = 9873B38DWV; DEVELOPMENT_TEAM = 9873B38DWV;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
INFOPLIST_FILE = Trust/Info.plist; INFOPLIST_FILE = Trust/Info.plist;
@ -1256,6 +1259,7 @@
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_VERSION = 3.0; SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
}; };
name = Release; name = Release;
}; };

@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>2</string> <string>6</string>
<key>ITSAppUsesNonExemptEncryption</key> <key>ITSAppUsesNonExemptEncryption</key>
<false/> <false/>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>

@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>6</string>
</dict> </dict>
</plist> </plist>

@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0</string> <string>1.0</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>1</string> <string>6</string>
</dict> </dict>
</plist> </plist>

@ -18,23 +18,19 @@ class Screenshots: XCTestCase {
snapshot("0Launch") snapshot("0Launch")
app.buttons["GET STARTED"].tap() app.buttons["GET STARTED"].tap()
snapshot("1CreateWallet")
snapshot("1Create Wallet") sleep(4)
app.navigationBars["New Wallet"].buttons["Demo"].tap()
app.tables.staticTexts["Demo"].tap()
snapshot("3Transactions")
app.buttons["Send"].tap() app.buttons["Send"].tap()
XCUIApplication().tables/*@START_MENU_TOKEN@*/.textFields["ETH Amount"]/*[[".cells.textFields[\"ETH Amount\"]",".textFields[\"ETH Amount\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
snapshot("2SendAndReceive") snapshot("2SendRequest")
app.navigationBars["Send ETH"].buttons["Cancel"].tap() app.navigationBars["Send ETH"].buttons["Cancel"].tap()
app.tables.buttons["Show my tokens"].tap() snapshot("3Transactions")
app.tables.buttons["Show my tokens"].tap()
sleep(12) sleep(12)
snapshot("4Tokens") snapshot("4Tokens")
} }
} }

@ -30,18 +30,6 @@ xcode-select --install
# Available Actions # Available Actions
## iOS ## iOS
### ios test
```
fastlane ios test
```
Runs all the tests
### ios beta
```
fastlane ios beta
```
Submit a new Beta Build to Apple TestFlight
This will also make sure the profile is up to date
### ios release ### ios release
``` ```
fastlane ios release fastlane ios release

@ -2,7 +2,7 @@
# A list of devices you want to take the screenshots from # A list of devices you want to take the screenshots from
devices([ devices([
"iPhone 7", #{}"iPhone 7",
"iPhone 7 Plus", "iPhone 7 Plus",
#{}"iPhone 5", #{}"iPhone 5",
#{}"iPad Pro (12.9-inch)", #{}"iPad Pro (12.9-inch)",
@ -23,11 +23,13 @@ scheme "TrustUITests"
# Where should the resulting screenshots be stored? # Where should the resulting screenshots be stored?
output_directory "./fastlane/screenshots" output_directory "./fastlane/screenshots"
# clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones clear_previous_screenshots true # remove the '#' to clear all previously generated screenshots before creating new ones
configuration "Debug" configuration "Debug"
# clean true # clean true
skip_open_summary false
# Choose which project/workspace to use # Choose which project/workspace to use
# project "./Project.xcodeproj" # project "./Project.xcodeproj"
# workspace "./Project.xcworkspace" # workspace "./Project.xcworkspace"

@ -2,6 +2,7 @@
"device_frame_version": "latest", "device_frame_version": "latest",
"default": { "default": {
"keyword": { "keyword": {
"color": "#d21559"
}, },
"title": { "title": {
"color": "#FFFFFF" "color": "#FFFFFF"
@ -16,12 +17,33 @@
"data": [ "data": [
{ {
"filter": "Launch", "filter": "Launch",
"keyword": {
"color": "#d21559"
},
"title": { "title": {
"text": "Private and Secure" "text": "Private and Secure"
} }
},
{
"filter": "CreateWallet",
"title": {
"text": "Create Wallet in one tap"
}
},
{
"filter": "SendRequest",
"title": {
"text": "Send and Request"
}
},
{
"filter": "Transactions",
"title": {
"text": "See your transactions"
}
},
{
"filter": "Tokens",
"title": {
"text": "Track your tokens"
}
} }
] ]
} }

Loading…
Cancel
Save