GithubHelp home page GithubHelp logo

virgilsecurity / virgil-sdk-x Goto Github PK

View Code? Open in Web Editor NEW
27.0 18.0 5.0 54.4 MB

Virgil Core SDK allows developers to get up and running with Virgil Cards Service API quickly and add end-to-end security to their new or existing digital solutions to become HIPAA and GDPR compliant and more.

Home Page: https://virgilsecurity.com/

License: Other

Objective-C 20.79% Ruby 0.13% Swift 78.64% Shell 0.44%
carthage cocoapods swift cryptography pki sdk end-to-end-encryption encryption gdpr hipaa

virgil-sdk-x's People

Contributors

imarina avatar mariiamalitska avatar minenordlicht avatar ogerets avatar p-orbitum avatar rebeccaly avatar sanjodeundiak avatar scratch-net avatar sergeyseroshtan avatar yaros8t avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

virgil-sdk-x's Issues

XCode 14.X Library not loaded error

Hi @SergeySeroshtan,

I'm not sure if this is the correct repo to raise the issue.

I am getting a library not found error when compiling our app on XCode 14.2 or 14.3, please see below:

dyld[83764]: Library not loaded: @rpath/VirgilCrypto.framework/VirgilCrypto
  Referenced from: <1DA6F60D-DCD2-3BEA-A398-6AC15CA41760> /Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/ClaySDK.framework/ClaySDK
  Reason: tried: '/Users/denisgalitsyn/Library/Developer/Xcode/DerivedData/guestApp-glsgagohkradmoellyszixviczpi/Build/Products/Debug-iphonesimulator/VirgilCrypto.framework/VirgilCrypto' (no such file), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file), '/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file), '/usr/lib/swift/VirgilCrypto.framework/VirgilCrypto' (no such file, not in dyld cache), '/Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/VirgilCrypto.framework/VirgilCrypto' (no such file), '/Users/denisgalitsyn/Library/Developer/CoreSimulator/Devices/7BC75890-E0B9-4EDA-8623-124807D54429/data/Containers/Bundle/Application/F97D0BD9-E516-4DA7-9E14-F522CDB2E5B4/guestApp.app/Frameworks/ClaySDK.framework/Frameworks/VirgilCrypto.framework/VirgilCrypto' (no s

etc

This library is included by another dependency we use. However, not matter what I try, I am always get this error. However when I check the derived data folder, there is a VirgilCrypto folder with the following files in there:
96 24 May 13:09 Swift Compatibility Header
316 24 May 10:09 VirgilCrypto-umbrella.h
356 24 May 13:09 VirgilCrypto.modulemap
192 24 May 13:09 VirgilCrypto.swiftmodule
644696 24 May 13:09 libVirgilCrypto.a

This is a react native project, so not sure if this is something to go by. I am not an ios dev so not sure how to proceed here. Do you have any idea?

Regards, Denis.

dyld: Library not loaded

Hey guys I'm getting this issue when building for IOS:

dyld: Library not loaded: @rpath/VirgilSDK.framework/VirgilSDK

I'm using Cocoapods Xcode 11.5 onto IOS 13.5.1
Any idea why this is happening?

Thanks

VSSSearchCardsHTTPRequest: response body: []

Sometimes got data.

Used twilio plus virgil.

[[VirgilHelperClass sharedInstance].virgil.Cards searchCardsWithIdentities:@["key"] completion:^(NSArray<VSSVirgilCard *>* vsenderCard, NSError *error)

vsenderCard.count always 0.

What is the issue ?

Firebase Firestore getDocument crash

Adding 'VirgilSDK', '~> 7.0' to my project made all getDocument and setData calls to the Firebase Firestore database crash.
Screenshot 2019-12-30 at 11 32 49
Screenshot 2019-12-30 at 11 32 58
Podfile.lock:

PODS:
  - abseil/algorithm (0.20190808):
    - abseil/algorithm/algorithm (= 0.20190808)
    - abseil/algorithm/container (= 0.20190808)
  - abseil/algorithm/algorithm (0.20190808)
  - abseil/algorithm/container (0.20190808):
    - abseil/algorithm/algorithm
    - abseil/base/core_headers
    - abseil/meta/type_traits
  - abseil/base (0.20190808):
    - abseil/base/atomic_hook (= 0.20190808)
    - abseil/base/base (= 0.20190808)
    - abseil/base/base_internal (= 0.20190808)
    - abseil/base/bits (= 0.20190808)
    - abseil/base/config (= 0.20190808)
    - abseil/base/core_headers (= 0.20190808)
    - abseil/base/dynamic_annotations (= 0.20190808)
    - abseil/base/endian (= 0.20190808)
    - abseil/base/log_severity (= 0.20190808)
    - abseil/base/malloc_internal (= 0.20190808)
    - abseil/base/pretty_function (= 0.20190808)
    - abseil/base/spinlock_wait (= 0.20190808)
    - abseil/base/throw_delegate (= 0.20190808)
  - abseil/base/atomic_hook (0.20190808)
  - abseil/base/base (0.20190808):
    - abseil/base/atomic_hook
    - abseil/base/base_internal
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/base/dynamic_annotations
    - abseil/base/log_severity
    - abseil/base/spinlock_wait
    - abseil/meta/type_traits
  - abseil/base/base_internal (0.20190808):
    - abseil/meta/type_traits
  - abseil/base/bits (0.20190808):
    - abseil/base/core_headers
  - abseil/base/config (0.20190808)
  - abseil/base/core_headers (0.20190808):
    - abseil/base/config
  - abseil/base/dynamic_annotations (0.20190808)
  - abseil/base/endian (0.20190808):
    - abseil/base/config
    - abseil/base/core_headers
  - abseil/base/log_severity (0.20190808):
    - abseil/base/core_headers
  - abseil/base/malloc_internal (0.20190808):
    - abseil/base/base
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/base/dynamic_annotations
    - abseil/base/spinlock_wait
  - abseil/base/pretty_function (0.20190808)
  - abseil/base/spinlock_wait (0.20190808):
    - abseil/base/core_headers
  - abseil/base/throw_delegate (0.20190808):
    - abseil/base/base
    - abseil/base/config
  - abseil/memory (0.20190808):
    - abseil/memory/memory (= 0.20190808)
  - abseil/memory/memory (0.20190808):
    - abseil/base/core_headers
    - abseil/meta/type_traits
  - abseil/meta (0.20190808):
    - abseil/meta/type_traits (= 0.20190808)
  - abseil/meta/type_traits (0.20190808):
    - abseil/base/config
  - abseil/numeric/int128 (0.20190808):
    - abseil/base/config
    - abseil/base/core_headers
  - abseil/strings/internal (0.20190808):
    - abseil/base/core_headers
    - abseil/base/endian
    - abseil/meta/type_traits
  - abseil/strings/strings (0.20190808):
    - abseil/base/base
    - abseil/base/bits
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/base/endian
    - abseil/base/throw_delegate
    - abseil/memory/memory
    - abseil/meta/type_traits
    - abseil/numeric/int128
    - abseil/strings/internal
  - abseil/time (0.20190808):
    - abseil/time/internal (= 0.20190808)
    - abseil/time/time (= 0.20190808)
  - abseil/time/internal (0.20190808):
    - abseil/time/internal/cctz (= 0.20190808)
  - abseil/time/internal/cctz (0.20190808):
    - abseil/time/internal/cctz/civil_time (= 0.20190808)
    - abseil/time/internal/cctz/includes (= 0.20190808)
    - abseil/time/internal/cctz/time_zone (= 0.20190808)
  - abseil/time/internal/cctz/civil_time (0.20190808)
  - abseil/time/internal/cctz/includes (0.20190808)
  - abseil/time/internal/cctz/time_zone (0.20190808):
    - abseil/time/internal/cctz/civil_time
  - abseil/time/time (0.20190808):
    - abseil/base/base
    - abseil/base/core_headers
    - abseil/numeric/int128
    - abseil/strings/strings
    - abseil/time/internal/cctz/civil_time
    - abseil/time/internal/cctz/time_zone
  - abseil/types (0.20190808):
    - abseil/types/any (= 0.20190808)
    - abseil/types/bad_any_cast (= 0.20190808)
    - abseil/types/bad_any_cast_impl (= 0.20190808)
    - abseil/types/bad_optional_access (= 0.20190808)
    - abseil/types/bad_variant_access (= 0.20190808)
    - abseil/types/compare (= 0.20190808)
    - abseil/types/optional (= 0.20190808)
    - abseil/types/span (= 0.20190808)
    - abseil/types/variant (= 0.20190808)
  - abseil/types/any (0.20190808):
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/meta/type_traits
    - abseil/types/bad_any_cast
    - abseil/utility/utility
  - abseil/types/bad_any_cast (0.20190808):
    - abseil/base/config
    - abseil/types/bad_any_cast_impl
  - abseil/types/bad_any_cast_impl (0.20190808):
    - abseil/base/base
    - abseil/base/config
  - abseil/types/bad_optional_access (0.20190808):
    - abseil/base/base
    - abseil/base/config
  - abseil/types/bad_variant_access (0.20190808):
    - abseil/base/base
    - abseil/base/config
  - abseil/types/compare (0.20190808):
    - abseil/base/core_headers
    - abseil/meta/type_traits
  - abseil/types/optional (0.20190808):
    - abseil/base/base_internal
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/memory/memory
    - abseil/meta/type_traits
    - abseil/types/bad_optional_access
    - abseil/utility/utility
  - abseil/types/span (0.20190808):
    - abseil/algorithm/algorithm
    - abseil/base/core_headers
    - abseil/base/throw_delegate
    - abseil/meta/type_traits
  - abseil/types/variant (0.20190808):
    - abseil/base/base_internal
    - abseil/base/config
    - abseil/base/core_headers
    - abseil/meta/type_traits
    - abseil/types/bad_variant_access
    - abseil/utility/utility
  - abseil/utility/utility (0.20190808):
    - abseil/base/base_internal
    - abseil/base/config
    - abseil/meta/type_traits
  - BoringSSL-GRPC (0.0.3):
    - BoringSSL-GRPC/Implementation (= 0.0.3)
    - BoringSSL-GRPC/Interface (= 0.0.3)
  - BoringSSL-GRPC/Implementation (0.0.3):
    - BoringSSL-GRPC/Interface (= 0.0.3)
  - BoringSSL-GRPC/Interface (0.0.3)
  - Firebase/Analytics (6.14.0):
    - Firebase/Core
  - Firebase/Core (6.14.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (= 6.1.7)
  - Firebase/CoreOnly (6.14.0):
    - FirebaseCore (= 6.5.0)
  - Firebase/Firestore (6.14.0):
    - Firebase/CoreOnly
    - FirebaseFirestore (~> 1.8.2)
  - FirebaseAnalytics (6.1.7):
    - FirebaseCore (~> 6.5)
    - FirebaseInstanceID (~> 4.2)
    - GoogleAppMeasurement (= 6.1.7)
    - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
    - GoogleUtilities/MethodSwizzler (~> 6.0)
    - GoogleUtilities/Network (~> 6.0)
    - "GoogleUtilities/NSData+zlib (~> 6.0)"
    - nanopb (= 0.3.9011)
  - FirebaseAuthInterop (1.0.0)
  - FirebaseCore (6.5.0):
    - FirebaseCoreDiagnostics (~> 1.0)
    - FirebaseCoreDiagnosticsInterop (~> 1.0)
    - GoogleUtilities/Environment (~> 6.4)
    - GoogleUtilities/Logger (~> 6.4)
  - FirebaseCoreDiagnostics (1.1.2):
    - FirebaseCoreDiagnosticsInterop (~> 1.0)
    - GoogleDataTransportCCTSupport (~> 1.0)
    - GoogleUtilities/Environment (~> 6.2)
    - GoogleUtilities/Logger (~> 6.2)
    - nanopb (~> 0.3.901)
  - FirebaseCoreDiagnosticsInterop (1.1.0)
  - FirebaseFirestore (1.8.3):
    - abseil/algorithm (= 0.20190808)
    - abseil/base (= 0.20190808)
    - abseil/memory (= 0.20190808)
    - abseil/meta (= 0.20190808)
    - abseil/strings/strings (= 0.20190808)
    - abseil/time (= 0.20190808)
    - abseil/types (= 0.20190808)
    - FirebaseAuthInterop (~> 1.0)
    - FirebaseCore (~> 6.2)
    - "gRPC-C++ (= 0.0.9)"
    - leveldb-library (~> 1.22)
    - nanopb (~> 0.3.901)
  - FirebaseInstanceID (4.2.8):
    - FirebaseCore (~> 6.5)
    - GoogleUtilities/Environment (~> 6.4)
    - GoogleUtilities/UserDefaults (~> 6.4)
  - GoogleAppMeasurement (6.1.7):
    - GoogleUtilities/AppDelegateSwizzler (~> 6.0)
    - GoogleUtilities/MethodSwizzler (~> 6.0)
    - GoogleUtilities/Network (~> 6.0)
    - "GoogleUtilities/NSData+zlib (~> 6.0)"
    - nanopb (= 0.3.9011)
  - GoogleDataTransport (3.2.0)
  - GoogleDataTransportCCTSupport (1.2.3):
    - GoogleDataTransport (~> 3.2)
    - nanopb (~> 0.3.901)
  - GoogleUtilities/AppDelegateSwizzler (6.4.0):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
  - GoogleUtilities/Environment (6.4.0)
  - GoogleUtilities/Logger (6.4.0):
    - GoogleUtilities/Environment
  - GoogleUtilities/MethodSwizzler (6.4.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/Network (6.4.0):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (6.4.0)"
  - GoogleUtilities/Reachability (6.4.0):
    - GoogleUtilities/Logger
  - GoogleUtilities/UserDefaults (6.4.0):
    - GoogleUtilities/Logger
  - "gRPC-C++ (0.0.9)":
    - "gRPC-C++/Implementation (= 0.0.9)"
    - "gRPC-C++/Interface (= 0.0.9)"
  - "gRPC-C++/Implementation (0.0.9)":
    - "gRPC-C++/Interface (= 0.0.9)"
    - gRPC-Core (= 1.21.0)
    - nanopb (~> 0.3)
  - "gRPC-C++/Interface (0.0.9)"
  - gRPC-Core (1.21.0):
    - gRPC-Core/Implementation (= 1.21.0)
    - gRPC-Core/Interface (= 1.21.0)
  - gRPC-Core/Implementation (1.21.0):
    - BoringSSL-GRPC (= 0.0.3)
    - gRPC-Core/Interface (= 1.21.0)
    - nanopb (~> 0.3)
  - gRPC-Core/Interface (1.21.0)
  - leveldb-library (1.22)
  - nanopb (0.3.9011):
    - nanopb/decode (= 0.3.9011)
    - nanopb/encode (= 0.3.9011)
  - nanopb/decode (0.3.9011)
  - nanopb/encode (0.3.9011)
  - VirgilCrypto (5.2.2):
    - VirgilCryptoFoundation (~> 0.11.0)
  - VirgilCryptoFoundation (0.11.1):
    - VSCCrypto/Common (= 0.11.0)
    - VSCCrypto/Foundation (= 0.11.0)
  - VirgilSDK (7.0.3):
    - VirgilCrypto (~> 5.2)
  - VSCCrypto/Common (0.11.0)
  - VSCCrypto/Foundation (0.11.0)

DEPENDENCIES:
  - Firebase/Analytics
  - Firebase/Firestore
  - VirgilSDK (~> 7.0)

SPEC REPOS:
  trunk:
    - abseil
    - BoringSSL-GRPC
    - Firebase
    - FirebaseAnalytics
    - FirebaseAuthInterop
    - FirebaseCore
    - FirebaseCoreDiagnostics
    - FirebaseCoreDiagnosticsInterop
    - FirebaseFirestore
    - FirebaseInstanceID
    - GoogleAppMeasurement
    - GoogleDataTransport
    - GoogleDataTransportCCTSupport
    - GoogleUtilities
    - "gRPC-C++"
    - gRPC-Core
    - leveldb-library
    - nanopb
    - VirgilCrypto
    - VirgilCryptoFoundation
    - VirgilSDK
    - VSCCrypto

SPEC CHECKSUMS:
  abseil: 18063d773f5366ff8736a050fe035a28f635fd27
  BoringSSL-GRPC: db8764df3204ccea016e1c8dd15d9a9ad63ff318
  Firebase: 0219bb4782eb1406f1b9b0628a2e625484ce910d
  FirebaseAnalytics: f68b9f3f1241385129ae0a83b63627fc420c05e5
  FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc
  FirebaseCore: 632e05cc5e1199d9147122c16d92305eb04c34bd
  FirebaseCoreDiagnostics: 511f4f3ed7d440bb69127e8b97c2bc8befae639e
  FirebaseCoreDiagnosticsInterop: e9b1b023157e3a2fc6418b5cb601e79b9af7b3a0
  FirebaseFirestore: 52120e2833f804a874ba1a9f59aab864a8ae2286
  FirebaseInstanceID: ce993a3c3670a8f5d47ce371ac5d143c560608c5
  GoogleAppMeasurement: db118eb61a97dd8c4f7014e368d3c335cbbcf80a
  GoogleDataTransport: 8e9b210c97d55fbff306cc5468ff91b9cb32dcf5
  GoogleDataTransportCCTSupport: 202d7cdf9c4a7d81a2bb7f7e7e1ba6faa421b1f2
  GoogleUtilities: 29bd0d8f850efbd28cff6d99e8b7da1f8d236bcf
  "gRPC-C++": 9dfe7b44821e7b3e44aacad2af29d2c21f7cde83
  gRPC-Core: c9aef9a261a1247e881b18059b84d597293c9947
  leveldb-library: 55d93ee664b4007aac644a782d11da33fba316f7
  nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
  VirgilCrypto: e7a07d3215c480296a4bc1c719aed358bfa673a1
  VirgilCryptoFoundation: d5678b66b72fe528b8d59469b2787796f8f56c94
  VirgilSDK: a9fab18b9af14dc5cb0670b6c21c0992b4f1fbf6
  VSCCrypto: 9ffdbed1f9c3fdd4baee7d02aa2baab4ca5d8dd2

PODFILE CHECKSUM: ed0245f5650e023dd902ac6b6f34001bf20fe310

COCOAPODS: 1.9.0.beta.2

Error when linking VirgilCryptoFoundation arm64 iOS Simulator with bitcode enabled

Hi,
I'm really glad that you decided to move to xcframework and support arm64 iOS Simulator.

I have some issues when building some of your library dependencies for this architecture.

ld: bitcode bundle could not be generated because '/xxxx/DerivedData/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates/VSCCrypto/Common/VSCCommon.framework/VSCCommon' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file 'xxxxx/DerivedData/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates/VSCCrypto/Common/VSCCommon.framework/VSCCommon' for architecture arm64

I have a framework that I build with your library as dependency. I can't seem to find a way to prevent this problem. I have to build my framework with bitcode enabled.
Is it maybe possible that you did not build VSCCommon framework with xcodebuild archive command?
Here is a screenshot of Xcode error:
Screenshot 2022-02-03 at 17 33 33

XCode 9

Hi ,

Do you have the updated library for XCode 9 and iOS 11 as target

Xcode 14 watchOS building for real devices(arm64) issues

I'm having issues when building for watchOS in Xcode 14 for real devices (simulator is fine). I get bunch of issues when linking VirgilCryptoFoundation for arm64 arch. In Xcode 13 works fine, probably related to bunch of changes Xcode 14 introduced for watchOS, now there is only 1 target instead of 2 when creating watchOS app, and new architecture.
Screenshot 2022-10-06 at 12 29 21

My Podfile:

use_frameworks!

target 'Demo' do
  platform :ios, '13.0'
  pod 'VirgilSDK', '8.1.0'
  
end

target 'DemoWatchOS WatchKit Extension' do
  platform :watchos, '7.0'
  pod 'VirgilSDK', '8.1.0'
  
end

Tested also with SPM, same result.

Maybe rebuilding libraries with Xcode 14 tools would help solve this issue?

Support for arm64 simulator architecture

Will you support arm64 simulator architecture for M1 processor simulators?

I get this error when I try to build.
building for iOS Simulator, but linking in dylib built for iOS, file '......./Pods/VSCCrypto/Carthage/iOS/VSCCommon.framework/VSCCommon' for architecture arm64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.