iOS Question B4i local builder problem

cwt

Active Member
Licensed User
Longtime User
I use the hosted builder with no problem. I am trying to setup local builder, basically just to have a backup.

I get the below error when trying to compile with the local builder:

Error: 2023-08-20 13:51:05.292 xcodebuild[864:10865] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **

I have search for a solution in the forums and online but could find nothing conclusive.

On the MacBook pro I have the following:

XCode v14.3
Mac v13.3.1
BuildServer v8.10

on my iPhone 8:

iOS v16.5.1

on my Windows development computer:

B4i v8.30
B4i #MinVersion: 11

BuildServer runs fine on the Mac Terminal window and I ran XCode after the install

Please help.
 

cwt

Active Member
Licensed User
Longtime User
Attached is the entire compile message.

Below is a snippet of one of the error messages in the attached file:

/<user id>/B4iProject/LS_vehicle_show_tab_pictures.m:2:9: fatal error: 'iCore.h' file not found
#import "iCore.h"
^~~~~~~~~
1 error generated.

On the Mac, the B4i-Builder folder is on the desktop and I checked the Libs folder - the iCore.h file is there.
 

Attachments

  • Build Error.txt
    37.6 KB · Views: 131
Upvote 0

cwt

Active Member
Licensed User
Longtime User
Also, I can connect to the server as shown by this screenshot:

2023-08-21_06-34-29.png
 
Upvote 0

cwt

Active Member
Licensed User
Longtime User
I was using a shortcut before.

When I start the server via terminal and in the builder folder it fails with a different missing file:

............/Users/chucktart/Desktop/B4i-Builder/Libs/iGoogleMaps.h:3:9: fatal error: 'GoogleMaps/GoogleMaps.h' file not found
#import <GoogleMaps/GoogleMaps.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

iGoogleMaps.h is in the Libs folder

1. I open the terminal window
2. change directory by entering this text in the terminal window: cd/desktop/B4i-Builder
3. verify that the directory is correct
4. type this text in the terminal window: java -jar B4iBuildServer.jar
 
Last edited:
Upvote 0

cwt

Active Member
Licensed User
Longtime User
The full line for this error message is:

CompileC /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
cd /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/dm/5ymn9v5d0l3cf6q759s1_4040000gn/C/com.apple.DeveloperTools/14.3.1-14E300c/Xcode/SDKStatCaches.noindex/iphoneos16.4-20E238-.sdkstatcache -target arm64-apple-ios11.0 -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/dm/5ymn9v5d0l3cf6q759s1_4040000gn/C/org.llvm.clang/ModuleCache.noindex/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 -Wno-objc-interface-ivars -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 -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -DB4I_VERSION\=14 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility\=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/WonderWorld\ Luxury\ Rentals-generated-files.hmap -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/WonderWorld\ Luxury\ Rentals-own-target-headers.hmap -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/WonderWorld\ Luxury\ Rentals-all-target-headers.hmap -iquote /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/WonderWorld\ Luxury\ Rentals-project-headers.hmap -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/Payload/include -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.d --serialize-diagnostics /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.dia -c /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m -o /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o
In file included from /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.m:2:
In file included from /Users/chucktart/Desktop/B4i-Builder/UploadedProjects/<user id>/B4iProject/b4i_xuiviewsutils.h:2:
/Users/chucktart/Desktop/B4i-Builder/Libs/iGoogleMaps.h:3:9: fatal error: 'GoogleMaps/GoogleMaps.h' file not found
#import <GoogleMaps/GoogleMaps.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
 
Upvote 0

cwt

Active Member
Licensed User
Longtime User
The compiler is working now that I have added the missing GoogleMaps framework. But on my iPhone, with B4i-Bridge running as usual, I get the normal message below:

"Would you like to install myappname" and when I click "Install" I get the message below"

"Unable to install myappname, please try again later"

No other information. If I try with the hosted builder all works normally.

When the first compile ran successfully, a dialog opened on the Mac asking for a password for the keys - I entered 111111 (6 ones) as I had seen this in the forum before. The password dialog does not show any longer.
 
Upvote 0
Top