iOS Question Compiling B4i with new Video Player

Discussion in 'iOS Questions' started by Alberto Iglesias, May 15, 2018.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User


    When I compile I got this error:

    Ld Payload/Test\\ Video normal arm64
        cd /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user 
        /Applications/ -arch arm64 -isysroot /Applications/
    .2.sdk -L/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/\ Video.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/\ Video_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liUI8 -framework AVFoundation -liDebug2 -Xlinker -dependency_info -Xlinker /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/\ Video_dependency_info.dat -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/Test\\ Video
    Undefined symbols 
    for architecture arm64:
    "_OBJC_CLASS_$_B4IVideoPlayer", referenced from:
    in b4i_main.o
    ld: symbol(s) 
    not found for architecture arm64
    clang: error: linker command failed with 
    exit code 1 (use -v to see invocation)

    Error: ** BUILD FAILED **

    The following build commands failed:
        Ld Payload/Test\\ Video normal arm64
    1 failure)
    I tested on B4 Servers and compile oK, but my server have some different, look:

    My Server (image)
    Using B4i 4.81


    My test device iOS 11.3.1
  2. Erel

    Erel Administrator Staff Member Licensed User

    Search for this line in your server test output:
    libiUI8, size=569896, modified=11/28/2017 18:05:36

    Is it the same?
  3. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    I don't think so! 509,960 bytes (512 KB on disk)

    Strange. I always copy all libs when you send the b4ibuildserver.... I will check every file.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice