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

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

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

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

@ -18,23 +18,19 @@ class Screenshots: XCTestCase {
snapshot("0Launch")
app.buttons["GET STARTED"].tap()
snapshot("1Create Wallet")
app.tables.staticTexts["Demo"].tap()
snapshot("3Transactions")
snapshot("1CreateWallet")
sleep(4)
app.navigationBars["New Wallet"].buttons["Demo"].tap()
app.buttons["Send"].tap()
snapshot("2SendAndReceive")
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("2SendRequest")
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)
snapshot("4Tokens")
}
}

@ -30,18 +30,6 @@ xcode-select --install
# Available Actions
## 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
```
fastlane ios release

@ -2,7 +2,7 @@
# A list of devices you want to take the screenshots from
devices([
"iPhone 7",
#{}"iPhone 7",
"iPhone 7 Plus",
#{}"iPhone 5",
#{}"iPad Pro (12.9-inch)",
@ -23,11 +23,13 @@ scheme "TrustUITests"
# Where should the resulting screenshots be stored?
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"
# clean true
skip_open_summary false
# Choose which project/workspace to use
# project "./Project.xcodeproj"
# workspace "./Project.xcworkspace"

@ -2,6 +2,7 @@
"device_frame_version": "latest",
"default": {
"keyword": {
"color": "#d21559"
},
"title": {
"color": "#FFFFFF"
@ -16,12 +17,33 @@
"data": [
{
"filter": "Launch",
"keyword": {
"color": "#d21559"
},
"title": {
"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