iOS Question I can't compile

Discussion in 'iOS Questions' started by mauro vicamini, Jul 20, 2015.

  1. mauro vicamini

    mauro vicamini Active Member Licensed User

    Hi Everyone,
    this evening suddenly I get this when i try to compile with remote builder:
    it start so
    Code:
    B4i version: 2.00
    Parsing code.    (
    0.05s)
    Compiling code.    (
    0.17s)
    Compiling layouts code.    (
    0.01s)
    Compiling debugger engine code.    (
    1.43s)
    Building Xcode project    (
    0.16s)
    Sending data 
    to remote compiler.    Error
    Out: Build 
    settings from command line:
        ARCHS = armv7
        CODE_SIGN_IDENTITY = iPhone
        CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects//Payload
        OTHER_CODE_SIGN_FLAGS = --keychain 
        PRODUCT_NAME = B4i Example
        PROVISIONING_PROFILE = 2b7ae7ed-88f8-
    4460-9084-65e5d357a6c9
    and end with this (in the middle a lot of stuff that I've deleted for the limitation of the posts)
    Code:
    Ld Payload/B4i\ Example.app/B4i\ Example normal armv7
        cd /Users/administrator/Documents/UploadedProjects/
        export IPHONEOS_DEPLOYMENT_TARGET=
    7.0
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8
    .4.sdk -L/Users/administrator/Documents/UploadedProjects/a2kejnx/Payload -L../../Libs -F/Users/administrator/Documents/UploadedProjects/a2kejnx/Payload -F../../Libs -filelist /Users/administrator/Documents/UploadedProjects/a2kejnx/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example.LinkFileList -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liHttp -liSQL -liRandomAccessFile -liNetwork -liStringUtils -liLocation -liEncryption -liHUD -liGoogleMaps -liTableView -liDesigner -framework AVFoundation -lsqlite3 -lz -framework CoreLocation -framework CoreData -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework GoogleMaps -liDebug -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/a2kejnx/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/a2kejnx/Payload/B4i\ Example.app/B4i\ Example
    duplicate symbol _OBJC_CLASS_$_FastServerSocket 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastServerSocket.lastError 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastServerSocket.port 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastServerSocket.sockfd 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastServerSocket.timeout 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_METACLASS_$_FastServerSocket 
    in:
        ../../Libs/libiDesigner.a(FastServerSocket.o)
        ../../Libs/libiDebug.a(FastServerSocket.o)
    duplicate symbol _OBJC_CLASS_$_FastSocket 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._buffer 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._host 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._lastError 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._port 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._segmentSize 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._size 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._sockfd 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_IVAR_$_FastSocket._timeout 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_METACLASS_$_FastSocket 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _connect_timeout 
    in:
        ../../Libs/libiDesigner.a(FastSocket.o)
        ../../Libs/libiDebug.a(FastSocket.o)
    duplicate symbol _OBJC_CLASS_$_B4IGetIpAddress 
    in:
        ../../Libs/libiDesigner.a(B4IGetIpAddress.o)
        ../../Libs/libiDebug.a(B4IGetIpAddress.o)
    duplicate symbol _OBJC_METACLASS_$_B4IGetIpAddress 
    in:
        ../../Libs/libiDesigner.a(B4IGetIpAddress.o)
        ../../Libs/libiDebug.a(B4IGetIpAddress.o)
    duplicate symbol _OBJC_CLASS_$_MBBarProgressView 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_CLASS_$_MBProgressHUD 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_CLASS_$_MBRoundProgressView 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBBarProgressView._lineColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBBarProgressView._progress 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBBarProgressView._progressColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBBarProgressView._progressRemainingColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD._cornerRadius 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.animationType 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.color 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.completionBlock 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.customView 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.delegate 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.detailsLabel 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.detailsLabelColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.detailsLabelFont 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.detailsLabelText 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.dimBackground 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.graceTime 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.graceTimer 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.indicator 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.isFinished 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.label 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.labelColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.labelFont 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.labelText 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.margin 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.methodForExecution 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.minShowTime 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.minShowTimer 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.minSize 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.mode 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.objectForExecution 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.opacity 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.progress 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.removeFromSuperViewOnHide 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.rotationTransform 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.showStarted 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.size 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.square 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.targetForExecution 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.taskInProgress 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.useAnimation 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.xOffset 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBProgressHUD.yOffset 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBRoundProgressView._annular 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBRoundProgressView._backgroundTintColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBRoundProgressView._progress 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_IVAR_$_MBRoundProgressView._progressTintColor 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_METACLASS_$_MBBarProgressView 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_METACLASS_$_MBProgressHUD 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    duplicate symbol _OBJC_METACLASS_$_MBRoundProgressView 
    in:
        ../../Libs/libiDesigner.a(MBProgressHUD.o)
        ../../Libs/libiDebug.a(MBProgressHUD.o)
    ld: 
    71 duplicate symbols for architecture armv7
    clang: error: linker command failed with 
    exit code 1 (use -v to see invocation)


    Error: ** BUILD FAILED **


    The following build commands failed:
        Ld Payload/B4i\ Example.app/B4i\ Example normal armv7
    (
    1 failure)
    I don't have changed nothing of particular and now I get always this also after cleaning the project.
    What is the cause of this problem?
    Thanks.
     
    Last edited by a moderator: Jul 21, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which libraries are references? libiDesigner.a is part of B4i-Bridge. It shouldn't be referenced by your app.
     
  3. mauro vicamini

    mauro vicamini Active Member Licensed User

    Thanks Erel,
    I don't know why but iDesigner was referenced. Maybe I've cheked it accidentally.
     
Loading...