iOS Question Failed with a nonzero exit code

aaronk

Well-Known Member
Licensed User
Longtime User
Hi,

I am using:
- B4i v8.30
- Windows 10 on a MacBook Pro in a VM
- Xcode 15.1
- Using Local Builder (Build server version: 8.10)
- MacOS: 14.1.1 (23B81)
- iPhone 14 Pro Max running iOS 17.2.1

I can't seem to compile the B4i project I was working with. So for testing I created a blank default project in B4i for testing, and it also doesn't compile.

I downloaded Xcode 15.0 and changed to that version using Xcode, but it also doesn't compile.

I was able to compile the app a month or so ago fine. I haven't made any changes in my B4i project since I last successfully installed the app. The only difference between when I could compile until now is that my iPhone updated iOS to the latest version. (I can't work out what else has changed since.)

The error I am getting is:

B4X:
B4i Version: 8.30
Parsing code.    (0.01s)
Building folders structure.    (0.02s)
Compiling code.    (0.00s)
Compiling layouts code.    (0.00s)
Compiling debugger engine code.    (0.00s)
Building Xcode project.    (0.12s)
Preparing project for builder.    (0.03s)
    Project size: 0.16 MB
Sending data to remote compiler.    Error
Out: Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release "PRODUCT_NAME=B4i Example" CONFIGURATION_BUILD_DIR=/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: aaron (J7QHRGUTU5)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=e3e48634-d8cb-4872-9486-c9f0ca171e22 -arch arm64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64
    CODE_SIGN_IDENTITY = iPhone Distribution: aaron (J7QHRGUTU5)
    CONFIGURATION_BUILD_DIR = /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = B4i Example
    PROVISIONING_PROFILE = e3e48634-d8cb-4872-9486-c9f0ca171e22

note: Using codesigning identity override: iPhone Distribution: aaron (J7QHRGUTU5)
ComputeTargetDependencyGraph
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
note: Target dependency graph (1 target)
    Target 'B4iProject' in project 'B4iProject' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription
Build description signature: 681d2eaea7328a308ef76d70d9bca9d7
Build description path: /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/XCBuildData/681d2eaea7328a308ef76d70d9bca9d7.xcbuilddata

CreateBuildDirectory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build

CreateBuildDirectory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload

ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk /var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/C/com.apple.DeveloperTools/15.1-15C65/Xcode/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject.xcodeproj
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -o /var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/C/com.apple.DeveloperTools/15.1-15C65/Xcode/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache

CreateBuildDirectory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject.xcodeproj
    builtin-create-build-directory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos

MkDir /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /bin/mkdir -p /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app

ProcessProductPackaging /Users/aaron/Library/MobileDevice/Provisioning\ Profiles/e3e48634-d8cb-4872-9486-c9f0ca171e22.mobileprovision /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    builtin-productPackagingUtility /Users/aaron/Library/MobileDevice/Provisioning\ Profiles/e3e48634-d8cb-4872-9486-c9f0ca171e22.mobileprovision -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/embedded.mobileprovision

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

ProcessProductPackaging /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4i.entitlements /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    
    Entitlements:
    
    {
    "application-identifier" = "J7QHRGUTU5.b4i.test";
    "com.apple.developer.team-identifier" = J7QHRGUTU5;
    "get-task-allow" = 0;
}
    
    builtin-productPackagingUtility /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4i.entitlements -entitlements -format xml -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent

ProcessProductPackagingDER /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent.der (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /usr/bin/derq query -f xml -i /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent.der --raw

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

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.hmap

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-non-framework-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap

GenerateAssetSymbols /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_dependencies --output-partial-info-plist /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist --app-icon AppIcon --enable-on-demand-resources YES --development-region English --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets --bundle-identifier  --generate-objc-asset-symbols /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/GeneratedAssetSymbols.h --generate-asset-symbol-index /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/GeneratedAssetSymbols-Index.plist
/* com.apple.actool.compilation-results */
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/GeneratedAssetSymbols-Index.plist
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/GeneratedAssetSymbols.h


CpResource /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/b4i_host_ip.txt /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/b4i_host_ip.txt (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/b4i_host_ip.txt /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app

CompileStoryboard /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/LaunchScreen.storyboard (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module B4i_Example --output-partial-info-plist /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/LaunchScreen-SBPartialInfo.plist --auto-activate-custom-fonts --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --output-format human-readable-text --compilation-directory /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/LaunchScreen.storyboard

CompileAssetCatalog /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_dependencies --output-partial-info-plist /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist --app-icon AppIcon --enable-on-demand-resources YES --development-region English --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --platform iphoneos --compile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets
/* com.apple.actool.document.notices */
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][iphone][57x57][][][1x][][][]: notice: 57x57 app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][iphone][57x57][][][2x][][][]: notice: 57x57@2x app icons only apply to iPhone apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][50x50][][][1x][][][]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][50x50][][][2x][][][]: notice: 50x50 iPad spotlight icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][72x72][][][1x][][][]: notice: 72x72 app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][72x72][][][2x][][][]: notice: 72x72@2x app icons only apply to iPad apps targeting releases of iOS prior to 7.0
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Images.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/* com.apple.actool.compilation-results */
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i Example.app/[email protected]
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i Example.app/AppIcon76x76@2x~ipad.png
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i Example.app/Assets.car
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist


WriteAuxiliaryFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i\ Example.LinkFileList (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    write-file /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i\ Example.LinkFileList

CompileC /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/C/com.apple.DeveloperTools/15.1-15C65/Xcode/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/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/iPhoneOS17.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/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/include -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/main.m -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o

CompileC /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/C/com.apple.DeveloperTools/15.1-15C65/Xcode/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/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/iPhoneOS17.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/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/include -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.d --serialize-diagnostics /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.dia -c /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o

CompileC /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/LS_page1.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -ivfsstatcache /var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/C/com.apple.DeveloperTools/15.1-15C65/Xcode/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache -target arm64-apple-ios12.0 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -std\=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/var/folders/zb/wp9h53z530jdzyqh0kmkf8080000gn/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/iPhoneOS17.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/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/include -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.d --serialize-diagnostics /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.dia -c /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/LS_page1.m -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_page1.o

Ld /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/B4i\ Example normal (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-ios12.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk -O0 -L/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos -L/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/EagerLinkingTBDs/Release-iphoneos -F/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i\ Example_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liXUI -framework AVFoundation -liDebug2 -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i\ Example_dependency_info.dat -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/B4i\ Example

LinkStoryboards (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module B4i_Example --target-device iphone --target-device ipad --minimum-deployment-target 12.0 --output-format human-readable-text --link /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/LaunchScreen.storyboardc

ProcessInfoPlistFile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/Info.plist /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    builtin-infoPlistUtility /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist -producttype com.apple.product-type.application -genpkginfo /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -additionalcontentfile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/LaunchScreen-SBPartialInfo.plist -additionalcontentfile /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/assetcatalog_generated_info.plist -requiredArchitecture arm64 -o /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app/Info.plist
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: User-supplied CFBundleIdentifier value 'b4i.test' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''. (in target 'B4iProject' from project 'B4iProject')

CodeSign /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/aaron/Desktop/macserver/UploadedProjects/<user id>
    
    Signing Identity:     "iPhone Distribution: aaron (J7QHRGUTU5)"
    Provisioning Profile: "provision_wildcard"
                          (e3e48634-d8cb-4872-9486-c9f0ca171e22)
    
    /usr/bin/codesign --force --sign 78BB295BD401D76FC8C35D424A788ACC16CF49F6 --keychain <user id> --entitlements /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.app.xcent --timestamp\=none --generate-entitlement-der /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app
/Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i Example.app: resource fork, Finder information, or similar detritus not allowed
Command CodeSign failed with a nonzero exit code


Error: ** BUILD FAILED **


The following build commands failed:
    CodeSign /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/Payload/B4i\ Example.app (in target 'B4iProject' from project 'B4iProject')
(1 failure)

I then did see the following:
https://www.b4x.com/android/forum/threads/xcode-15-0-1.156301/post-964556

When I opened Xcode it asked me to download the iOS file and it's no longer asking me to download that file, so I assume it's download and installed successfully.

I rebooted my Mac and restarted the local builder but it didn't help.

Anyone know why it's not working ?
 

aaronk

Well-Known Member
Licensed User
Longtime User
When it says 'Run this in your projects root directory', in my case is that the /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/ directory, or is it a different directory ?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I missed the fact that it failed with a new project.

Does it work with the hosted builder? I will send you an user id.

When it says 'Run this in your projects root directory', in my case is that the /Users/aaron/Desktop/macserver/UploadedProjects/<user id>/ directory,
This folder is created during compilation. It is indeed the root but I don't think that this will help.
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
Does it work with the hosted builder? I will send you an user id.
I haven't used the hosted builder.
If you can send a user id to test with.


It is indeed the root but I don't think that this will help.
I actually deleted this folder and when I re-complied it created it again with the same error message.
 
Upvote 0

aaronk

Well-Known Member
Licensed User
Longtime User
I think I have worked it out.

I had a folder on the Mac desktop which contains the B4i local builder files, since this is where I was running the files.

I had to move the files to a directory where the iCloud doesn't backup. From the Google search I did today many others had similar issue and they had to move the project to a different folder that the iCloud doesn't backup.

In my case I moved it from the desktop to /Applications/macserver and then run the files from that location and it now seems to let me build the project successfully.

 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
I think I have worked it out.

I had a folder on the Mac desktop which contains the B4i local builder files, since this is where I was running the files.

I had to move the files to a directory where the iCloud doesn't backup. From the Google search I did today many others had similar issue and they had to move the project to a different folder that the iCloud doesn't backup.

In my case I moved it from the desktop to /Applications/macserver and then run the files from that location and it now seems to let me build the project successfully.

That's interesting. I have all my Xcode projects in an iCloud synced folder (under my main Documents folder) & I've never experienced this issue. I do have issues if I have my Android Studio projects in an iCloud synced folder though. I assumed there were some smarts in Xcode / MacOS that stopped syncing from screwing Xcode things up.

- Colin.
 
Upvote 0
Top