quikkly / ios-sdk Goto Github PK
View Code? Open in Web Editor NEWQuikkly's Smart Scannable Codes for iOS
Home Page: https://quikklycodes.com
License: Other
Quikkly's Smart Scannable Codes for iOS
Home Page: https://quikklycodes.com
License: Other
Hi,
I'm trying to use with Xcode 9.3 / iOS 11.3 and it keeps throwing me this error.
Quikkly iOS SDK 3.4.17
use deprecated UIWebView APIs, which trigger App Store Connect issue during deployment:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
The App Store will no longer accept new apps using UIWebView as of April 2020, please fix asap.
Source: https://developer.apple.com/news/?id=12232019b
Sorry to be posting this here, but I contacted Quikkly through the website's contact page (last week) and I have no idea if it went through or was received. Any response is appreciated, thanks!
Hi Quikkly Developers,
We are having a camera distortion issue on android and sometimes it's difficult to scan. Do you have codes in your sdk so that we can configure the camera?
Any solution for the difficulty scanning issue?
Thank you very much!
After the app compiles it immediately crashes with the output:
dyld: Symbol not found: _OBJC_CLASS_$__TtCs12_SwiftObject Referenced from: /Users/username/Library/Developer/CoreSimulator/Devices/03FA2F79-5472-4109-A1D6-3210916BCA3A/data/Containers/Bundle/Application/579F287E-9127-481B-B832-496AC62A4F17/App.app/Frameworks/Quikkly.framework/Quikkly Expected in: /Users/username/Library/Developer/CoreSimulator/Devices/03FA2F79-5472-4109-A1D6-3210916BCA3A/data/Containers/Bundle/Application/579F287E-9127-481B-B832-496AC62A4F17/App.app/Frameworks/libswiftCore.dylib in /Users/username/Library/Developer/CoreSimulator/Devices/03FA2F79-5472-4109-A1D6-3210916BCA3A/data/Containers/Bundle/Application/579F287E-9127-481B-B832-496AC62A4F17/App.app/Frameworks/Quikkly.framework/Quikkly (lldb)
Using the latest version with Xcode 12.4.1, This error comes while building the project
Failed to build module 'Quikkly' from its module interface; the compiler that produced it, 'Apple Swift version 5.2 (swiftlang-1103.0.32.1 clang-1103.0.32.29)', may have used features that aren't supported by this compiler, 'Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28
)'
Whenever the ScanView
start
method is called, a large amount of processing is done on the main thread. Even on the latest iOS devices, there is an extremely noticeable ~1 second lag when the app "freezes" because the main thread is blocked up.
I understand that some of the work done by the start
method such as inserting the preview layer, etc. needs to happen on the main thread but could a majority of the CPU-intensive work be pushed to a background thread instead?
Now that the Xcode 11 & Swift 5.1 compiler GM has been released is there any ETA on a new Quikkly version that is compatible with these and iOS 13?
The latest release isn't compatible with the Swift 5 compiler or Xcode 10.2
It shows an error when it tries to compile: "Module compiled with Swift 3.1 cannot be imported in Swift 3.2: /Quikkly.framework/Modules/Quikkly.swiftmodule/arm64.swiftmodule"
Trying to use Quikkly with Xcode 11.2 results in the error "Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1.2 compiler"
Ideally it would be great if Quikkly could be packaged as an XCFramework which would avoid this incompatibility that happens with each new Xcode release
After upgrading to Xcode Version 11.4 (11E146)
I now get these compile errors...
Swift Compiler Error Group
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:12:52: 'ScanView' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:12:103: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:20:43: 'ScanViewDelegate' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:51:38: 'ScannableSkin' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:53:37: 'ScannableSkin' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:54:41: 'QKScannableSkinJoinOption' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:64:41: 'Quikkly' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:77:78: 'ScannableView' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:78:62: 'ScannableView' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:81:43: 'ScannableViewDelegate' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:82:39: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:83:11: '@objc' getter for non-'@objc' property
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:84:11: '@objc' setter for non-'@objc' property
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:87:66: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:102:113: 'UIImageColors' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:103:86: 'UIImageColors' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:119:85: 'ScannablePipelineResult' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:119:131: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:122:43: 'ScannablePipelineDelegate' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:123:72: 'ScannablePipelineResult' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:123:106: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:130:71: 'ScanViewDelegate' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:163:34: 'ScannableSkin' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:171:103: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:172:83: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:173:121: 'ScannableSkin' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:173:180: 'Scannable' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:174:103: 'ScannableSkin' is not a member type of 'Quikkly'
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/Frameworks/Quikkly.framework/Modules/Quikkly.swiftmodule/arm64-apple-ios.swiftinterface:58:31: 'Quikkly' declared here
/Users/WI027RO/Library/Mobile Documents/comappleCloudDocs/projects/FollowMe_20191102/FollowMe/SharedInstances/FMMScanCode.swift:10:8: Failed to load module 'Quikkly'
Is it possible to remove view with Loading/scanning on bottom?
When using the most recent XCFramework code scanning from a camera feed does not work at all. No delegate methods are called and neither are any scanning errors reported anywhere.
I am using the ScanView
class and the camera feed displays correctly, it just seems that the scanning has some sort of error.
When I first noticed this issue I saw some log error messages which seemed to suggest the SDK was failing it's authentication but I haven't been able to reproduce this error message again.
When attempting to archive our project for release we see the following error:
ld: bitcode bundle could not be generated because '/Users/vagrant/Library/Developer/Xcode/DerivedData/Project-heeuexlghjiidbahguutiqobfcik/Build/Intermediates.noindex/ArchiveIntermediates/Project Production/BuildProductsPath/Release-iphoneos/Quikkly.framework/Quikkly' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/vagrant/Library/Developer/Xcode/DerivedData/Project-heeuexlghjiidbahguutiqobfcik/Build/Intermediates.noindex/ArchiveIntermediates/Project Production/BuildProductsPath/Release-iphoneos/Quikkly.framework/Quikkly' for architecture arm64
We also cannot compile our project on any of our newer MacBooks that contain an Apple Silicon chip because Quikkly is missing the arm64 slice for the simulator. Currently we have to run Xcode in Rosetta to be able to compile the project.
We'd really like to be able to keep Bitcode on and to be able to compile our project using our new MacBooks without Rosetta. Please can you recompile the Quikkly framework as a proper xcframework containing all of the required slices.
Each time I run the test app i have created, it crashes with the error :
Thread 4: EXC_BAD_ACCESS (code=1, address=0x113f78000)
When the app reaches this line :
Scannable.detect(inImage: image.cgImage!) { (scannables) in
I am trying to pass a CGImage directly without the use of the scan view.
Since this framework is served as a precompiled Swift binary, it currently can not be used with the latest Xcode 10 and Swift 4.2 compiler.
Can the next version release please be built with the latest Xcode so that apps using Quikkly can work with the iOS 12 SDK?
Hi there. I'm trying to use this for a project at the moment and I'm using a custom blueprint generated from your developer portal and I'm getting Library version 3.2.0 is incompatible with blueprint version 1.7.0.
when trying to use it. Is there anything I can do to fix it?
As part of the implementation for this issue, another bug has been introduced.
Something very strange is now happening with some UI code when run from the scanView(_ scanView: ScanView, didDetectScannables scannables: [Scannable])
callback method. For example, calling the present
method to show a new view controller takes >1 second for the app to respond.
I've used Instruments to profile my app and it seems that for some reason, even when the UI code is called in a DispatchQueue.main.async
block, the main thread is idling and does no work for a period of time. Perhaps the main thread is being put to sleep at some point by Quikkly? And identical project configuration works fine with version 3.4.5.
If we want to change the image associated with a scannable, how do we refresh the image?
I noticed that you can set skin.imageURI
to either a local or remote URI, and setting it to a local one then calling reload()
works well, but when we change the image at a certain remote URI, it seems that the Scannable skin is caching the image value for that URI.
If this is correct, how do we clear the cache for a remote image URI?
I'm trying to use the Quikkly SDK for iOS (with Obj-C project). I created a sample project, integrated pods into it and made my ViewController derive from QKScanViewController. I created the override scanViewDidRequestCameraWithStatus
method in my ViewController as well.
The code compiles and runs on the device. However, it crashes as soon as I run it with the following error:
Reason: image not found
I've already set the API key and blue-print filename in the appdelegate class:
QKQuikkly.apiKey = @"MY_ACTUAL_KEY";
QKQuikkly.blueprintFilename = @"custom_blueprint";
What am I doing wrong?
After install and build the project
Quikkly.framework/
Quikkly.framework/Assets.car
Quikkly.framework/Default-Blueprint.json
Quikkly.framework/Info.plist
Quikkly.framework/Quikkly
sent 13388348 bytes received 114 bytes 26776924.00 bytes/sec
total size is 13386361 speedup is 1.00
fatal error: lipo: -remove's specified would result in an empty fat file
swift 3.1
ios 10.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.