Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
07/01/13 03:05 PM (12 years ago)

can't add scringo on my app

hey when im trying to run the app i get erro Undefined symbols for architecture i386: "_OBJC_CLASS_$_ASIdentifierManager", referenced from: objc-class-ref in Scringo ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) ty for all the helper's
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/04/13 12:46 PM (12 years ago)
Hi, Don't forget to add the AdSupport.framework to your project. Elon
 
Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
like
07/04/13 02:14 PM (12 years ago)
sry but still not working now i get failed u should do new video abour add Scringo new Update
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/04/13 02:18 PM (12 years ago)
Same error or new one? Another common mistake is not adding MobileCoreServices.framework - can you make sure it is added as well?
 
Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
like
07/04/13 02:52 PM (12 years ago)
all add u should make avidoe abour it oh god i work on it 5 hours and i still can't fix it
 
Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
like
07/04/13 03:03 PM (12 years ago)
look here is my steps opening Project whit Xcode Drag The Scringo Folder in the BT-Core adding MobileCoreServices.framework + AdSupport.FrameWork ok now im stuck whem im Entering (in BT=Config) When im Entering the Code #import <Scringo/ScringoAgent.h> i get all the Probelm's and i can't Find Row that i need to Endt my APP ID here is all i will be happey if some1 will help
 
Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
like
07/04/13 03:41 PM (12 years ago)
Yeah!!!!!!!!!!!!!!!!!! Working!
 
Show
Lost but trying
Profile
Posts: 31
Reg: Mar 16, 2013
Or Akiva
1,560
like
07/04/13 03:58 PM (12 years ago)
Yeah!!!!!!!!!!!!!!!!!! Working!
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/07/13 02:59 PM (12 years ago)
I am having similar errors Undefined symbols for architecture i386: "_ACAccountTypeIdentifierTwitter", referenced from: -[ScringoTwitterConnector isConnected] in Scringo -[ScringoTwitterConnector getUserDetailsWithView:andDelegate:selector:] in Scringo -[ScringoTwitterConnector getUserFriendsWithDelegate:selector:withCursor:] in Scringo "_CTFontCreateCopyWithAttributes", referenced from: ___NSAttributedStringByScalingFontSize_block_invoke in Scringo "_CTFontCreateWithName", referenced from: -[ScringoFeedTableCell setActivityLabelText:] in Scringo -[ScringoFeedLikeImageCell setActivityLabelText:] in Scringo -[ScringoFeedActivityCell setActivityLabelText:] in Scringo -[ScringoFeedLikeActivityCell updateData:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo _NSAttributedStringAttributesFromLabel in Scringo -[ScringoChatRoomsTableCell setByMessageTextForUser:withLastCommentTime:] in Scringo ... (30 to be precise) I have added all 3 frameworks. What did you do to get rid of those errors and get it to work?
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/08/13 12:07 AM (12 years ago)
bfoutty - seems like you're missing Account.framework and Twitter.framework in your project. Please make sure both of them are added to your project. Elon
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/08/13 04:26 AM (12 years ago)
Elon, Thank you for responding so quickly. Adding those two frameworks eliminated two of the warnings, but I still have 28. It seems like most of them have to do with a label. I will post the error messages below. Thanks for your help. I appreciate it. Brian Undefined symbols for architecture i386: "_CTFontCreateCopyWithAttributes", referenced from: ___NSAttributedStringByScalingFontSize_block_invoke in Scringo "_CTFontCreateWithName", referenced from: -[ScringoFeedTableCell setActivityLabelText:] in Scringo -[ScringoFeedLikeImageCell setActivityLabelText:] in Scringo -[ScringoFeedActivityCell setActivityLabelText:] in Scringo -[ScringoFeedLikeActivityCell updateData:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo _NSAttributedStringAttributesFromLabel in Scringo -[ScringoChatRoomsTableCell setByMessageTextForUser:withLastCommentTime:] in Scringo ... "_CTFontGetSize", referenced from: ___NSAttributedStringByScalingFontSize_block_invoke in Scringo "_CTFontGetUnderlineThickness", referenced from: -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTFrameGetLineOrigins", referenced from: -[ScringoTTTAttributedLabel characterIndexAtPoint:] in Scringo -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTFrameGetLines", referenced from: -[ScringoTTTAttributedLabel characterIndexAtPoint:] in Scringo -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo -[ScringoTTTAttributedLabel sizeThatFits:] in Scringo "_CTFramesetterCreateFrame", referenced from: -[ScringoTTTAttributedLabel characterIndexAtPoint:] in Scringo -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo -[ScringoTTTAttributedLabel sizeThatFits:] in Scringo "_CTFramesetterCreateWithAttributedString", referenced from: -[ScringoTTTAttributedLabel framesetter] in Scringo -[ScringoTTTAttributedLabel drawTextInRect:] in Scringo "_CTFramesetterSuggestFrameSizeWithConstraints", referenced from: -[ScringoTTTAttributedLabel textRectForBounds:limitedToNumberOfLines:] in Scringo -[ScringoTTTAttributedLabel sizeThatFits:] in Scringo "_CTLineCreateTruncatedLine", referenced from: -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo "_CTLineCreateWithAttributedString", referenced from: -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo "_CTLineDraw", referenced from: -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo "_CTLineGetGlyphRuns", referenced from: -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTLineGetOffsetForStringIndex", referenced from: -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTLineGetStringIndexForPosition", referenced from: -[ScringoTTTAttributedLabel characterIndexAtPoint:] in Scringo "_CTLineGetStringRange", referenced from: -[ScringoTTTAttributedLabel drawFramesetter:attributedString:textRange:inRect:context:] in Scringo -[ScringoTTTAttributedLabel sizeThatFits:] in Scringo "_CTLineGetTypographicBounds", referenced from: -[ScringoTTTAttributedLabel characterIndexAtPoint:] in Scringo -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTParagraphStyleCreate", referenced from: -[ScringoTTTAttributedLabel commonInit] in Scringo _NSAttributedStringAttributesFromLabel in Scringo "_CTRunGetAttributes", referenced from: -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTRunGetStringRange", referenced from: -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_CTRunGetTypographicBounds", referenced from: -[ScringoTTTAttributedLabel drawBackground:inRect:context:] in Scringo -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_kCTFontAttributeName", referenced from: ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke in Scringo ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke_2 in Scringo ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke_3 in Scringo ___49-[ScringoFeedLikeImageCell setActivityLabelText:]_block_invoke in Scringo ___48-[ScringoFeedActivityCell setActivityLabelText:]_block_invoke in Scringo ___42-[ScringoFeedLikeActivityCell updateData:]_block_invoke in Scringo _NSAttributedStringAttributesFromLabel in Scringo ... "_kCTForegroundColorAttributeName", referenced from: ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke in Scringo ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke_2 in Scringo ___45-[ScringoFeedTableCell setActivityLabelText:]_block_invoke_3 in Scringo ___49-[ScringoFeedLikeImageCell setActivityLabelText:]_block_invoke in Scringo ___48-[ScringoFeedActivityCell setActivityLabelText:]_block_invoke in Scringo ___42-[ScringoFeedLikeActivityCell updateData:]_block_invoke in Scringo -[ScringoTTTAttributedLabel commonInit] in Scringo ... "_kCTForegroundColorFromContextAttributeName", referenced from: -[ScringoTTTAttributedLabel renderedAttributedText] in Scringo ___NSAttributedStringBySettingColorFromContext_block_invoke in Scringo "_kCTParagraphStyleAttributeName", referenced from: -[ScringoTTTAttributedLabel commonInit] in Scringo _NSAttributedStringAttributesFromLabel in Scringo "_kCTSuperscriptAttributeName", referenced from: -[ScringoTTTAttributedLabel drawStrike:inRect:context:] in Scringo "_kCTUnderlineStyleAttributeName", referenced from: -[ScringoTTTAttributedLabel commonInit] in Scringo ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/08/13 04:35 AM (12 years ago)
This time it seems like you are missing CoreText framework. Elon
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/08/13 04:44 AM (12 years ago)
Elon, Thanks. That did it. However, I would like to know if there is a way to disable the add banners. This is the app I use in my classroom to teach with and I would prefer not to have the banners distracting my students. Thanks for all of your help. It is greatly appreciated. Brian
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/08/13 04:49 AM (12 years ago)
Sure. In the devzone: Go to My Apps -> Manage Ads and choose Enable: No
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/08/13 04:50 AM (12 years ago)
Thanks for your help!
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/14/13 01:01 PM (12 years ago)
Elon, Thanks for your help. I was able to successfully implement the Scringo SDK in the iOS app I use everyday in my classroom. It will be a great addition to allow my students to use social networking for help from each other and class-wide peer tutoring. So now I am trying to implement the SDK into the Android version. I have followed the steps very carefully (and even watched Ian Ritter's video 3 times) and I am getting the following error in the Android Manifest xml for each activity line except for the last scringo.h: error: Error: String types not allowed (at 'configChanges' with value 'orientation|keyboardHidden| screenSize'). Could you provide any insight as to where I might have made a mistake. Thanks for your time and continued support. Brian
 
Ofer
Android Fan
Profile
Posts: 54
Reg: Apr 06, 2013
Tel Aviv
540
like
07/14/13 10:37 PM (12 years ago)
Brian, the "screenSize" value is allowed since ADT 22. Either upgrade or simply change to: "orientation|keyboardHidden" Email me if you need anything [email protected]
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/25/13 12:36 AM (12 years ago)
I have all the required frameworks and I continue to get the linker error but related to Facebook. ld: warning: directory not found for option '-F/Users/cvconover/Developer/ios_prjs/lacrosserulesquiz/;' Undefined symbols for architecture i386: "_FBTokenInformationExpirationDateKey", referenced from: -[ScringoFBConnector openSessionIfCanImport20TokenAndExpirationKey] in Scringo "_FBTokenInformationRefreshDateKey", referenced from: -[ScringoFBConnector openSessionIfCanImport20TokenAndExpirationKey] in Scringo "_FBTokenInformationTokenKey", referenced from: -[ScringoFBConnector openSessionIfCanImport20TokenAndExpirationKey] in Scringo "_OBJC_CLASS_$_FBRequest", referenced from: objc-class-ref in Scringo "_OBJC_CLASS_$_FBRequestConnection", referenced from: objc-class-ref in Scringo "_OBJC_CLASS_$_FBSession", referenced from: objc-class-ref in Scringo "_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from: objc-class-ref in Scringo "_OBJC_CLASS_$_Facebook", referenced from: objc-class-ref in Scringo ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) My issue was that I didn't copy the FacebookSDK.framework folder from the Scringo zip download into my iOS project in Xcode. I only copied the Scringo folder over. Hoping I can save someone some time with that. Now I just have a couple more errors to resolve: ld: warning: directory not found for option '-F/Users/cvconover/Developer/ios_prjs/lacrosserulesquiz/;' Undefined symbols for architecture i386: "_SecRandomCopyBytes", referenced from: +[FBCrypto randomBytes:] in FacebookSDK(FBCrypto.o) -[FBCrypto encrypt:additionalDataToSign:] in FacebookSDK(FBCrypto.o) "_kSecRandomDefault", referenced from: +[FBCrypto randomBytes:] in FacebookSDK(FBCrypto.o) -[FBCrypto encrypt:additionalDataToSign:] in FacebookSDK(FBCrypto.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) Will post if I find solution, but if you know something, hook me up! Cheers
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/25/13 12:50 AM (12 years ago)
removed duplicate post...
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/25/13 03:51 AM (12 years ago)
Hi Craig, Seems like you didn't add the Security framework to your project. Elon
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/25/13 10:29 AM (12 years ago)
Elon, You da man! Didn't see that listed anywhere as a required framework. Build succeeds and it starts to run in the simulator, but now I am getting an exception, but at least I'm dancin'. 2013-07-25 10:26:53.603 lacrosserulesquiz[8687:c07] lacrosserulesquiz_appDelegate: promptForPushNotifications 2013-07-25 10:26:53.604 lacrosserulesquiz[8687:c07] +[ScringoAgent startSession:locationManager:andFacebook:]: unrecognized selector sent to class 0x2599b0 2013-07-25 10:26:53.604 lacrosserulesquiz[8687:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[ScringoAgent startSession:locationManager:andFacebook:]: unrecognized selector sent to class 0x2599b0' *** First throw call stack: (0x3b9f012 0x3967e7e 0x3c2a2ad 0x3b8ebbc 0x3b8e94e 0x6493 0x507c 0x3513 0x2ce17b7 0x2ce1da7 0x2ce2fab 0x2cf4315 0x2cf524b 0x2ce6cf8 0x450cdf9 0x450cad0 0x3b14bf5 0x3b14962 0x3b45bb6 0x3b44f44 0x3b44e1b 0x2ce27da 0x2ce465c 0x4af96 0x30e5) libc++abi.dylib: terminate called throwing an exception I'll have to look deeper into this later today. Cheers Craig
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/25/13 10:44 AM (12 years ago)
Hey Craig, Just remove the andFacebook part from the [ScringoAgent startSession...] call (it is obsolete since version 2.0) Elon
 
Craig Conover
Aspiring developer
Profile
Posts: 56
Reg: Jan 01, 2013
Menlo Park, CA
4,310
like
07/25/13 11:44 AM (12 years ago)
Beautiful! Thanks a ton, Elon! Scringo rocks!
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
07/31/13 12:35 PM (12 years ago)
Elon, I've followed the video on Buzztouch and the instructions on Scringo. Can't seem to get it working. After a couple times I realized the step of cleaning/building the ScringoResources was left out, so got a little further but now when I add the ScringoResources library I get 605 errors. R cannot be resolved to a variable in a lot of different files in the project, which didn't error before adding the library. Don't get it. Tim
 
scringo
Veteran developer
Profile
Posts: 38
Reg: May 09, 2012
location unknow...
380
like
07/31/13 12:56 PM (12 years ago)
Hi Tim, Usually it's an issue with missing frameworks (there are few more mandatory frameworks in recent versions). Can you send me an email ([email protected]) with the errors you see (at least some of them), and I'll check what's going on? Elon
 

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.