datadome / iossdk-example Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi,
Impossible to build your app example on a simulator (but ok on a true device) with Xcode 12. There are a lot of errors like undefined symbol
about DataDomeAlamofire.
How to fix that ?
Thanks
There's no mention of DataDomeProxyEnabled
in the documentation, only here in the repo README.
According to the function signature, it can receive a nil
:
public func withDataDome(_ sdk: DataDomeSDK.DataDomeSDK?) -> Self
...but, when passing a nil
it produces the following crash:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_TtGCs23_ContiguousArrayStorageCSo23NSURLSessionTaskMetrics_$ allHeaderFields]: unrecognized selector sent to instance 0x7b0c000e6b20'
*** First throw call stack:
(
0 CoreFoundation 0x000000010bc9eb0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010b70a141 objc_exception_throw + 48
2 CoreFoundation 0x000000010bd0e134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010bc25840 ___forwarding___ + 1024
4 CoreFoundation 0x000000010bc253b8 _CF_forwarding_prep_0 + 120
5 DataDomeSDK 0x000000010680a97e $s9Alamofire11DataRequestC0B7DomeSDKE04withbD0yACXDA2DCSgFyAA0B8ResponseVy10Foundation0B0VSgAA7AFErrorOGcfU_ + 478
6 Alamofire 0x0000000104eaaa6c $s9Alamofire11DataRequestC8response5queue17completionHandlerACXDSo012OS_dispatch_E0C_yAA0B8ResponseVy10Foundation0B0VSgAA7AFErrorOGctFyycfU_yycfU_yycfU_yycfU_ + 156
7 Alamofire 0x0000000104ecc8ba $s9Alamofire11DataRequestC8response5queue17completionHandlerACXDSo012OS_dispatch_E0C_yAA0B8ResponseVy10Foundation0B0VSgAA7AFErrorOGctFyycfU_yycfU_yycfU_yycfU_TA + 42
8 Alamofire 0x0000000104dd3794 $sIeg_IeyB_TR + 100
9 libclang_rt.tsan_iossim_dynamic.dylib 0x0000000103f2b53c _ZN6__tsanL24invoke_and_release_blockEPv + 12
10 libclang_rt.tsan_iossim_dynamic.dylib 0x0000000103f2b292 _ZN6__tsanL22dispatch_callback_wrapEPv + 306
11 libdispatch.dylib 0x000000010cbd705c _dispatch_client_callout + 8
12 libdispatch.dylib 0x000000010cbb840b _dispatch_main_queue_callback_4CF + 411
13 CoreFoundation 0x000000010bc63909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
14 CoreFoundation 0x000000010bc29ae4 __CFRunLoopRun + 2164
15 CoreFoundation 0x000000010bc29016 CFRunLoopRunSpecific + 406
16 GraphicsServices 0x000000010eec3a24 GSEventRunModal + 62
17 UIKit 0x0000000107f13134 UIApplicationMain + 159
18 MyApp 0x0000000102c44613 main + 195
19 libdyld.dylib 0x000000010cc2365d start + 1
20 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Podfile (same as the sample app):
pod 'DataDomeSDK', '~> 1.114.0'
pod 'Alamofire', '~> 5.0.0'
iOS Version: 10
Xcode: 11.5 (11E608c)
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.