Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #62 from TCA-Team/first-build-and-fastlane-deliver
Browse files Browse the repository at this point in the history
State of the first build on iTunes
  • Loading branch information
kordianbruck committed Mar 23, 2017
2 parents c028d8d + b8962bb commit 0633eed
Show file tree
Hide file tree
Showing 20 changed files with 75 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Carthage/Build
fastlane/report.xml
fastlane/reports/
fastlane/screenshots
fastlane/Deliverfile # We don't want to store an individual users credentials here, so just run fastlane deliver init yourself.
Preview.html # Preview file by deliver
.sonar

# Code Injection
Expand Down
10 changes: 5 additions & 5 deletions AutomatedScreenshots/AutomatedScreenshots.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ class ScreenshotUITests: XCTestCase {
app.navigationBars.buttons.element(boundBy: 0).tap()
tablesQuery.staticTexts["My Lectures"].tap()
snapshot("3_MyLectures")
app.navigationBars["My Lectures"].buttons["More"].tap()
tablesQuery.staticTexts["Room Finder"].tap()
app.navigationBars["Campus.SearchView"].textFields["Search"].typeText("hs1")
sleep(10)
snapshot("4_RoomFinderSearch")
// ToDo: RoomFinder: Wait for callback / results before doing screenshot
// app.navigationBars["My Lectures"].buttons["More"].tap()
// tablesQuery.staticTexts["Room Finder"].tap()
// app.navigationBars["Campus.SearchView"].textFields["Search"].typeText("hs1")
// snapshot("4_RoomFinderSearch")
XCTAssert(true)
}

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ You're welcome to contribute to this app! Just check it out and open PR's for yo
- We have SonarQube to check the code quality at [https://sonarqube.com/dashboard?id=de.tum.in.www.Tum-Campus-App](https://sonarqube.com/dashboard?id=de.tum.in.www.Tum-Campus-App)
- If a PR is coming from a branch from this repository (and not a fork), our [@TCA-Bot](https://travis-ci.org/TCA-Team/iOS) will review the changes automatically
- Use [ci skip] in the commit message if you know there is no need to run a build on Travis

## Publishing a new version
- You can use _fastlane snapshot_ to automatically generate localized screenshots. If you want to add a view, just record a UI Test and add it to the AutomatedScreenshots.swift test
- App Store metadata is managed in the directory _fastlane/metadata/_. Go edit those and they'll be updated on the store with the next release
- Members of the Apple Developer Team of this app can run _fastlane deliver_ to update the metadata on iTunes Connect (run _fastlane deliver init_ first)

## Disclaimer:
This is not an official app of the Technische Universität München. There's no support or warranty (you can however send us an email [[email protected]](mailto:[email protected]) or open an issue here on Github). The app is developed by students and for students, so use it at your own risk. We try to keep your data safe with only using TUMonline tokens and not saving your password. For further information you should have a look at our privacy policy and the terms and conditions of the lecture chat.
Expand Down
10 changes: 5 additions & 5 deletions TUM Campus App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@
TargetAttributes = {
0E424F441BE16DBD00B5DFCB = {
CreatedOnToolsVersion = 7.1;
DevelopmentTeam = ZGV2PY25EN;
DevelopmentTeam = LQ83GZ8GRK;
LastSwiftMigration = 0820;
};
0E424F581BE16DBE00B5DFCB = {
Expand Down Expand Up @@ -1193,7 +1193,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEVELOPMENT_TEAM = ZGV2PY25EN;
DEVELOPMENT_TEAM = LQ83GZ8GRK;
FRAMEWORK_SEARCH_PATHS = (
"$(SRCROOT)/Pods",
"\"$PODS_CONFIGURATION_BUILD_DIR/ASWeekSelectorView\"",
Expand All @@ -1212,7 +1212,7 @@
INFOPLIST_FILE = "TUM Campus App/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "de.tum.in.www.Tum-Campus-App";
PRODUCT_BUNDLE_IDENTIFIER = de.tum.campusapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "TUM Campus App/TUM Campus App-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand All @@ -1228,11 +1228,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
DEVELOPMENT_TEAM = ZGV2PY25EN;
DEVELOPMENT_TEAM = LQ83GZ8GRK;
INFOPLIST_FILE = "TUM Campus App/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "de.tum.in.www.Tum-Campus-App";
PRODUCT_BUNDLE_IDENTIFIER = de.tum.campusapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "TUM Campus App/TUM Campus App-Bridging-Header.h";
SWIFT_VERSION = 3.0;
Expand Down
8 changes: 5 additions & 3 deletions TUM Campus App/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string>The TUM Campus app would like to use your location to Sort Cafeterias and other items. If not they will be in alphabetical order.</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
Expand All @@ -21,14 +19,18 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSCalendarsUsageDescription</key>
<string>The TUM Campus App cann add events to your calendar.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>The TUM Campus App would like to use your location to Sort Cafeterias and other items. If not they will be in alphabetical order.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
Expand Down
20 changes: 7 additions & 13 deletions fastlane/Snapfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
devices([
"iPhone 6",
# "iPhone 6 Plus",
# "iPhone 5",
# "iPad Pro (12.9 inch)",
# "iPad Pro (9.7 inch)",
# "Apple TV 1080p"
"iPhone 5",
"iPhone 6 Plus",
# "iPad Pro (12.9 inch)",
# "iPad Pro (9.7 inch)",
])

languages([
"en-US",
# "de-DE",
"de-DE",
# "en-US",
])

project "TUM Campus App.xcodeproj"
# project "TUM Campus App.xcodeproj"
scheme "Screenshots"
# scheme "TUM Campus App"
configuration "Debug"

output_directory "fastlane/screenshots"
derived_data_path "fastlane/DerivedData"
clear_previous_screenshots true
stop_after_first_error true

# Arguments to pass to the app on launch. See https://github.com/fastlane/snapshot#launch-arguments
# launch_arguments(["-favColor red"])
1 change: 1 addition & 0 deletions fastlane/metadata/copyright.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2017 exgen GbR
34 changes: 34 additions & 0 deletions fastlane/metadata/de-DE/description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Die inoffizielle TUM Campus App (kein Support/Haftung durch die TU München) wird von Studierenden, freiwilligen Helfern und Lehrstuhlmitarbeitern entwickelt. Die App eignet sich sowohl zur Verwendung auf Smartphones, wie auch Tablets und bietet unter anderem folgende Funktionen:

Persönliche Vorlesungstermine, Nachrichten der TUM und anderer Quellen, Veranstaltungshinweise, Mensa Speiseplan, MVV Abfahrtszeiten, Umgebungspläne und viele weiteren Informationen.

Die App ist sowohl für Studierende, wie auch Mitarbeiter gedacht.

Projektmanagement:
TUM - Fakultät für Informatik / F13
Prof. Dr. Uwe Baumgarten
Kordian Bruck

Derzeitige Entwickler (2017):
Mathias Quintero
Max Muth
Florian Gareis


Weitere Entwickler und involvierte Personen:
https://github.com/TCA-Team/iOS

Support: https://www.facebook.com/TUMCampus
Für besondere Anliegen erreichen Sie uns auch via E-Mail unter "tca-support.os.in AT tum.de"

Wichtiger Hinweis:
Dies ist keine offizielle App der Technischen Universität München. Es erfolgt daher auch kein offizieller Support oder eine Haftung. Die App wird von und für Studierende entwickelt. Die Benutzung erfolgt auf eigene Gefahr und eine Haftung ist ausgeschlossen. Aus Sicherheitsgründen wird der Zugriff auf private Daten in TUMonline über Tokens realisiert, die jeweils in TUMonline durch den Nutzer freigegeben und mit den jeweiligen Rechten versehen werden müssen. Für die Nutzung der neuen Chat-Funktionen gelten nachfolgende Bedingungen, denen Sie separat auch in der App zustimmen müssen. Mit der Installation der App akzeptieren Sie zudem die Erfassung diverser, technischer Daten. Weitere Hinweise finden Sie unten unter "Datenschutzerklärung".

Datenschutzerklärung: https://tumcabe.in.tum.de/landing/privacy/

Lizenz:
GNU GPL v3 - http://www.gnu.org/licenses/gpl.html

Der Quellcode kann hier bezogen werden: https://github.com/TCA-Team/

Wir suchen weiterhin Unterstützung! Bitte melden Sie sich unter: "tca-support.os.in AT tum.de"
1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TUM Campus App Guide Technische Universität München Room Finder Mensa
1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/marketing_url.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://tumcabe.in.tum.de/landing/
1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TUM Campus App
1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/privacy_url.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://tumcabe.in.tum.de/landing/privacy/
1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/release_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions fastlane/metadata/de-DE/support_url.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://tca.exgen.io/
1 change: 1 addition & 0 deletions fastlane/metadata/primary_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MZGenre.Education
1 change: 1 addition & 0 deletions fastlane/metadata/primary_first_sub_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions fastlane/metadata/primary_second_sub_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions fastlane/metadata/secondary_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MZGenre.Utilities
1 change: 1 addition & 0 deletions fastlane/metadata/secondary_first_sub_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions fastlane/metadata/secondary_second_sub_category.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 0633eed

Please sign in to comment.