Xcode Error - Exit Code 1

Discussion in 'Technical Discussion' started by jerry, Feb 19, 2018.

  1. jerry

    jerry Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    421
    Likes Received:
    232
    I'm having an issue with building project in Xcode. I am using BB2.3.3 and Xcode 9.2. When I "Build", I am getting an error "Exit Code 1".

    I've looked at the logs and it seems there is a "minizip" library missing??? Is this a BB output error or something with Xcode? I've emailed support but thought I would post it here as well just in case anyone else has the same issue.

    - - -

    Code:
    - - -  -
    
    Ld /Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Products/Debug/PTPlayer.app/Contents/MacOS/PTPlayer normal x86_64
        cd /Users/jberg/Desktop/Design-Painting-Colab-Game2/osx
        export MACOSX_DEPLOYMENT_TARGET=10.8
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Products/Debug -L/Users/jberg/Desktop/Design-Painting-Colab-Game2/osx/libs/cocos2dx -L/Users/jberg/Desktop/Design-Painting-Colab-Game2/osx/libs/box2d -L/Users/jberg/Desktop/Design-Painting-Colab-Game2/osx/libs/core -L/Users/jberg/Desktop/Design-Painting-Colab-Game2/osx/libs/minizip -F/Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Products/Debug -filelist /Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Intermediates.noindex/PTPlayer.build/Debug/PZPlayer.build/Objects-normal/x86_64/PTPlayer.LinkFileList -mmacosx-version-min=10.8 -Xlinker -object_path_lto -Xlinker /Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Intermediates.noindex/PTPlayer.build/Debug/PZPlayer.build/Objects-normal/x86_64/PTPlayer_lto.o -Xlinker -no_deduplicate -stdlib=libc++ -fobjc-link-runtime -ObjC -framework GameKit -framework CoreFoundation -lbox2d -framework OpenGL -framework OpenAL -lminizip -framework Cocoa -lcore -laes -framework AudioToolbox -framework AppKit -framework Foundation -framework QuartzCore -lsqlite3 -lxml2 -lcocos2dx -lz -Xlinker -dependency_info -Xlinker /Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Intermediates.noindex/PTPlayer.build/Debug/PZPlayer.build/Objects-normal/x86_64/PTPlayer_dependency_info.dat -o /Users/jberg/Library/Developer/Xcode/DerivedData/PTPlayer-aaiyqwokhgxzivgtlfbnndripdvz/Build/Products/Debug/PTPlayer.app/Contents/MacOS/PTPlayer
    
    ld: warning: directory not found for option '-L/Users/jberg/Desktop/Design-Painting-Colab-Game2/osx/libs/minizip'
    ld: library not found for -lminizip
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
     
    ThinkSimple likes this.
  2. Kanishk Sachdeva

    Kanishk Sachdeva Avid Boxer

    Joined:
    Jul 10, 2018
    Messages:
    217
    Likes Received:
    16
    I am facing this problem with BB3 and Xcode 10 , did you find a solution for your problem ?
     

Share This Page