iOS Question Build error with iCustomDialog

Discussion in 'iOS Questions' started by mcGeorge, Sep 22, 2019.

  1. mcGeorge

    mcGeorge Member Licensed User

    Hi, I build an application with my local build-server (Version 5.8) and B4I (Version 6.0) and it works great. After I added the iCustomDialog library it crashed while the build process:

    B4i Version: 6.00
    Parsing code.    (
    Building folders structure.    (
    Compiling code.    (
    Compiling layouts code.    (
    Compiling debugger engine code.    (
    Building Xcode project    (
    Sending data 
    to remote compiler.    Error
    Error: security: SecKeychainDelete: The specified keychain could 
    not be found.

    Out: Build 
    settings from command line:
        ARCHS = arm64
        CODE_SIGN_IDENTITY = iPhone Distribution: mcGeorge (***********)
        CONFIGURATION_BUILD_DIR = /Applications/macserver-aa/UploadedProjects/<user 
        OTHER_CODE_SIGN_FLAGS = --keychain <user 
        PRODUCT_NAME = B4i Example
        PROVISIONING_PROFILE = 62e40c6f-***************

    note: Using new build system
    note: Planning build
    note: Constructing build description

    In file included from /Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/b4i_main.m:2:
    id>/B4iProject/b4i_main.h:6:9: fatal error: 'iCustomDialog.h' file not found
    #import "iCustomDialog.h"
    1 error generated.

    error: Build input 
    file cannot be found: '/Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/LS_2.m' (in target 'B4iProject' from project 'B4iProject')

    The following build commands failed:
        CompileC /Applications/macserver-aa/UploadedProjects/<user 
    id>/build/ /Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/b4i_frmkunde.m normal arm64 objective-c
        CompileC /Applications/macserver-aa/UploadedProjects/<user 
    id>/build/ /Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c
        CompileC /Applications/macserver-aa/UploadedProjects/<user 
    id>/build/ /Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/b4i_db.m normal arm64 objective-c
        CompileC /Applications/macserver-aa/UploadedProjects/<user 
    id>/build/ /Applications/macserver-aa/UploadedProjects/<user id>/B4iProject/LS_2.m normal arm64 objective-c
    4 failures)
    BTW, if I use the hosted builder it will work, upon that I assume the problem is my local builder. But how can I find the reason or fix that problem?

    Thanks in advance.
  2. Filippo

    Filippo Expert Licensed User

    here is the mistake: file hot found
  3. hatzisn

    hatzisn Active Member Licensed User

    Why don't you use b4xdialog with custom layout?
  4. Erel

    Erel Administrator Staff Member Licensed User

    I agree. You should use B4XDialog. Cross platform, more powerful and more customizable.
  5. mcGeorge

    mcGeorge Member Licensed User

    Thanks for the tip with B4XDialog, I think that is, of course, a better way but...

    It had nothing to do with my problem. It is like you has a problem with your car, a Mercedes and the dealer tell you: Why are you not driving a VW?
    This is only a side remark because I was able to solve my problem by myself. I removed Xcode and the mac-builder and deleted all related subfolders, rebooted my mac mini and installed everything again and it works. I also disabled the automatic update function, maybe that was the reason? No idea, but it works now.
  6. Erel

    Erel Administrator Staff Member Licensed User

    Not exactly correct. It was clear that there was some configuration problem. Instead of wasting your time fixing it we suggested a better solution. Why spend time fixing an issue related to an old library when you should switch to the new library anyway?
  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