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

    Hello,

    When I compile I got this error:

    Code:
    Ld Payload/Test\ Video.app/Test\ Video normal arm64
        cd /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user 
    id>
        export IPHONEOS_DEPLOYMENT_TARGET=
    8.0
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/iglesias/.nvm/versions/node/v7.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11
    .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/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Test\ 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/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Test\ 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/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Test\ Video_dependency_info.dat -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/Test\ Video.app/Test\ Video
    Undefined symbols 
    for architecture arm64:
      
    "_OBJC_CLASS_$_B4IVideoPlayer", referenced from:
          objc-class-ref 
    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.app/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

    [​IMG]

    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.

    Thanks
     
Loading...
  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