iOS Question [SOLVED] Error build b4i bridge app with local mac

Binary Soft

Member
Licensed User
Hi,

I run my iOS app in my iPhone, iPad.
Now iOS certificate is expired but not developer account.
So I update my macOS, XCode to latest version.

I use XCode 12.5, macOS 11.31, B4iBuildServer version 7.2
to build bridge app.

I register new certificate.
b4i bridge app is built success but cannot install in my iPhone iOS 14.5.1.

So I revoke and delete the certificate and try again (at least 3 times).
Now I can not build b4i bridge and my iOS app.
I use new b4ibuildserver in new folder. I also test new project. But result is still failed.

So I attach iPhone with macBook and run test project with Xcode.
This test app is installed and run on my iPhone. So I think certificate is not problem.

How can I fix this error.

This is the error log.
B4i Version: 7.20
Parsing code. (0.00s)
Building folders structure. (0.03s)
Compiling code. (0.00s)
Building designer app. (0.01s)
Building Xcode project. (0.15s)
Preparing project for builder. (0.05s)
Project size: 0.23 MB
Sending data to remote compiler. Error
Error: security: SecKeychainDelete: The specified keychain could not be found.

Out: Command line invocation:
/Applications/Xcode125.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=B4i-Bridge CONFIGURATION_BUILD_DIR=/Volumes/BAK/b4i/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Distribution: Binary Soft (KP4H493H9N)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=d30990f1-368a-4ca5-a4c9-42939d2333d8 -arch armv7 -arch arm64

User <user id>s from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: Binary Soft (KP4H493H9N)
CONFIGURATION_BUILD_DIR = /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i-Bridge
PROVISIONING_PROFILE = d30990f1-368a-4ca5-a4c9-42939d2333d8

note: Using new build system
note: Using codesigning identity override: iPhone Distribution: Binary Soft (KP4H493H9N)
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
CreateBuildDirectory /Volumes/BAK/b4i/UploadedProjects/<user id>/build
cd /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject.xcodeproj
builtin-create-build-directory /Volumes/BAK/b4i/UploadedProjects/<user id>/build

CreateBuildDirectory /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload
cd /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject.xcodeproj
builtin-create-build-directory /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload

/Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.5.99. (in target 'B4iProject' from project 'B4iProject')
MkDir /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/B4i-Bridge.app (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
/bin/mkdir -p /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/B4i-Bridge.app

ProcessProductPackaging /Users/binarysoft/Library/MobileDevice/Provisioning\ Profiles/d30990f1-368a-4ca5-a4c9-42939d2333d8.mobileprovision /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/B4i-Bridge.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
builtin-productPackagingUtility /Users/binarysoft/Library/MobileDevice/Provisioning\ Profiles/d30990f1-368a-4ca5-a4c9-42939d2333d8.mobileprovision -o /Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/B4i-Bridge.app/embedded.mobileprovision

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

ProcessProductPackaging "" /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.app.xcent (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>

Entitlements:

{
"application-identifier" = "KP4H493H9N.com.binary.mykeygen.bridge";
"com.apple.developer.team-identifier" = KP4H493H9N;
"get-task-allow" = 0;
}

builtin-productPackagingUtility -entitlements -format xml -o /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.app.xcent

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

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.hmap

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-project-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-project-headers.hmap

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.hmap

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.hmap

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.hmap

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-non-framework-target-headers.hmap (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-non-framework-target-headers.hmap

CompileC /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
export LANG\=en_US.US-ASCII
/Applications/Xcode125.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target armv7-apple-ios8.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/qh/8h8xmm_95fl52hvjhgdt_v2r0000gn/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\=13 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode125.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.hmap -iquote /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-project-headers.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/include -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/armv7 -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Volumes/BAK/b4i/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m -o /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o
/Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m:11:9: fatal error: 'iDesigner.h' file not found
#import "iDesigner.h"
^~~~~~~~~~~~~
1 error generated.

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge.LinkFileList (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge.LinkFileList

WriteAuxiliaryFile /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i-Bridge.LinkFileList (in target 'B4iProject' from project 'B4iProject')
cd /Volumes/BAK/b4i/UploadedProjects/<user id>
write-file /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i-Bridge.LinkFileList

CompileC /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Volumes/BAK/b4i/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 /Volumes/BAK/b4i/UploadedProjects/<user id>
export LANG\=en_US.US-ASCII
/Applications/Xcode125.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios8.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/qh/8h8xmm_95fl52hvjhgdt_v2r0000gn/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\=13 -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode125.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility\=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.hmap -iquote /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-project-headers.hmap -I/Volumes/BAK/b4i/UploadedProjects/<user id>/Payload/include -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources-normal/arm64 -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Volumes/BAK/b4i/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.d --serialize-diagnostics /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m -o /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o
/Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m:11:9: fatal error: 'iDesigner.h' file not found
#import "iDesigner.h"
^~~~~~~~~~~~~
1 error generated.


Error: ** BUILD FAILED **


The following build commands failed:
CompileC /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Volumes/BAK/b4i/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Volumes/BAK/b4i/UploadedProjects/<user id>/B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
 
Last edited:

Binary Soft

Member
Licensed User
Make sure to start the builder from inside the builder folder. Otherwise it will not find the Libs folder.

Yes, I only copy .jar in folder and run it. Now It's ok.
get.udid.io can work Early iOS version. It can not show udid in iOS 14.5.1.
So I can get udid via iTunes. But my app can not install in this phone. My app is installed in other phone below iOS 14.5.

Thanks
 
Upvote 0
Top