iOS Question A project is suddenly no longer compiled

Star-Dust

Expert
Licensed User
Longtime User
A project is suddenly no longer compiled by the remote compiler. All the others are compiled correctly.

B4i Versione: 7.80
Analisi del Codice. (0.03s)
Building folders structure. (0.02s)
Esecuzione azione personalizzata. (0.03s)
Compilazione del codice. (0.09s)
Compilazione del codice di layouts (0.02s)
Compilazione del codice debugger. (1.26s)
Compilazione Progetto Xcode. (0.09s)
Preparazione del progetto per la sua costruzione. (0.08s)
Dimensioni del progetto: 0.44 MB
Invio dati a compilatore remoto. Error
Out: Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -configuration Release PRODUCT_NAME=yyy CONFIGURATION_BUILD_DIR=/Users/administrator/Documents/UploadedProjects/<user id>/Payload "CODE_SIGN_IDENTITY=iPhone Developer: xxx xxx (zzz)" "OTHER_CODE_SIGN_FLAGS=--keychain <user id>" PROVISIONING_PROFILE=18d76011-447a-47f9-8c99-zzz -arch arm64

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Developer: xxx xxx (zzz)
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = yyy
PROVISIONING_PROFILE = 18d76011-447a-47f9-8c99-zzz

note: Using new build system
note: Using codesigning identity override: iPhone Developer: xxx xxx (zzz)
note: Planning
Analyze workspace

Create build description
Build description signature: zzz
Build description path: /Users/administrator/Documents/UploadedProjects/<user id>/build/XCBuildData/zzz-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>/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
cd /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject.xcodeproj
builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build

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

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/18d76011-447a-47f9-8c99-zzz.mobileprovision /Users/administrator/Documents/UploadedProjects/<user id>/Payload/yyy.app/embedded.mobileprovision (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>
builtin-productPackagingUtility /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/18d76011-447a-47f9-8c99-zzz.mobileprovision -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/yyy.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/yyy.app.xcent (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>

Entitlements:

{
"application-identifier" = "id.it.id.id";
"com.apple.developer.team-identifier" = id;
"get-task-allow" = 1;
}

builtin-productPackagingUtility -entitlements -format xml -o /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/yyy.app.xcent

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

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

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

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

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

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

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/Objects-normal/arm64/yyy.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/yyy.LinkFileList



Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/yyy.app/yyy 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-ios9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk -L/Users/administrator/Documents/UploadedProjects/<user id>/Payload -L../../Libs -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/yyy.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/yyy_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore_v13 -framework Foundation -framework CoreGraphics -framework UIKit -liHUD -liJSON -liNetwork -liRandomAccessFile -liSD_CustomKeyboard -liSD_FlexGrid -framework AVFoundation -lz -lixui -lisd_creativebackground -libitmapcreator -liDebug2_v13 -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/yyy_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/yyy.app/yyy
ld: warning: object file (../../Libs/libixui.a(iXUI.o)) was built for newer iOS version (10.2) than being linked (9.0)
ld: warning: object file (../../Libs/libixui.a(B4XCanvas.o)) was built for newer iOS version (10.2) than being linked (9.0)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_B4IDesignerArgs", referenced from:
objc-class-ref in libixui.a(iXUI.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/yyy.app/yyy normal (in target 'B4iProject' from project 'B4iProject')
(1 failure)

I couldn't put any error that exceeds 5000 characters.
I don't understand what error it is indicating
 

Star-Dust

Expert
Licensed User
Longtime User
I'm not yet sure why it happens with some projects. It is related to the update done with the hosted builders. Switching to the beta version will fix it.

Can you upload a project that reproduces this issue?
It seems that with the beta version it doesn't give me this problem anymore
 
Upvote 0
Top