iOS Question The following build commands failed

ykucuk

Well-Known Member
Licensed User
Longtime User
Hi,

I got below error after installed my new computer and copied folders to same folder with previous computer.

Any help ?


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

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello Erel,

I m trying your Google Map Example project and get below error.

I m using local builder .

i downloaded www.b4x.com/b4i/files/GoogleMaps.framework.zip and copied into Local Mac Server's Libs folder.

I updated internal libraries (#3 https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.48179/#post-499384) . Copied 3 files into Libs Folder.

I know its all about files are not place that they should but cant find the solution.

B4X:
B4i version: 4.01
Parsing code.    (0.01s)
Compiling code.    (0.68s)
Compiling layouts code.    (0.01s)
Compiling debugger engine code.    (3.52s)
Building Xcode project    (1.27s)
Sending data to remote compiler.    Error
Out: Build settings from command line:
    ARCHS = i386
    CODE_SIGNING_REQUIRED = NO
    CONFIGURATION_BUILD_DIR = /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload
    PRODUCT_NAME = B4i Example
    SDKROOT = iphonesimulator10.2

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

Check dependencies

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

ProcessInfoPlistFile Payload/B4i\ Example.app/Info.plist B4iProject/B4iProject-Info.plist
    cd /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
    builtin-infoPlistUtility /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist -genpkginfo /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload/B4i\ Example.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload/B4i\ Example.app/Info.plist

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_googlemapsextra.o B4iProject/b4i_googlemapsextra.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mkucuk/Desktop/B4iServer4/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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -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/9p/k4nz5hks5p13wd729t2zc8rr0000gn/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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload/include -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/i386 -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_googlemapsextra.d --serialize-diagnostics /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_googlemapsextra.dia -c /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/B4iProject/b4i_googlemapsextra.m -o /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_googlemapsextra.o
/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/B4iProject/b4i_googlemapsextra.m:5:9: fatal error: 'GoogleMaps/GoogleMaps.h' file not found
#import <GoogleMaps/GoogleMaps.h>
        ^
1 error generated.

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.o B4iProject/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mkucuk/Desktop/B4iServer4/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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -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/9p/k4nz5hks5p13wd729t2zc8rr0000gn/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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload/include -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/i386 -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.dia -c /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/B4iProject/main.m -o /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.o

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.o B4iProject/b4i_main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/mkucuk/Desktop/B4iServer4/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/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -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/9p/k4nz5hks5p13wd729t2zc8rr0000gn/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/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload/include -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/i386 -I/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.d --serialize-diagnostics /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.dia -c /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/mkucuk/Desktop/B4iServer4/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.o


Error: ** BUILD FAILED **


The following build commands failed:
    CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_googlemapsextra.o B4iProject/b4i_googlemapsextra.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Yes. Directly from the Mac.

Framework and other 3 files should copy into "Libs" (Mac) folder. Right ?

Should i copy some files to pc ?

Thanks
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Hi,

Could you share all links here. Its possible i downloaded old version on forum.

Thanks
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Hi erel,
-I downloaded local server folder.
-Download GoogleMaps framework, Xml file and zip file.
-Copy all this files under Libs folders

Still get this error

B4X:
/Users/mkucuk/Desktop/B4iServer5/UploadedProjects/<user id>/B4iProject/b4i_googlemapsextra.m:5:9: fatal error: 'GoogleMaps/GoogleMaps.h' file not found
#import <GoogleMaps/GoogleMaps.h>
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
GoogleMaps.h location:

SS-2017-07-11_11.28.36.png
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
Could You check my picture please. Looks like same.
 

Attachments

  • Screen Shot 2017-07-11 at 12.32.02.png
    Screen Shot 2017-07-11 at 12.32.02.png
    253.9 KB · Views: 256
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
None of any solution doesnt work. Finally my old computer fixed and i copied old Local Server folder to new computer.

it works now.

Thank you
 
Upvote 0
Top