kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
05/12/14 08:46 AM (9 years ago)

Scringo signal SIGABRT

I've been trying to get Scringo working in my app but I keep getting Thread 1: signal SIGABRT in in main.m Anyone got any idea what this could be? I know there is a lot of documentation for Scringo but nothing I've found is quite up to date. The documentation on Scringo.com says to put the Scringo folder into the project, for example, but the only thing that doesn't produce lots of errors for me is to only use the scringo.framework folder and then in BT_Core.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/12/14 08:50 AM (9 years ago)
Sorry I should have said, it's for iOS, BT 3.0, not self-hosted and I've dragged in the facebook.framework but not done anything else for facebook.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/12/14 09:10 AM (9 years ago)
libc++abi.dylib: terminating with uncaught exception of type NSException
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/12/14 11:28 AM (9 years ago)
scringo has up to date docs specifically for buzztouch in their docs page.you do drag the scringo folder on top of your project folder in scringo and make sure "copy files" checkbox is checked.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/12/14 01:10 PM (9 years ago)
"make sure "copy files" checkbox is checked" I see, that's why I was getting the error messages. Probably totally obvious to everyone else but me. LOL Thank you for helping out!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/12/14 02:33 PM (9 years ago)
Lol no I do that all the time.I accidently uncheck it a long time on the project,not paying attention to that checkbox. No problem,anytime!
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/13/14 03:38 AM (9 years ago)
You wouldn't per chance also know about the facebook part of scringo conflicting with custom URL schemes? I've got a custom URL scheme in use in the app and it doesn't seem to work with the facebook url scheme one has to add.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 05:25 AM (9 years ago)
I just ran into the same problem laat night when updating one of my apps.u think you just need to reset data(clear it),and alsi try on a real device.they also may gave updated somw things.I only looked at the old docs and not seen if there any new docs for the Facebook park.I will post back
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/13/14 06:03 AM (9 years ago)
I'll let you know if I get any response from Scringo. I've also asked Niraj, who posted the iOS custom URL scheme guidance document. I think the Scringo code in the appDelegate.m somehow conflicts with the code you put in under that guidance.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 07:35 AM (9 years ago)
Ok ciol.it not niraj custom url scheme doc.his doc is for something else.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 08:10 AM (9 years ago)
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 08:11 AM (9 years ago)
In description of youtube videos were the old docs http://www.scringo.com/docs/buzztouch/ios-integration/
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/13/14 08:18 AM (9 years ago)
I do have that right piece of code. It's just that I also use this https://www.buzztouch.com/files/howtos/Custom_URL_Scheme_with_Xcode_5.pdf and having both this code and the scringo code at the same time doesn't seem to work. Adding the scringo code means my other custom URL links stop working.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 10:05 AM (9 years ago)
Did you add fb to .plist? You just add the scringo return statement in app delegate of your app
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 02:52 PM (9 years ago)
Hey theyve updated alot on fb since ive used it. you do add this to your app delegate // Inside this method, add a call to Scringo -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { return [Scringo handleOpenURL:url]; } It shouldnt conflict with the niraj url scheme though.chris1's html pro plugin can pretty much do the same thing. and add .plist like stated in here: https://developers.facebook.com/docs/ios/getting-started
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/14/14 04:32 AM (9 years ago)
Thanks for trying to help. That is the code I'm using. In the info.plist my entries looks as here: http://www.vaccination-information-portal.com/beta/plist.png The FB part seems to work fine. It just breaks the other scheme.
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/14/14 05:31 AM (9 years ago)
OK, Guy from Scringo showed me how to integrate the two codes. I had to add [Scringo handleOpenURL:url]; only into the code I had taken from the custom URL scheme guidance document. Now my links are working AND I was able to sign into the Scringo platform with Facebook!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.