Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
04/16/13 10:24 PM (12 years ago)

Another Error?

Another error of sorts popped up again. This time the error reports a linker command failed with exit code 1. I will post the log below after I explain the situation. This is a very new application that I built and ran in Xcode. It worked perfectly (Except for the fact that there is no content inside yet) until I added the needed BT Folders. Including the Layout, Plugins, Sound, Docs, and Images. After Adding those folders into the project, I attempted to run the application on an iOS Simulator. It gave me one error similar to the one I described briefly.
 
Korkut Ata
Aspiring developer
Profile
Posts: 108
Reg: Aug 09, 2011
Luxembourg
11,580
like
04/16/13 10:45 PM (12 years ago)
If you post your error message with platform details here, someone might help you. Otherwise, Json Snippet Keeper plugin is a good tool to copy screens, or if you are self hosted, there is a very cool mod/tweak by @SmugWimp and @MrDavid to copy your screens. http://www.buzztouchmods.com/downloads.php?cat_id=2&download_id=49 Hope you find a solution. Cheers..
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/16/13 10:55 PM (12 years ago)
Hi @Zenchowda, There's absolutely no reason to build your app again. We can figure this out. First things first - do you have the BT_Plugins folder copied over into your Xcode project? You should make sure ALL the folders that you downloaded are copied over. If that's all in order, what's the error you are getting? Once you post that, we can help fix it! Mark
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/17/13 08:07 AM (12 years ago)
Could you let us know what the problem was, and the solution you used? That would help everybody who might come up against the same thing. Thanks! Mark
 
Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
like
04/17/13 04:54 PM (12 years ago)
Ld /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Products/Debug-iphonesimulator/hgtrivia2.app/hgtrivia2 normal i386 cd /Users/alfonsonunez/Desktop/hgtrivia2_v20_iOS setenv IPHONEOS_DEPLOYMENT_TARGET 6.0 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Products/Debug-iphonesimulator -F/Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Products/Debug-iphonesimulator -F/Users/alfonsonunez/Desktop/hgtrivia2_v20_iOS/BT_Core/Scringo -filelist /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/hgtrivia2.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -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/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Products/Debug-iphonesimulator/hgtrivia2.app/hgtrivia2 duplicate symbol _OBJC_CLASS_$_BT_navigationController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_navigationController-22489C78BB37245C.o duplicate symbol _OBJC_METACLASS_$_BT_navigationController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_navigationController-22489C78BB37245C.o duplicate symbol _OBJC_CLASS_$_BT_tabBarController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_tabBarController-134B5ACD1E27445E.o duplicate symbol _OBJC_METACLASS_$_BT_tabBarController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_tabBarController-134B5ACD1E27445E.o duplicate symbol _OBJC_IVAR_$_BT_viewController.progressView in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.screenData in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.adView in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.adBannerView in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.adBannerViewIsVisible in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.hasStatusBar in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.hasNavBar in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_IVAR_$_BT_viewController.hasToolBar in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_CLASS_$_BT_viewController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_METACLASS_$_BT_viewController in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewController-44E192181176460.o duplicate symbol _OBJC_METACLASS_$_BT_viewControllerManager in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewControllerManager-40DA719D3E4FF469.o duplicate symbol _OBJC_CLASS_$_BT_viewControllerManager in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewControllerManager-40DA719D3E4FF469.o duplicate symbol _OBJC_METACLASS_$_BT_viewUtilities in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewUtilities-31DD2FF1A140146B.o duplicate symbol _OBJC_CLASS_$_BT_viewUtilities in: /Users/alfonsonunez/Library/Developer/Xcode/DerivedData/hgtrivia2-egzcmrgxhkwiofcgkatunmiuzcgp/Build/Intermediates/hgtrivia2.build/Debug-iphonesimulator/hgtrivia2.build/Objects-normal/i386/BT_viewUtilities-31DD2FF1A140146B.o ld: 18 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) I suppose the error is at the very bottom? I'm not the best with coding! :) -Zen
 
Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
like
04/17/13 04:57 PM (12 years ago)
Whoops, Extra comment. :/
 
Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
like
04/17/13 05:00 PM (12 years ago)
Also, The text I enter for the Navigation bar at the top most portion of the screen seems to be missing. I checked if the font colors were the same, but the only change I am able to make is the color of the Bar. I'm starting to wonder if this is a compiling error or an Xcode version error? The error only occurred after I entered the folders. Thanks for all the Help -Zen
 
Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
like
04/17/13 05:31 PM (12 years ago)
I found the solution! However, I do not know the actual problem. But instead of adding all five folders, I added only the important one: the BT_Plugins! The app is up and running again and I can continue to test! :D
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/17/13 05:40 PM (12 years ago)
Probably an issue with one of your images
 
Zenchowda
Aspiring developer
Profile
Posts: 8
Reg: Feb 10, 2013
Solar System, E...
2,680
like
04/17/13 05:45 PM (12 years ago)
Maybe, but could I include a screen background image without the folder?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/17/13 05:52 PM (12 years ago)
You can put the image files in any folder. I would try one or two images at a time though to see which one is causing the problems.
 

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.