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 -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/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 -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/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
B4i Build Server
Build server is running.
Version: 2.51
Server time: 11:32:13
Mac SSL Key
Key IP: 192.168.1.240
SSL port: 51042
h files
  • iAd: 1.00
  • iAdMob: 1.30
  • iAnalytics: 1.0
  • iArchiver: 1.01
  • iBarcode: 1.20
  • iBLE: 1.40
  • iContacts: 1.00
  • iCore: 2.52
  • iDebug: 1.60
  • iDebug2: 1.60
  • iDesigner: 1.20
  • iDropboxSync: 1.00
  • iEncryption: 1.02
  • iGoogleMaps: 1.10
  • iHttp: 1.01
  • iHUD: 1.00
  • iJSON: 1.0
  • iLeadbolt: 2.00
  • iLocation: 1.20
  • iMedia: 1.21
  • iMQTT: 1.0
  • iNet: 1.20
  • iNetwork: 1.11
  • iPhone: 1.70
  • iRandomAccessFile: 1.50
  • iReleaseLogger: 1.00
  • iSideMenu: 1.01
  • iSQL: 1.30
  • iStore: 1.0
  • iStringUtils: 1.00
  • iSVG: 1.00
  • iTableView: 1.21
  • iUI8: 1.20
  • iWebSocket: 1.00
  • iXmlBuilder: 1.00
  • iXmlSax: 1.10
a files
  • libAppTracker, size=3933908, modified=09/17/2014 09:29:48
  • libCore, size=3507040, modified=02/28/2016 16:38:34
  • libGoogleAnalyticsServices, size=34153904, modified=11/12/2015 05:06:06
  • libiAd, size=36880, modified=02/22/2016 12:22:22
  • libiAdMob, size=68176, modified=02/22/2016 12:22:22
  • libiAnalytics, size=39504, modified=02/08/2016 14:49:24
  • libiArchiver, size=245120, modified=02/22/2016 12:22:22
  • libiBarcode, size=247568, modified=01/27/2016 15:12:28
  • libiBLE, size=145120, modified=03/16/2016 07:23:32
  • libiContacts, size=111512, modified=02/22/2016 14:07:24
  • libiDebug, size=1022464, modified=06/30/2015 06:15:48
  • libiDebug2, size=1077520, modified=02/22/2016 12:22:22
  • libiDesigner, size=846912, modified=02/22/2016 12:22:24
  • libiDropboxSync, size=80960, modified=02/22/2016 12:22:24
  • libiEncryption, size=67752, modified=02/22/2016 12:22:24
  • libiGoogleMaps, size=160616, modified=02/22/2016 12:22:24
  • libiHttp, size=121800, modified=02/22/2016 12:22:24
  • libiHUD, size=285496, modified=02/22/2016 12:22:24
  • libiJSON, size=53320, modified=02/22/2016 12:22:24
  • libiLeadbolt, size=21440, modified=02/22/2016 12:22:24
  • libiLocation, size=122192, modified=02/22/2016 12:22:24
  • libiMedia, size=254864, modified=02/07/2016 08:05:26
  • libiMQTT, size=1575592, modified=02/22/2016 12:22:24
  • libiNet, size=532392, modified=02/22/2016 12:22:24
  • libiNetwork, size=260272, modified=02/18/2016 16:53:34
  • libiPhone, size=294336, modified=02/23/2016 14:06:22
  • libiRandomAccessFile, size=385184, modified=02/22/2016 12:22:24
  • libiReleaseLogger, size=49976, modified=02/22/2016 12:22:24
  • libiSideMenu, size=504704, modified=02/22/2016 12:22:24
  • libiSQL, size=401008, modified=02/15/2016 11:55:44
  • libiStore, size=51224, modified=02/22/2016 12:22:24
  • libiStringUtils, size=55328, modified=02/22/2016 12:22:24
  • libiSVG, size=57360, modified=02/22/2016 12:22:24
  • libiTableView, size=194152, modified=02/22/2016 12:22:24
  • libiUI8, size=501424, modified=02/29/2016 09:36:58
  • libiWebSocket, size=391936, modified=02/22/2016 12:22:24
  • libiXmlBuilder, size=151200, modified=02/22/2016 12:22:24
  • libiXmlSax, size=61888, modified=02/22/2016 12:22:24
  • libLeadboltOverlay, size=3721828, modified=12/01/2014 11:03:42

Some of libraries on your local builder are outdated, for example iSQL, iNetwork, iPhone, etc.
 
Upvote 0
Top