Giter VIP home page Giter VIP logo

b4s-ios-sdk's People

Contributors

freboursier-ez avatar kris92 avatar stspenle avatar

Stargazers

 avatar  avatar

Watchers

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

b4s-ios-sdk's Issues

Crash : NSPersistentStoreCoordinator has no persistent stores

Bonjour,

Le SDK B4S fait parfois planter l'application qui l'embarque lors de l'initialisation de B4S (B4SSingleton setupSharedInstanceWithAppId) :

Fatal Exception: NSInternalInconsistencyException
NSPersistentStoreCoordinator has no persistent stores. It cannot perform a save operation.

Voici la version du SDK B4S incriminé :
Version: 1.8.3
Build number: 30
Git version: 1.8.3
Git branch: master
Git hash: 80a32e9
Build date: 2016-02-12 16:54:03 +0000

Voici la trace du crash :

Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x2df80f83 exceptionPreprocess
1 libobjc.A.dylib 0x38731ccf objc_exception_throw
2 CoreData 0x2dcd46ed -[NSPersistentStoreCoordinator executeRequest:withContext:error:]
3 CoreData 0x2dcf5f43 -[NSManagedObjectContext save:]
4 OuestFranceV2 0x2cb139 notificationTypeForString
5 OuestFranceV2 0x28b8ed stringForB4SEnvironment
6 OuestFranceV2 0x2a1ad1 stringForB4SEnvironment
7 libdispatch.dylib 0x38c1981f _dispatch_client_callout
8 libdispatch.dylib 0x38c1b053 dispatch_once_f$VARIANT$up
9 OuestFranceV2 0x2a1a93 stringForB4SEnvironment
10 OuestFranceV2 0x2a18cb stringForB4SEnvironment
11 OuestFranceV2 0x50747 -AppDelegate application:didFinishLaunchingWithOptions:
12 UIKit 0x3080d587 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:]
13 UIKit 0x3080cedb -[UIApplication _callInitializationDelegatesForURL:payload:suspended:]
14 UIKit 0x3080756b -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:]
15 UIKit 0x307a36e9 -[UIApplication handleEvent:withNewEvent:]
16 UIKit 0x307a2851 -[UIApplication sendEvent:]
17 UIKit 0x30806ca9 _UIApplicationHandleEvent
18 GraphicsServices 0x32dbbaed _PurpleEventCallback
19 GraphicsServices 0x32dbb6d7 PurpleEventCallback
20 CoreFoundation 0x2df4ba67 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION

21 CoreFoundation 0x2df4ba03 __CFRunLoopDoSource1
22 CoreFoundation 0x2df4a1d7 __CFRunLoopRun
23 CoreFoundation 0x2deb4ebf CFRunLoopRunSpecific
24 CoreFoundation 0x2deb4ca3 CFRunLoopRunInMode
25 UIKit 0x30805ed1 -[UIApplication _run]
26 UIKit 0x3080114d UIApplicationMain
27 OuestFranceV2 0x111d39 main (main.m:14)
28 libdyld.dylib 0x38c3eab7 start

Cordialement

FMDatabase : duplicate symbols FMDatabase

Bonjour,

Avec le SDK B4S 2.0.4 survient deux erreurs de link lors du build :

  • duplicate symbol _FMDBBlockSQLiteCallBackFunction
  • duplicate symbol _FMDBExecuteBulkSQLCallback

Nous utilisons dans notre application un autre SDK qui utilise comme le SDK B4S l'Api FMDatabase. Nous n'avons pas la main sur cet autre SDK.

A priori, on peut retirer les .o de FMDatabase de votre Sdk pour que la lib FMDatabase utilisée soit celle de l'autre SDK que nous embarquons. Mais cela pose deux problèmes :

  • Le SDK B4S prefix la lib avec B4S_ ce qui rend impossible cette méthode ;
  • Une potentielle différence de version de FMDatabase entre les deux SDKs.

Notre conclusion : Pouvez vous renommer les symboles de FMDatabase (en les préfixant par exemple) ?

Merci,
Clément.

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.