Integrating with Carthage
Once we add your GitHub username to our organization, add the following line to your project
github "Dyneti/dyscan-ios-carthage-5_1" "1.0.2"
github "Dyneti/dyscan-ios-carthage-5_0" "1.0.2"
github "Dyneti/dyscan-ios-carthage-4_2" "0.9.0"
In a terminal in the same directory as the
$ carthage update
In Xcode, make sure
$(PROJECT_DIR)/Carthage/Build/iOSis in your project's framework search paths (in build settings). Then, include
Carthage/Build/iOS/DyScan.frameworkin your project's Linked Frameworks and Binaries (this is in the general settings).
If you have not set up the Carthage
copy-frameworksrun script, follow the steps here to do so. This ensures that the simulator-only components of the framework are stripped out before deploying to the app store.
$(SRCROOT)/Carthage/Build/iOS/DyScan.frameworkto your project's
input.xcfilelist, and add
$(BUILT_PRODUCTS_DIR)/$(FRAMEWORKS_FOLDER_PATH)/DyScan.frameworkto your project's
output.xcfilelist. Alternatively, you can include these as input and output files, respectively, to the run script phase that runs
If your app does not already ask for camera permissions, add the key “NSCameraUsageDescription” (Privacy - Camera Usage Description) to your app's Info.plist file. You should set the value to be the string a user sees when they are prompted for the camera permission (e.g. To scan credit cards).