Post

Replies

Boosts

Views

Activity

Build cycle errors with Xcode 13.3 beta 2 (13E5095k)
Hi, anyone else seeing random build cycle errors with the new Swift build mode in Xcode 13.3 beta 2 (13E5095k)? defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1 Seems to be triggered by embedded XPC services. Building again usually resolves. No change with clean build folder, reset DerivedData, reordering build phases (Copy Bundle Resources / Embed XPC Services), etc. Cycle inside app; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources. Cycle details: → Target 'app' has copy command from '<snip>/DerivedData/Build/Products/Debug/<snip>service.xpc' to '<snip>/DerivedData/Build/Products/Debug/<snip>.app/Contents/XPCServices/<snip>service.xpc' <snip> CYCLE POINT -> TODO: FB with reproducible example
5
0
8.2k
Feb ’22
Xcode 13.4 Quarantined by ClamXAV
Hi, anyone else seeing Xcode 13.4 quarantined by ClamXAV? Looks like a false positive. pip-20.2.3-py2.py3-none-any.whl Win.Virus.Triusor-9950253-0 Deleted /Library/InstallerSandboxes/.PKInstallSandboxManager/<snip>.activeSandbox/Root/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ensurepip/_bundled/pip-20.2.3-py2.py3-none-any.whl pip-20.2.3-py2.py3-none-any/pip/_vendor/distlib/w32.exe
2
0
1.1k
May ’22
Forums Missing Answers / Stale Content on Refresh
Hi, anyone noticed refresh issues for authenticated users with the forums recently where answers are missing or disappear / reappear on refresh? Test: https://developer.apple.com/forums/thread/703262 Looks like a load balancer issue at least for AU / NZ. OK Via: https/1.1 ausyd2-edge-lx-007.ts.apple.com (acdn/141.13253), https/1.1 ausyd2-edge-bx-015.ts.apple.com (acdn/141.13253) Via: https/1.1 ausyd2-edge-lx-008.ts.apple.com (acdn/141.13253), https/1.1 ausyd2-edge-bx-002.ts.apple.com (acdn/141.13253) FAILS Via: https/1.1 ausyd2-edge-lx-007.ts.apple.com (acdn/141.13253), https/1.1 ausyd2-edge-bx-008.ts.apple.com (acdn/141.13253) Via: https/1.1 ausyd2-edge-lx-008.ts.apple.com (acdn/141.13253), https/1.1 ausyd2-edge-bx-020.ts.apple.com (acdn/140.13252) Also noticed some mismatched versions on the Apple CDN. ie acdn/141.13253 vs acdn/140.13252
5
0
1.1k
Mar ’22
Xcode Server 13.1/13.2b on 12.1 (21C5021h) Fails While Configuring SSL Certificates
Hi, Anyone else seeing Xcode Server initialise failing while configuring SSL certificates? Failure: Could not export API server SSL certificate: Error Domain=XCSSecurity Code=-1 "OpenSSL: Error decrypting key 4369385004:error:06FFF089:digital envelope routines:CRYPTO_internal:bad key length:<snip> Same result after sudo xcscontrol --reset + restart Xcode Server 13.1 or 13.2b macOS Monterey 12.1 (21C5021h) on Intel or Apple
33
0
9.1k
Nov ’21
SwiftDriverJob-Emit-Module failed building async command line with Xcode 13.2 beta 2 (13C5081f)
Anyone else seeing SwiftDriverJob-Emit-Module failed building async command line with Xcode 13.2 beta 2 (13C5081f)? import Foundation @main struct asyncCmd { static func main() async { print("Hello, World!") } } <snip> 1. Apple Swift version 5.5.2 (swiftlang-1300.0.47.2 clang-1300.0.29.30) 2. 3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for module asyncCmd) 4. While silgen emitArtificialTopLevel SIL function "@main". Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 swift-frontend 0x0000000110272c87 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 1 swift-frontend 0x0000000110271c18 llvm::sys::RunSignalHandlers() + 248 2 swift-frontend 0x0000000110273296 SignalHandler(int) + 278 3 libsystem_platform.dylib 0x00007ff808c1ce2d _sigtramp + 29 4 swift-frontend 0x000000010c705853 swift::namelookup::ImportCache::getImportSet(swift::DeclContext const*) + 3635 5 swift-frontend 0x000000010b541ec1 swift::SILFunctionBuilder::getOrCreateFunction(swift::SILLocation, swift::SILDeclRef, swift::ForDefinition_t, llvm::function_ref<swift::SILFunction* (swift::SILLocation, swift::SILDeclRef)>, swift::ProfileCounter) + 65 6 swift-frontend 0x000000010ba49da1 swift::Lowering::SILGenModule::getFunction(swift::SILDeclRef, swift::ForDefinition_t) + 401 7 swift-frontend 0x000000010baee2ac swift::Lowering::SILGenFunction::emitAsyncMainThreadStart(swift::SILDeclRef) + 2428 8 swift-frontend 0x000000010ba4ab87 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 1479 9 swift-frontend 0x000000010ba5248b swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 5483 10 swift-frontend 0x000000010bb3bbc5 swift::SimpleRequest<swift::ASTLoweringRequest, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> > (swift::ASTLoweringDescriptor), (swift::RequestFlags)9>::evaluateRequest(swift::ASTLoweringRequest const&, swift::Evaluator&) + 197 11 swift-frontend 0x000000010ba56b1c llvm::Expected<swift::ASTLoweringRequest::OutputType> swift::Evaluator::getResultUncached<swift::ASTLoweringRequest>(swift::ASTLoweringRequest const&) + 652 12 swift-frontend 0x000000010ba53a1f swift::performASTLowering(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions const&) + 143 13 swift-frontend 0x000000010b3822d7 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 14599 14 swift-frontend 0x000000010b2c2798 main + 1032 15 dyld 0x0000000113f424fe start + 462 16 dyld 000000000000000000 start + 18446744069079817424 17 swift-frontend 0x000000010b29e000 __dso_handle + 0 Command SwiftDriverJob-Emit-Module failed with a nonzero exit code Xcode 13.1 (13A1030d) builds and runs with deployment target of macOS 12.0 as expected. FB9777738
1
0
2.1k
Nov ’21