- iPhone/iPad Support
- EAN-13 Barcord Scan
- Drug Preis Comparison Viewer
- Fachinformation/Patienteninformation Viewer
- Side effects Viewer
- Expiry date Saving
https://github.com/zdavatz/generikacc
- Xcode 11
- XCTest (for testing)
- Cocoapods
See Podfile.
- AFNetworking
- JSONKit-NoWarning
- ZBarSDK
- NTMonthYearPicker
Install Cocoapods via brew.
% cd /path/to/generikacc
# install cocoapods via homebrew
% brew install cocoapodsAs next, setup dependencies via Cocoapods.
# you need this only once at first (it takes for a while)
% export RUBYOPT="-E utf-8"
% pod setup
% pod install- Copy the ZurRose certificate to /Generika/ZurRose/client.p12.
- Rename
/Generika/ZurRose/ZurRoseCredential.h.sampleto/Generika/ZurRose/ZurRoseCredential.h, and set the password in the file. - Open
Generika.xcworkspace(notGenerika.xcodeproj) and build it.
- Generate
amiko_db_full_idx_pinfo_de.dbwith cpp2sqlite./cpp2sqlite --lang=de --pinfo
- Put it in Generika/Databases/
You may want to clean before rebuild, if you face something weird problem...
# remove cache and compiled objects, log etc.
% rm -fr ~/Library/Developer/Xcode/DeriveredData
# reset pods
% rm -fr ./Pods
# this may change build configuration of `Pods` as default one
% pod installAnd then click Product > Clean from menu (Shift + Command + K)
It must be same values in Generika and Pods both.
For Pods, after install, Debug value will be turned to YES (as default).
# Generika
Debug Yes
Generika_AppStore No
Release No
# Pods
Debug Yes
Generika_AppStore No
Release No
Check all schemas exists and its are valid from Edit Scheme... and
Manage Schemes.
# Edit Scheme... > Build
▶ Pods-Generika
Generika
▶ GenerikaTests
# Manage Schemes
Generika
AFNetworking
JSONKit-NoWarning
NTMonthYearPicker
Pods-Generika
ZBarSDKRun XCTest.
test-runner script supports multiple versions of iphonesimulator.
# same as OS_VERSION="latest" ./bin/test-runner All, see `test-runner` script
% make test
% OS_VERSION="10.3.1" make test
# run single test case
% OS_VERSION="latest" ./bin/test-runner ProductTests/testInit
% OS_VERSION="10.3.1" ./bin/test-runner ProductTests/testInitAbout target versions, see also matrix in .travis.yml.
GPL-3.0
Generika.cc
Copyright (c) 2012-2017 ywesee GmbHSee LICENSE.txt.