Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
09/08/13 08:51 AM (12 years ago)

Fix one issue in xcode and another crops up :|

just keep bumping into errors lately, ill post it below. but ive no idea what it is or how to fix it. setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode5-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode5-DP3.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode5-DP3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -L/Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Products/Debug-iphonesimulator -F/Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Products/Debug-iphonesimulator -F/Users/Jeremy/Documents/Apps/gProfiling/gprofiling-iOS-1.1/BT_Core/scringo-ios-2.3.3 -F/Users/Jeremy/Documents/Apps/gProfiling/gprofiling-iOS-1.1/BT_Core/scringo-ios-2.3.3/Scringo -filelist /Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Intermediates/gprofiling.build/Debug-iphonesimulator/gprofiling.build/Objects-normal/i386/gprofiling.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework UIKit -framework Twitter -framework SystemConfiguration -framework StoreKit -weak_framework Social -framework Security -framework QuartzCore -framework MobileCoreServices -framework MessageUI -framework MapKit -lsqlite3 -framework Foundation -framework CoreText -framework CoreLocation -framework CoreGraphics -framework AudioToolbox -framework AdSupport -framework AddressBook -framework Accounts -framework GameKit -framework ImageIO -framework Scringo -framework CFNetwork -framework OpenGLES -framework AddressBookUI -framework EventKit -framework EventKitUI -framework FacebookSDK -framework CoreVideo -framework CoreMedia -framework CoreAudio -framework CoreLocation -framework Foundation -framework SystemConfiguration -framework AVFoundation -framework MediaPlayer -framework iAd -liconv -Xlinker -dependency_info -Xlinker /Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Intermediates/gprofiling.build/Debug-iphonesimulator/gprofiling.build/Objects-normal/i386/gprofiling_dependency_info.dat -o /Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Products/Debug-iphonesimulator/gprofiling.app/gprofiling duplicate symbol _main in: /Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Intermediates/gprofiling.build/Debug-iphonesimulator/gprofiling.build/Objects-normal/i386/main-B1523F627B4D117F.o /Users/Jeremy/Library/Developer/Xcode/DerivedData/gprofiling-dpafvobikacssqdaxuerqwhwyuqo/Build/Intermediates/gprofiling.build/Debug-iphonesimulator/gprofiling.build/Objects-normal/i386/main-8CB2DEB2AF4C5BA1.o ld: 1 duplicate symbol for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
09/08/13 08:59 AM (12 years ago)
Might start with updating your Xcode package. You are running an early beta release. There are newer betas out, or better yet install 4.6. To be fair, I really haven't messed with Xcode 5 yet so this may or may not help. Tim
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
09/08/13 09:25 AM (12 years ago)
You might have 2 copies of a framework. I would try to start from the beginning. Everytime I get that duplicate symbol error it is usually because of duplicate frameworks.
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
09/08/13 09:26 AM (12 years ago)
I never thought of that. Thanks, ill give it a burn through 4.6. I kept both around for this sort of issue, and didn't even think of it. Thanks Jeremy
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
09/08/13 09:30 AM (12 years ago)
Let me know how it works out.
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
09/08/13 09:51 AM (12 years ago)
deleted duplicate
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
09/08/13 09:51 AM (12 years ago)
Thanks fred, ill check that out
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
09/08/13 10:17 AM (12 years ago)
3 duplicates, still failed with the same error. No luck.
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
09/08/13 11:02 AM (12 years ago)
Start all over with a fresh project
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
09/08/13 11:04 AM (12 years ago)
Yeah i think so. Ah well iv'e had a break, now will have another go.
 

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.