iOS Question Build failure

Discussion in 'iOS Questions' started by Tom2525, Aug 18, 2016.

  1. Tom2525

    Tom2525 Member Licensed User

    I have an app that builds successfully but when creating a different app it fails. Not sure where I'm going wrong but it shows two failures.

    Code:
    The following build commands failed:
        CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.o B4iProject/b4i_asyncstreamstext.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
        CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
    (
    2 failures)
    What can I do to resolve this issue?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You need to post the full message from the compilation window.
     
  3. Tom2525

    Tom2525 Member Licensed User

    Code:
    B4i version: 2.80 BETA #1
    Parsing code.    (
    0.00s)
    Compiling code.    (
    0.12s)
    Compiling layouts code.    (
    0.00s)
    Compiling debugger engine code.    (
    0.83s)
    Building Xcode project    (
    0.04s)
    Sending data 
    to remote compiler.    Error
    Out: Build 
    settings from command line:
        ARCHS = armv7
        CODE_SIGN_IDENTITY = iPhone
        CONFIGURATION_BUILD_DIR = /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>/Payload
        OTHER_CODE_SIGN_FLAGS = --keychain <user 
    id>
        PRODUCT_NAME = rdu
        PROVISIONING_PROFILE = 119ff08e-375a-48a3-845c-c2245a089ddf

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

    Check dependencies

    Write auxiliary files
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu.hmap
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-project-headers.hmap
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-all-target-headers.hmap
    /bin/mkdir -p /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/rdu.LinkFileList
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-generated-files.hmap
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-all-non-framework-target-headers.hmap
    write-
    file /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-own-target-headers.hmap

    Create product structure
    /bin/mkdir -p /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>/Payload/rdu.app

    ProcessInfoPlistFile Payload/rdu.app/Info.plist B4iProject/B4iProject-Info.plist
        cd /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin"
        builtin-infoPlistUtility /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>/B4iProject/B4iProject-Info.plist -genpkginfo /Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload/rdu.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload/rdu.app/Info.plist

    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
        cd /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>
        export LANG=en_US.US-ASCII
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=
    0 -fdiagnostics-show-note-include-stack -fma<user id>o-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/s9/pwszz9ws0qz6kt5_cfsv7x4c0000gn/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 -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-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/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-generated-files.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-own-target-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-all-target-headers.hmap -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-project-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload/include -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/MBP/Desktop/test/UploadedProjects/<user id>/B4iProject/main.m -o /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o

    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.o B4iProject/b4i_asyncstreamstext.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
        cd /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>
        export LANG=en_US.US-ASCII
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=
    0 -fdiagnostics-show-note-include-stack -fma<user id>o-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/s9/pwszz9ws0qz6kt5_cfsv7x4c0000gn/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 -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-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/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-generated-files.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-own-target-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-all-target-headers.hmap -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-project-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload/include -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.d --serialize-diagnostics /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.dia -c /Users/MBP/Desktop/test/UploadedProjects/<user id>/B4iProject/b4i_asyncstreamstext.m -o /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.o
    In file included from /Users/MBP/Desktop/test/UploadedProjects/<user id>/B4iProject/b4i_asyncstreamstext.m:2:
    /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>/B4iProject/b4i_asyncstreamstext.h:1:9: fatal error: 'iCore.h' file not found
    #import "iCore.h"
            ^
    1 error generated.

    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
        cd /Users/MBP/Desktop/test/UploadedProjects/<user 
    id>
        export LANG=en_US.US-ASCII
        export 
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=
    0 -fdiagnostics-show-note-include-stack -fma<user id>o-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/s9/pwszz9ws0qz6kt5_cfsv7x4c0000gn/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 -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-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/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-generated-files.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-own-target-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-all-target-headers.hmap -iquote /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/rdu-project-headers.hmap -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload/include -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/MBP/Desktop/test/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.d --serialize-diagnostics /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.dia -c /Users/MBP/Desktop/test/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/MBP/Desktop/test/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o
    In file included from /Users/MBP/Desktop/test/UploadedProjects/<user id>/B4iProject/b4i_main.m:2:
    /Users/MBP/Desktop/test/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-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_asyncstreamstext.o B4iProject/b4i_asyncstreamstext.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
        CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_
    0.compiler
    (
    2 failures)
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Note that v2.80 was already released. Better use it instead of the beta version.

    Try to clean the project by clicking on Ctrl + P. Does it help?
     
  5. Tom2525

    Tom2525 Member Licensed User

    Cleaning it didn't help. I'll upgrade to 2.80, however, the other app I have compiles just fine with the beta version.
     
  6. Tom2525

    Tom2525 Member Licensed User

    The hosted builder works perfectly. Does that tell you what the problem is on the local server?
     
  7. Tom2525

    Tom2525 Member Licensed User

    I found the problem. Not exactly sure what it is but when I create a new B4i file, it complies just fine. I'll figure it out, thanks for the help.
     
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