iOS Question B4i Compiling Error

Status
Not open for further replies.

hammad78

Member
Licensed User
Longtime User
Compiler:
B4i Version: 8.10
Parsing code.    (0.43s)
Building folders structure.    (0.04s)
Running custom action.    (0.13s)
Running custom action.    (0.13s)
Compiling code.    (0.69s)
Building designer app.    (0.12s)
Building Xcode project.    (0.30s)
Preparing project for builder.    (0.19s)
    Project size: 0.32 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 Distribution: Ahmad Hammad (77H46GUVC6)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=51bea9a7-5ccb-4b1d-b16e-c867dc0933fe -arch arm64

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64
    CODE_SIGN_IDENTITY = iPhone Distribution: Ahmad Hammad (77H46GUVC6)
    CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
    OTHER_CODE_SIGN_FLAGS = --keychain <user id>
    PRODUCT_NAME = B4i-Bridge
    PROVISIONING_PROFILE = 51bea9a7-5ccb-4b1d-b16e-c867dc0933fe

note: Using codesigning identity override: iPhone Distribution: Ahmad Hammad (77H46GUVC6)
Computing target dependency graph and provisioning inputs

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

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

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

/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 7.0, but the range of supported deployment target versions is 11.0 to 16.2.99. (in target 'B4iProject' from project 'B4iProject')
MkDir /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /bin/mkdir -p /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/51bea9a7-5ccb-4b1d-b16e-c867dc0933fe.mobileprovision /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-productPackagingUtility /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/51bea9a7-5ccb-4b1d-b16e-c867dc0933fe.mobileprovision -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.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/B4i-Bridge.app.xcent (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    
    Entitlements:
    
    {
    "application-identifier" = "77H46GUVC6.com.minamove.app.bridge";
    "com.apple.developer.team-identifier" = 77H46GUVC6;
    "get-task-allow" = 0;
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.app.xcent

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

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/B4i-Bridge-project-headers.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/B4i-Bridge-project-headers.hmap

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge.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/B4i-Bridge.hmap

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.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/B4i-Bridge-own-target-headers.hmap

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.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/B4i-Bridge-generated-files.hmap

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.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/B4i-Bridge-all-target-headers.hmap

WriteAuxiliaryFile /Users/administrator/Documents/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 /Users/administrator/Documents/UploadedProjects/<user id>
    write-file /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-non-framework-target-headers.hmap

ProcessInfoPlistFile /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/Info.plist /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-infoPlistUtility /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist -producttype com.apple.product-type.application -genpkginfo /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/Info.plist
/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj: warning: User-supplied CFBundleIdentifier value 'com.minamove.app.bridge' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''. (in target 'B4iProject' from project 'B4iProject')

CpResource /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/cairo.ttf /Users/administrator/Documents/UploadedProjects/<user id>/cairo.ttf (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/administrator/Documents/UploadedProjects/<user id>/cairo.ttf /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app

WriteAuxiliaryFile /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge.LinkFileList (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/Objects-normal/arm64/B4i-Bridge.LinkFileList

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

CpResource /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/B4X_MaterialIcons.ttf /Users/administrator/Documents/UploadedProjects/<user id>/B4X_MaterialIcons.ttf (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/administrator/Documents/UploadedProjects/<user id>/B4X_MaterialIcons.ttf /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app

CpResource /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/B4X_FontAwesome.otf /Users/administrator/Documents/UploadedProjects/<user id>/B4X_FontAwesome.otf (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/administrator/Documents/UploadedProjects/<user id>/B4X_FontAwesome.otf /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app

CopyPlistFile /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/GoogleService-Info.plist /Users/administrator/Documents/UploadedProjects/<user id>/GoogleService-Info.plist (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    builtin-copyPlist --convert binary1 --outdir /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app -- /Users/administrator/Documents/UploadedProjects/<user id>/GoogleService-Info.plist

CompileC /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o /Users/administrator/Documents/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/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios7.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 -Wno-implicit-fallthrough -DNS_BLOCK_ASSERTIONS\=1 -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.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 /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i-Bridge-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/main.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/main.m -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o

Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/B4i-Bridge normal (in target 'B4iProject' from project 'B4iProject')
    cd /Users/administrator/Documents/UploadedProjects/<user id>
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios7.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk -L/Users/administrator/Documents/UploadedProjects/<user id>/build/EagerLinkingTBDs -L/Users/administrator/Documents/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/administrator/Documents/UploadedProjects/<user id>/build/EagerLinkingTBDs -F/Users/administrator/Documents/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liDesigner -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/B4i-Bridge_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/B4i-Bridge
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_WKWebView", referenced from:
      objc-class-ref in libCore.a(B4IWebViewWrapper.o)
  "_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
      objc-class-ref in libCore.a(B4IWebViewWrapper.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
    Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/B4i-Bridge.app/B4i-Bridge normal (in target 'B4iProject' from project 'B4iProject')
(1 failure)
 

hammad78

Member
Licensed User
Longtime User
Please don't make such posts.

What has changed? Did the project previously compile successfully?
What is the value of #MinVersion?
What has changed? Did the project previously compile successfully? Yes
What is the value of #MinVersion? 11
 
Upvote 0

hammad78

Member
Licensed User
Longtime User
What has changed? Did the project previously compile successfully? Yes
What is the value of #MinVersion? 11
I added project.pbxproj.template file to b4i folder to get the crash log for the release version.
on debug mode project is working perfectly, but on the release mode keep crashing
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I added project.pbxproj.template file to b4i folder to get the crash log for the release version.
on debug mode project is working perfectly, but on the release mode keep crashing
How can we help you if you don't provide this information???

Please start a new thread and explain exactly what you did.
 
Upvote 0
Status
Not open for further replies.
Top