B4i Library Lottie (Render After Effects Animations Natively)

This is a wrapper for this Github project.
Click here for the B4A wrapper by @DonManfred
Here you can find free Lottie animations. Remember to download as Lottie JSON.

iLottie
Author:
@Biswajit
Version: 1
  • iLottie
    • Events:
      • AnimationFinished (Completed As Boolean)
    • Fields:
      • AnimationView As View
      • ASPECT_FILL_CONTENT As Int
      • ASPECT_FIT_CONTENT As Int
      • SCALE_FILL_CONTENT As Int
    • Functions:
      • AnimationFromFile (dir As String, filename As String)
        Loads an animation from a specific file path. WARNING Do not use a web URL for file path.
      • AnimationFromJSONString (JSONString As String)
        Creates an animation from the deserialized JSON String
      • AnimationFromURL (url As String)
        Loads animation asynchronously from the specified URL
      • Initialize (Event As String, callback As Object)
        Initialize the library
      • IsInitialized As Boolean
        Tests whether the object has been initialized.
      • Pause
        Stops the animation at the current frame. The completion block will be called.
      • Play
        Plays the animation from its current position To the end of the animation.
        The animation will start from its current position.
        If loopAnimation Is YES the animation will Loop from beginning To end indefinitely.
        If loopAnimation Is NO the animation will Stop And the completion block will be called.
      • PlayFromToFrame (FromFrame As Int, ToFrame As Int)
        Plays the animation from specific frame To a specific frame.
        The animation will start from its current position.
        If loopAnimation Is YES the animation will Loop start frame To end frame indefinitely.
        If loopAnimation Is NO the animation will Stop And the completion block will be called.
      • PlayFromToProgress (FromProgress As Float, ToProgress As Float)
        Plays the animation from specific progress To a specific progress (0 to 1)
        The animation will start from its current position.
        If loopAnimation Is YES the animation will Loop from the startProgress To the endProgress indefinitely
        If loopAnimation Is NO the animation will Stop And the completion block will be called.
      • PlayToFrame (ToFrame As Int)
        Plays the animation from its current position To a specific frame.
        The animation will start from its current position.
        If loopAnimation Is YES the animation will Loop from beginning To ToFrame indefinitely.
        If loopAnimation Is NO the animation will Stop And the completion block will be called.
      • Stop
        Stops the animation and rewinds to the beginning. The completion block will be called.
    • Properties:
      • AnimationDuration As Float [read only]
        Read only of the duration in seconds of the animation at speed of 1
      • AnimationFrame As Int
        Sets progress of animation to a specific frame. If the animation is playing it will stop and the completion block will be called.
      • AnimationProgress As Float
        Sets a progress from 0 - 1 of the animation.
        If the animation is playing it will stop and the completion block will be called.
        The current progress of the animation in absolute time.
        e.g. a value of 0.75 always represents the same point in the animation, regardless of positive Or negative speed.
      • AnimationSpeed As Float
        Sets the speed of the animation. Accepts a negative value for reversing animation.
      • AutoReverseAnimation As Boolean
        The animation will play forward and then backwards if loopAnimation is also TRUE
      • CacheEnable As Boolean
        Enables or disables caching of the backing animation model. Defaults to TRUE
      • ContentMode As Int
        Set the content mode to one of the CONTENT constant.
      • IsAnimationPlaying As Boolean [read only]
        Flag is YES when the animation is playing
      • LoopAnimation As Boolean
        Tells the animation to loop indefinitely. Defaults is False.
Installation:
  1. Copy XML file to B4I additional library folder.
  2. Its recommended to download the framework file directly from the safari of your mac.
  3. Copy .framework, .h and .a files to Libs folder of the local build server
Note: Set the animation before attaching the view to a parent view.
 

Attachments

  • iLottie.xml
    11.8 KB · Views: 35
  • framework.zip
    471.6 KB · Views: 54
  • lottie-example.zip
    2.3 KB · Views: 34

nobbi59

Active Member
Licensed User
Longtime User
Thank you for sharing this library @Biswajit

Im having problems with animations that contain text, the text is not being displayed. did anyoune else encounter this problem?
 

Biswajit

Active Member
Licensed User
Longtime User
Thank you for sharing this library @Biswajit

Im having problems with animations that contain text, the text is not being displayed. did anyoune else encounter this problem?
You haven't provided much information to identify the issue. Maybe the file you are using is not optimized for lottie. There is nothing to do with the wrapper. The wrapper just passes the data you provide to the actual lottie library.
 

nobbi59

Active Member
Licensed User
Longtime User
Actually I googled a bit and found out that you shouldnt use text with lottie but convert the text into shapes. Now its working.
 

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

I followed steps but i got error while compiling

B4X:
B4i Version: 6.80
Parsing code.    (0.02s)
Building folders structure.    (2.01s)
Compiling code.    (0.29s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (0.03s)
Building Xcode project    (1.84s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = x86_64
    CODE_SIGNING_REQUIRED = NO
    CONFIGURATION_BUILD_DIR = /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload
    PRODUCT_NAME = Lottie Example
    SDKROOT = iphonesimulator13.2

note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    builtin-create-build-directory /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build

MkDir /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /bin/mkdir -p /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app

MkDir /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Frameworks (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /bin/mkdir -p /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Frameworks

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    

Entitlements:

{
    "application-identifier" = "SZ733FLFD5.com.sentio.armut2";
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent

ProcessProductPackaging "" /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    

Entitlements:

{
    "com.apple.security.get-task-allow" = 1;
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app.xcent

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/all-product-headers.yaml (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-non-framework-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-non-framework-target-headers.hmap

CompileC /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/qg/ff3phtmd6c3b2pfqh_vs8nnr0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/include -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources-normal/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.dia -c /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/main.m -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList

CompileC /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/b4i_main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/qg/ff3phtmd6c3b2pfqh_vs8nnr0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/include -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources-normal/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.d --serialize-diagnostics /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.dia -c /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o

Ld /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example normal x86_64 (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios8.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liLottie -framework AVFoundation -framework Lottie -liDebug2 -Xlinker -dependency_info -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example_dependency_info.dat -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example
ld: warning: ignoring file ../../Libs/Lottie.framework/Lottie, missing required architecture x86_64 in file ../../Libs/Lottie.framework/Lottie (2 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_LOTAnimationView", referenced from:
      objc-class-ref in libiLottie.a(b4i_ilottie.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: 2020-10-30 22:43:15.471 xcodebuild[48685:2581785]  DVTProvisioningProfileManager: Failed to load profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf".})
** BUILD FAILED **


The following build commands failed:
    Ld /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example normal x86_64
(1 failure)
 

Attachments

  • Screen Shot 2020-10-30 at 22.44.45.png
    Screen Shot 2020-10-30 at 22.44.45.png
    40.6 KB · Views: 12

Biswajit

Active Member
Licensed User
Longtime User
Hello,

I followed steps but i got error while compiling

B4X:
B4i Version: 6.80
Parsing code.    (0.02s)
Building folders structure.    (2.01s)
Compiling code.    (0.29s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (0.03s)
Building Xcode project    (1.84s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = x86_64
    CODE_SIGNING_REQUIRED = NO
    CONFIGURATION_BUILD_DIR = /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload
    PRODUCT_NAME = Lottie Example
    SDKROOT = iphonesimulator13.2

note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    builtin-create-build-directory /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build

MkDir /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /bin/mkdir -p /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app

MkDir /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Frameworks (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /bin/mkdir -p /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Frameworks

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements-Simulated.plist

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
   

Entitlements:

{
    "application-identifier" = "SZ733FLFD5.com.sentio.armut2";
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent

ProcessProductPackaging "" /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
   

Entitlements:

{
    "com.apple.security.get-task-allow" = 1;
}


    builtin-productPackagingUtility -entitlements -format xml -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app.xcent

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/all-product-headers.yaml (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-non-framework-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-non-framework-target-headers.hmap

CompileC /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/qg/ff3phtmd6c3b2pfqh_vs8nnr0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/include -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources-normal/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.dia -c /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/main.m -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o

WriteAuxiliaryFile /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    write-file /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList

CompileC /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/b4i_main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios8.0-simulator -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/qg/ff3phtmd6c3b2pfqh_vs8nnr0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=12 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-generated-files.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-own-target-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-all-target-headers.hmap -iquote /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example-project-headers.hmap -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/include -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources-normal/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.d --serialize-diagnostics /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.dia -c /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o

Ld /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example normal x86_64 (in target 'B4iProject' from project 'B4iProject')
    cd /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios8.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Lottie\ Example.app-Simulated.xcent -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liLottie -framework AVFoundation -framework Lottie -liDebug2 -Xlinker -dependency_info -Xlinker /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Lottie\ Example_dependency_info.dat -o /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example
ld: warning: ignoring file ../../Libs/Lottie.framework/Lottie, missing required architecture x86_64 in file ../../Libs/Lottie.framework/Lottie (2 slices)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_LOTAnimationView", referenced from:
      objc-class-ref in libiLottie.a(b4i_ilottie.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: 2020-10-30 22:43:15.471 xcodebuild[48685:2581785]  DVTProvisioningProfileManager: Failed to load profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/yasinkucuk/Library/MobileDevice/Provisioning Profiles/ab321db8-2a4d-4f15-af9e-4c499abd43cf".})
** BUILD FAILED **


The following build commands failed:
    Ld /Users/yasinkucuk/Desktop/B4iBuildServer12/UploadedProjects/<user id>/Payload/Lottie\ Example.app/Lottie\ Example normal x86_64
(1 failure)
The lottie framework doesn't support ios simulator.
 

fbritop

Active Member
Licensed User
Longtime User
Hi @Biswajit
Is this library uploaded to the hosted builder or can only be used with local builder?

Thanks
FBP
 

fbritop

Active Member
Licensed User
Longtime User
Yes its uploaded to the hosted builder.
Thanks @Biswajit ,
It is working great.
One question, if I want to change the animation file (for example after a certain action has been performed), I just need to call "AnimationFromfile"?. I have been playing around but it only shows me an empty animation after I change the file

Thanks in advance
FBP
 

Biswajit

Active Member
Licensed User
Longtime User
Thanks @Biswajit ,
It is working great.
One question, if I want to change the animation file (for example after a certain action has been performed), I just need to call "AnimationFromfile"?. I have been playing around but it only shows me an empty animation after I change the file

Thanks in advance
FBP
Call stop. It will call AnimationFinished. Inside the AnimationFinished sub just hide the animation view / change the animation. When need to show the animation just make the animation view visible and call play.
 
Last edited:
Top