skip to Main Content

How to archive data in swift? – Ios swift

I am trying to archive data and want to store it in userdefault but app getting crash. Also tried this let encodedData = try NSKeyedArchiver.archivedData(withRootObject: selectedPoductDetails, requiringSecureCoding: false) selectedPoductDetails is dict of type [String: SelectedProductDetail] import Foundation class SelectedProductDetail {…

VIEW QUESTION

Xcode – Could not find module 'RxSwift'

I imported BitcoinKit.swift which worked fine but get now the error: Could not find module 'RxSwift' for target 'x86_64-apple-ios-simulator'; found: arm64, arm64-apple-ios-simulator Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '15.2' target 'BTCTransaction5' do use_frameworks! pod 'BitcoinKit.swift' end System macOS Big Sur M1…

VIEW QUESTION
Back To Top
Search