iOS Question Local Mac Server Error

hanyelmehy

Active Member
Licensed User
Longtime User
When i try to make Debug i get this error
B4X:
B4i version: 2.50
Parsing code.    (0.04s)
Compiling code.    (0.12s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (1.20s)
Building Xcode project    (0.02s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = armv7
    CODE_SIGN_IDENTITY = iPhone
    CONFIGURATION_BUILD_DIR = /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = feqh alSunnah
    PROVISIONING_PROFILE = 5fb54bc4-ff1f-4137-8bb8-4e9d47bb0876

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

Check dependencies

Write auxiliary files
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah.hmap
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-generated-files.hmap
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-own-target-headers.hmap
/bin/mkdir -p /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/feqh\ alSunnah.LinkFileList
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-all-target-headers.hmap
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-all-non-framework-target-headers.hmap
write-file /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-project-headers.hmap

Create product structure
/bin/mkdir -p /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload/feqh\ alSunnah.app

ProcessInfoPlistFile Payload/feqh\ alSunnah.app/Info.plist B4iProject/B4iProject-Info.plist
    cd /Users/hany/Documents/macserver_25/UploadedProjects/<user id>
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-infoPlistUtility /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist -genpkginfo /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload/feqh\ alSunnah.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload/feqh\ alSunnah.app/Info.plist

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_dbutils.o B4iProject/b4i_dbutils.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/hany/Documents/macserver_25/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:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fm-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/pm/xzv63ftd20gbcmmhccjhp6rw0000gn/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.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-generated-files.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-own-target-headers.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-all-target-headers.hmap -iquote /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-project-headers.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload/include -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_dbutils.d --serialize-diagnostics /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_dbutils.dia -c /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/B4iProject/b4i_dbutils.m -o /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_dbutils.o
In file included from /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/B4iProject/b4i_dbutils.m:2:
/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/B4iProject/b4i_dbutils.h:7:9: fatal error: 'iDebug2.h' file not found
#import "iDebug2.h"
        ^
1 error generated.

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/hany/Documents/macserver_25/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:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fm-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/pm/xzv63ftd20gbcmmhccjhp6rw0000gn/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.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-generated-files.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-own-target-headers.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-all-target-headers.hmap -iquote /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/feqh\ alSunnah-project-headers.hmap -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload/include -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/hany/Documents/macserver_25/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/B4iProject/main.m -o /Users/hany/Documents/macserver_25/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o


Error: ** BUILD FAILED **


The following build commands failed:
    CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_dbutils.o B4iProject/b4i_dbutils.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

i can run B4i Build Server with this result
B4X:
B4i Build Server

Build server is running.
Version: 2.5
Server time: 16:04:39
Mac SSL Key

Key IP: 192.168.1.201
SSL port: 51042
h files

iAd: 1.00
iAdMob: 1.20
iArchiver: 1.01
iBarcode: 1.03
iBLE: 1.25
iCore: 1.80
iDebug: 1.60
iDesigner: 1.20
iDropboxSync: 1.00
iEncryption: 1.02
iGoogleMaps: 1.01
iHttp: 1.01
iHUD: 1.00
iJSON: 1.0
iLeadbolt: 1.00
iLocation: 1.20
iMedia: 1.20
iNet: 1.20
iNetwork: 1.10
iPhone: 1.40
iRandomAccessFile: 1.20
iSideMenu: 1.01
iSQL: 1.01
iStore: 1.0
iStringUtils: 1.00
iTableView: 1.20
iWebSocket: 1.00
iXmlBuilder: 1.00
iXmlSax: 1.00

i use xcode 7.2 (7C68) ,B4I 2.50
i am able to build Bridge and install it
 

Pendrush

Well-Known Member
Licensed User
Longtime User
You have missing iDebug2 v1.60 library

Here is my local builder v2.51

Some of libraries on your local builder are outdated, for example iSQL, iNetwork, iPhone, etc.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…