Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
06/01/13 11:20 AM (12 years ago)

Scringo Linker error

This is my second app with Scringo. No problems in first one. Therefore, I am a loss. Tried everything. I´m sure I´m missing something basic. Done everything many times since day before yesterday:. Please heeeeeelllppppp!! Here is the printout of the error: -------------------------------------------------------------------- Ld /Users/franciscomariategui/Library/Developer/Xcode/DerivedData/anifotos-bkjoeuygjmegfxfdhbqzaqrivqec/Build/Products/Debug-iphoneos/anifotos.app/anifotos normal armv7s cd "/Users/franciscomariategui/Documents/_PiOS/2 Kipu Anifotos/anifotos_iOS-1" setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/franciscomariategui/Library/Developer/Xcode/DerivedData/anifotos-bkjoeuygjmegfxfdhbqzaqrivqec/Build/Products/Debug-iphoneos -F/Users/franciscomariategui/Library/Developer/Xcode/DerivedData/anifotos-bkjoeuygjmegfxfdhbqzaqrivqec/Build/Products/Debug-iphoneos "-F/Users/franciscomariategui/Documents/_PiOS/2 Kipu Anifotos/anifotos_iOS-1/../../scringo-ios-2.1.10/Scringo" -filelist /Users/franciscomariategui/Library/Developer/Xcode/DerivedData/anifotos-bkjoeuygjmegfxfdhbqzaqrivqec/Build/Intermediates/anifotos.build/Debug-iphoneos/anifotos.build/Objects-normal/armv7s/anifotos.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=6.0 -framework GameKit -framework ImageIO -framework CoreText -framework Accounts -framework CFNetwork -framework OpenGLES -framework AddressBook -framework AddressBookUI -framework Twitter -framework StoreKit -framework AudioToolbox -framework EventKit -framework EventKitUI -framework CoreVideo -framework CoreMedia -framework CoreAudio -framework CoreLocation -framework Foundation -framework SystemConfiguration -framework UIKit -framework MobileCoreServices -framework AVFoundation -framework MessageUI -framework MapKit -framework MediaPlayer -framework CoreGraphics -framework QuartzCore -framework iAd -weak_framework Social -lsqlite3 -liconv -framework Scringo -o /Users/franciscomariategui/Library/Developer/Xcode/DerivedData/anifotos-bkjoeuygjmegfxfdhbqzaqrivqec/Build/Products/Debug-iphoneos/anifotos.app/anifotos Undefined symbols for architecture armv7s: "_OBJC_CLASS_$_ASIdentifierManager", referenced from: objc-class-ref in Scringo ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation) ---------------------------------------------------------------- Hope somebody with rested eyes can see what I don´t ... Any help would be appreciated. Pancho.
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/01/13 12:06 PM (12 years ago)
Not a big problem, but not in front of my mac... Remove scringo from xcode, go into project, show all, look for paths that contain scringo (would like to give u more detail but can't right now), delete those. Re-add scringo, clean + build.
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
06/01/13 12:43 PM (12 years ago)
I had the same error yesterday. Haven't had time to address it yet. -Shane
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
06/01/13 02:57 PM (12 years ago)
Thanks @trouty. Yeap, I think I need a bit more detail. Not very good with Xcode. Especially with: "show all, look for paths that contain scringo (would like to give u more detail but can't right now), delete those" Thanks again.
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/01/13 04:56 PM (12 years ago)
https://www.dropbox.com/s/gojvyfcs28wk0at/search%20paths.png ok, its like 1am near enough here so i may be sketchy, and without having the error myself, it wont show in my Xcode... left side, highlight the target (on mine, its metalliquiz) middle, select Project (metalliquiz) main screen select ALL and BUILD SETTINGS scroll down and look for the Search Paths section. You'l have some references to scringo there, delete them, delete the framework from your project. Then drag them back in again, clean, build. basically the project is looking for the framework in the wrong place. delete it and let it re-link.
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
06/01/13 07:45 PM (12 years ago)
Thanks again trout. The problem was that the new version (2.1.10) of Scringo now requires the AdSupport Framework library. I add it and now everything works OK. Good call though. Thanks for your help!!
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
06/01/13 08:05 PM (12 years ago)
How did you add it? -Shane
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
06/02/13 12:13 AM (12 years ago)
Ah, yes, that too ;-)
 
Pancho
Code is Art
Profile
Posts: 221
Reg: Mar 06, 2012
Lima
11,610
like
06/02/13 05:22 AM (12 years ago)
Hello @Outbreak, Go to Xcode, click on your project, click "Target", select "Build Phases", expand "Link with Binary Libraries", scroll down, click on the "+" sign, select "AdSupport.Framework", click on "Add", clean, build. Presto! You´re on. Pancho.
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
06/29/13 11:09 AM (12 years ago)
Updated Scringo to the latest version 2.2.2 for IOS. Removed all occurrences of the former version of Scringo in my project. Dragged new folder into BT_Core, finish, run..errors as stated above. (Apple Link-O error) Thank you to Pancho, I selected AdSupport.Framework into project, build succeeded but my apple.delegate.m file changed so it now reads a bunch of gobbilygook.m. What's more, there is no instance of Scringo in the import section. I exited Xcode, and re-openned the project and still no instance of Scringo in my project?? I have no place to install the App Id into the project. What do I need to do?
 
Outbreak
buzztouch Evangelist
Profile
Posts: 452
Reg: May 30, 2011
Colorado
14,620
like
06/29/13 11:20 AM (12 years ago)
Did you read the PDF about Scringo that you downloaded in the source folder? It is pretty helpful. Shane
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
06/29/13 11:21 AM (12 years ago)
Hi Shane, I'm such an impatient developer...lol....I'm following the step by step proceedure now. Thank you. Let's see what happens.
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
06/29/13 11:33 AM (12 years ago)
Anyone know what line to install this in the .m apple delegate file? -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
 
New Techie
I hate code!
Profile
Posts: 26
Reg: Oct 12, 2011
location unknow...
4,560
like
07/10/13 05:30 AM (12 years ago)
Rogue There is a great YouTube video that helps with this but I think its around 530 after your scringo id line
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
07/10/13 04:28 PM (12 years ago)
Yeah, I saw the video, thank you. Took me awhile to get the placement right.
 

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.