iOS Question Compiling B4i with new Video Player

Alberto Iglesias

Well-Known Member
Licensed User
Hello,

When I compile I got this error:

B4X:
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



My test device iOS 11.3.1
 
Top