iOS Question Builder Problem Occurs

Discussion in 'iOS Questions' started by mbayik, Feb 6, 2018.

  1. mbayik

    mbayik Member Licensed User

    Hi, im new at b4i. i've local mac and already b4ibuildserver running with port 51041. the xcode version is 9.2. b4i is 4.81

    iget this error
    B4i Version: 4.81
    Parsing code. (0.00s)
    Compiling code. (0.31s)
    Compiling layouts code. (0.00s)
    Compiling debugger engine code. (0.89s)
    Building Xcode project (0.23s)
    Sending data to remote compiler. Error
    Out: Build settings from command line:
    ARCHS = x86_64
    CODE_SIGNING_REQUIRED = NO
    CONFIGURATION_BUILD_DIR = /Users/mehmet/UploadedProjects/<user id>/Payload
    PRODUCT_NAME = B4i Example
    SDKROOT = iphonesimulator11.2

    === BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

    Check dependencies

    Create product structure
    /bin/mkdir -p /Users/mehmet/UploadedProjects/<user id>/Payload/B4i\ Example.app

    CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o B4iProject/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mehmet/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -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/b5/_zyhnx_x04jcyc_2wlvs10nh0000gp/C/org.llvm.clang/ModuleCache/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 -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/mehmet/UploadedProjects/<user id>/Payload/include -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/mehmet/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.dia -c /Users/mehmet/UploadedProjects/<user id>/B4iProject/main.m -o /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o

    CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o B4iProject/b4i_main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mehmet/UploadedProjects/<user id>
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -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/b5/_zyhnx_x04jcyc_2wlvs10nh0000gp/C/org.llvm.clang/ModuleCache/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 -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/mehmet/UploadedProjects/<user id>/Payload/include -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/mehmet/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.d --serialize-diagnostics /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.dia -c /Users/mehmet/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/mehmet/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o
    In file included from /Users/mehmet/UploadedProjects/<user id>/B4iProject/b4i_main.m:2:
    /Users/mehmet/UploadedProjects/<user id>/B4iProject/b4i_main.h:1:9: fatal error: 'iCore.h' file not found
    #import "iCore.h"
    ^~~~~~~~~
    1 error generated.


    Error: ** BUILD FAILED **


    The following build commands failed:
    CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o B4iProject/b4i_main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    (1 failure)
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Do you have an apple developer account?
     
  3. mbayik

    mbayik Member Licensed User

    yes, of course i have. i can build with hosted builder but i can't build my local mac builder. . i want to use my local. i tried times and times and i got the error..
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Good. It is always easier to first compile with the hosted builder.

    Based on the error message the Libs folder is missing on your Mac.
     
  5. mbayik

    mbayik Member Licensed User

    Thank you, hosted builder very useful and easy but i want to use my local builder.i check the libs folder on my mac, its located on b4ibridge folder.it seems its fine
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Can you post a screenshot of the builder folders?
     
  7. mbayik

    mbayik Member Licensed User

    of course, here are the screen shots.
     

    Attached Files:

  8. Erel

    Erel Administrator Staff Member Licensed User

    It looks correct. Can you post the server output when you start it?

    What happens if you try to open the uploaded Xcode project with Xcode?
     
  9. mbayik

    mbayik Member Licensed User

    hi, sorry about delay. the error log showed below.there is no file in the uploadedProjects folder on my local mac.
    i upgrade the os 10.13.3 thank you


     
  10. Erel

    Erel Administrator Staff Member Licensed User

    The project will be in: /Users/mehmet/UploadedProjects/<user id>/B4iProject/
     
  11. mbayik

    mbayik Member Licensed User

    here is the Xcode errors
     

    Attached Files:

  12. Erel

    Erel Administrator Staff Member Licensed User

    What happens when you click on iCore.h?
     
  13. mbayik

    mbayik Member Licensed User

    hi erel, i think i solved that problem. when i first installed b4iBuildServer to user directory than something was wrong than i moved all dir to root. when you inform me today i open with xcode the project than i see the icore.h is in root\b4iBuildServer\Libs at the end problem was here. i move all directories to \user\mehmet\ .. now it seems working. thank you for your interest and help:):)
     
    Erel likes this.
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