apple mach-o linker error...????

Discussion in 'Mac Programming' started by rahul29tech, Dec 27, 2011.

  1. macrumors member

    Joined:
    Dec 22, 2011
    #1
    Ld /Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Products/Debug-iphonesimulator/QuartzFun_12.app/QuartzFun_12 normal i386
    cd /Users/daccit_admin/Desktop/rahul_iphone_practise/QuartzFun_121
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Products/Debug-iphonesimulator -F/Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Products/Debug-iphonesimulator -filelist /Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Intermediates/QuartzFun_12.build/Debug-iphonesimulator/QuartzFun_12.build/Objects-normal/i386/QuartzFun_12.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Products/Debug-iphonesimulator/QuartzFun_12.app/QuartzFun_12

    ld: duplicate symbol _OBJC_METACLASS_$_QuartzFunView in /Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Intermediates/QuartzFun_12.build/Debug-iphonesimulator/QuartzFun_12.build/Objects-normal/i386/QuartzFunView-7F31D4DF4C0CAD70.o and /Users/daccit_admin/Library/Developer/Xcode/DerivedData/QuartzFun_12-duaasdkdhhenpgamwilapowknilz/Build/Intermediates/QuartzFun_12.build/Debug-iphonesimulator/QuartzFun_12.build/Objects-normal/i386/QuartzFunView-70B37196F573EF4C.o for architecture i386
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1



    what to do plz tell me plzzzz...:( and if to add any framework ,so how to add framework plz tell me ...help me...
     
  2. thread starter macrumors member

    Joined:
    Dec 22, 2011
    #2
    hey :)..got it problem solved....by mistake or dnt know how i add 2 same name method.....
     

Share This Page