iOS Question B4i Compile issues

Kevin Hartin

Active Member
Licensed User
I had to make a slight update to my B4i App yesterday and had difficulties with compiling, both on the 32 bit 7.80 and also the 64bit 8.0 BETA1

Firstly, I went to build a B4iBridge and got the following Compile error
error:
B4i Version: 8.00 BETA #1
Parsing code.    (0.21s)
Building folders structure.    (0.08s)
Running custom action.    (0.04s)
Compiling code.    (0.15s)
Building designer app.    (0.02s)
Building Xcode project.    (0.09s)
Preparing project for builder.    (0.06s)
    Project size: 0.70 MB
Sending data to remote compiler.    Error
Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=B4i-Bridge CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: Kevin hartin (Q5GXUL5AC8)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=8d44130b-0d1f-4016-bf57-26f44c809104 -arch armv7 -arch arm64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = armv7 arm64
    CODE_SIGN_IDENTITY = iPhone Developer: Kevin hartin (Q5GXUL5AC8)
    CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = B4i-Bridge
    PROVISIONING_PROFILE = 8d44130b-0d1f-4016-bf57-26f44c809104

note: Using new build system
note: Using codesigning identity override: iPhone Developer: Kevin hartin (Q5GXUL5AC8)
note: Planning
Analyze workspace

Create build description
Build description signature: 85515ce967b13748769636ecc24806e5
Build description path: /Users/administrator/Documents/UploadedProjects/<user id>/build/XCBuildData/85515ce967b13748769636ecc24806e5-desc.xcbuild

note: Build preparation complete
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
error: Provisioning profile "BmT_Supplier_Development" has app ID "com.bookingmy.travel.bmtsupplier", which does not match the bundle ID "com.bookingmy.travel.bmtsupplier.bridge". (in target 'B4iProject' from project 'B4iProject')

Error: ** BUILD FAILED **

I also tried to compile the Release App and this worked after changing the certificate and provisioning files.

Needless to say the compiling of a debug fails as well with the following error
B4X:
B4i Version: 8.00 BETA #1
Parsing code.    (0.23s)
Building folders structure.    (0.05s)
Running custom action.    (0.03s)
Compiling code.    (0.38s)
Compiling layouts code.    (0.01s)
Compiling debugger engine code.    (0.02s)
Building Xcode project.    (0.13s)
Preparing project for builder.    (0.22s)
    Project size: 1.71 MB
Sending data to remote compiler.    Error
B4i line: 45
CustomListView1.sv.ScrollViewContentHeight = Cus
'b4i_customlistview' does not have a member named '__sv'

Error: security: SecKeychainDelete: The specified keychain could not be found.

Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=BmT Supplier 2022" CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: Kevin hartin (Q5GXUL5AC8)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=8d44130b-0d1f-4016-bf57-26f44c809104 -arch arm64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64
    CODE_SIGN_IDENTITY = iPhone Developer: Kevin hartin (Q5GXUL5AC8)
    CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = BmT Supplier 2022
    PROVISIONING_PROFILE = 8d44130b-0d1f-4016-bf57-26f44c809104

note: Using new build system
note: Using codesigning identity override: iPhone Developer: Kevin hartin (Q5GXUL5AC8)
note: Planning
Analyze workspace

Create build description
Build description signature: f5117ade2f62690291091a6dec0f6604
Build description path: /Users/administrator/Documents/UploadedProjects/<user id>/build/XCBuildData/f5117ade2f62690291091a6dec0f6604-desc.xcbuild

note: Build preparation complete
warning: Building targets in manual order is deprecated - check "Parallelize build for command-line builds" in the project editor, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current build to suppress this warning
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build
    cd /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build

CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/Payload
    cd /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/Payload

MkDir /Users/administrator/Documents/UploadedProjects/<user id>/Payload/BmT\ Supplier\ 2022.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /bin/mkdir -p /Users/administrator/Documents/UploadedProjects/<user id>/Payload/BmT\ Supplier\ 2022.app

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/8d44130b-0d1f-4016-bf57-26f44c809104.mobileprovision /Users/administrator/Documents/UploadedProjects/<user id>/Payload/BmT\ Supplier\ 2022.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-productPackagingUtility /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/8d44130b-0d1f-4016-bf57-26f44c809104.mobileprovision -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/BmT\ Supplier\ 2022.app/embedded.mobileprovision

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/Entitlements.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    write-file /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022.app.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    
    Entitlements:
    
    {
    "application-identifier" = "NQ9QHS9TP4.com.bookingmy.travel.bmtsupplier";
    "aps-environment" = development;
    "com.apple.developer.team-identifier" = NQ9QHS9TP4;
    "get-task-allow" = 1;
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022.app.xcent

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/all-product-headers.yaml (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    write-file /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    write-file /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022.hmap

.....

CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_pagebookings.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_pagebookings.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    export LANG\=en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios9.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/l2/_92ld7z94cb29qqv1ryc2_080000gn/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 -DB4I_VERSION\=14 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.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/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/BmT\ Supplier\ 2022-project-headers.hmap -I/Users/administrator/Documents/UploadedProjects/<user id>/Payload/include -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/administrator/Documents/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_pagebookings.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_pagebookings.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_pagebookings.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_pagebookings.o


Error: ** BUILD FAILED **


The following build commands failed:
    CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_xuiviewsutils.o /Users/administrator/Documents/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')
    CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_swiftbutton.o /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_swiftbutton.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
(2 failures)

Any help would be much appreciated

Kev
 
Top