simperium

Simperium - Can a user recover a forgotten password ..?

久未见 提交于 2020-01-16 18:09:24
问题 Hi I have implemented Simperium in my iOS app and will go live shortly, I have overriden the standard login-screens with my own using the authenticationOptional feature, all works well. However, what happens if a user of the app creates a simperium account to use the sync features but then forgets their password....? My app uses simperium to not only sync the data to the simperium service for data security but also to sync between iPad and iPhone devices. So, for example, the user set's up

Simperium - Can a user recover a forgotten password ..?

给你一囗甜甜゛ 提交于 2020-01-16 18:09:06
问题 Hi I have implemented Simperium in my iOS app and will go live shortly, I have overriden the standard login-screens with my own using the authenticationOptional feature, all works well. However, what happens if a user of the app creates a simperium account to use the sync features but then forgets their password....? My app uses simperium to not only sync the data to the simperium service for data security but also to sync between iPad and iPhone devices. So, for example, the user set's up

objectFromJSONString crash when launching app that uses Simperium

我的梦境 提交于 2020-01-05 01:59:25
问题 I'm getting a JSON crash when I try to launch an app that uses the Simperium framework: [__NSCFString objectFromJSONString]: unrecognized selector sent to instance 0x6c561a0 It happens immediately. Am I missing an external dependency? It looks like a JSONKit method. 回答1: Simperium uses JSONKit internally. You'll need to add -ObjC to your Other Linker Flags (found under Build Settings in your target). 来源: https://stackoverflow.com/questions/10478030/objectfromjsonstring-crash-when-launching

Simperium couldn't load member data (unsupported type)

混江龙づ霸主 提交于 2019-12-24 17:06:59
问题 Trying to add Simperium to my existing app, I get a NSAssertion error: (gdb) po $eax Simperium couldn't load member data (unsupported type) Stack trace: (gdb) bt #0 0x02f63cbc in objc_exception_throw () #1 0x0190da48 in +[NSException raise:format:arguments:] () #2 0x00a5b2cb in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] () #3 0x003ac625 in -[SPCoreDataExporter addMembersFrom:to:] (self=<value temporarily unavailable, due to optimizations>, entityDesc=

CoreData schema evolution with Simperium

£可爱£侵袭症+ 提交于 2019-12-11 11:25:56
问题 How does Simperium handle schema evolution with CoreData? It looked like schema evolution is not currently supported according to the docs, so are there techniques to handle it in the app? 回答1: Any schema changes that can be handled by Core Data's lightweight migration can also be handled by Simperium. Currently, other changes like renaming or removing attributes can work with Simperium as long as you're properly handling the local migration on users' devices. This works because Simperium's

Linker errors building iOS app with Simperium

你离开我真会死。 提交于 2019-12-08 06:31:56
问题 I'm getting linker errors when integrating Simperium into my app: ld: duplicate symbol _OBJC_CLASS_$_DDASLLogger in /Users/zulfi_shah/Documents/ContactsJournal-TestSimperium/SimpleList/Simperium.framework/Simperium(DDASLLogger.o) and /Users/zulfi_shah/Library/Developer/Xcode/DerivedData/SimpleList-cxdtxuubxyczhgcyxbixtjtvzkct/Build/Intermediates/SimpleList.build/Debug-iphonesimulator/SimpleList.build/Objects-normal/i386/DDASLLogger.o for architecture i386 clang: error: linker command failed

UniqueIdentifier now causing rejections from Apple [duplicate]

╄→гoц情女王★ 提交于 2019-12-02 22:11:27
问题 This question already has answers here : UIDevice uniqueIdentifier deprecated - What to do now? (32 answers) Closed 6 years ago . Please, do not mark this as a duplicate. This question is about Simperium and the way it deals with uniqueIdentifier and identifierForVendor. Simperium is still using [[UIDevice currentDevice] uniqueIdentifier] in Simperium.m. This has been deprecated and Apple is now completely rejecting apps that use that call. I am experimenting with [[[UIDevice] currentDevice]

Inherit from SPManagedObject

雨燕双飞 提交于 2019-12-01 08:40:52
问题 In Simperiums iOS/OSX tutorial you say, each modeled object should inherit from SPManagedObject. I didn't try it yet, but doesn't that lead to one big table in the SQLite database that contains a union of all fields of all modeled managed objects? 回答1: Yes, under the hood Core Data will tend to create a bigger table. Generally performance will suffer more from relations though, not inheritance: Using Parent Entity in CoreData Models We've done integrations with fairly complex inheritance

Migrating a many-to-many relationship to a join table in Core Data

China☆狼群 提交于 2019-11-29 23:19:51
I've got an iPhone app that uses many-to-many relationships to link tags and notes together. I'm currently using Core Data's "Relationships" feature to accomplish this, but would like to migrate to using a join table instead. Here's my challenge: I'd like to migrate from the old model to the join-table model, and I need to figure out how to perform that data migration. Are there any good examples of how to do this? Update: I'm clarifying my question here to help out with what's going on here: I want to try using Simperium to support our app, but Simperium doesn't support many-to-many

Migrating a many-to-many relationship to a join table in Core Data

点点圈 提交于 2019-11-28 20:37:09
问题 I've got an iPhone app that uses many-to-many relationships to link tags and notes together. I'm currently using Core Data's "Relationships" feature to accomplish this, but would like to migrate to using a join table instead. Here's my challenge: I'd like to migrate from the old model to the join-table model, and I need to figure out how to perform that data migration. Are there any good examples of how to do this? Update: I'm clarifying my question here to help out with what's going on here: