Unfortunately they are not. This feature is meant primarily for compiler developers.
Thank you so much for chiming in. Tried installing the latest 5.7 snapshot and building with it and I get:
ld: file not found: /Users/<myusername>/Library/Developer/Toolchains/swift-5.7-DEVELOPMENT-SNAPSHOT-2022-04-25-a.xctoolchain/usr/lib/clang/13.0.0/lib/darwin/libclang_rt.profile_ios.a
I can see libclang_rt.ios.a
and libclang_rt.profile_osx.a
but no libclang_rt.profile_ios.a
. Is there a build option I need to change?
Found some results on getting past my error, but now getting an abort trap: 6
using the 5.7 development toolchain while attempting to compile seemingly related to PassKit:
1. Apple Swift version 5.7-dev (LLVM a177fc627109410, Swift 31967c6df177cce)
2. Compiling with the current language version
3. Contents of /var/folders/c4/2tgwqpxj08l1rjyf_plfbywh0000gn/T/TemporaryDirectory.KeFUBF/sources-1:
< list of all my files in the project failing >
4. While evaluating request ASTLoweringRequest(Lowering AST to SIL for module PassKit)
5. While silgen emitNativeToForeignThunk SIL function "@$sSo27PKStoredValuePassPropertiesC0C3KitE9isBlockedSbvgTo".
for getter for isBlocked (at /Applications/Xcode_13.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/lib/swift/PassKit.swiftmodule/arm64-apple-ios.swiftinterface:10:51)
6. While verifying SIL function "@$sSo27PKStoredValuePassPropertiesC0C3KitE9isBlockedSbvgTo".
for getter for isBlocked (at /Applications/Xcode_13.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/usr/lib/swift/PassKit.swiftmodule/arm64-apple-ios.swiftinterface:10:51)
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 0x0000000104f4dbf4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000104f4ce54 llvm::sys::RunSignalHandlers() + 128
2 swift-frontend 0x0000000104f4e258 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x0000000198e914c4 _sigtramp + 56
4 libsystem_pthread.dylib 0x0000000198e79ee0 pthread_kill + 288
5 libsystem_c.dylib 0x0000000198db4340 abort + 168
6 swift-frontend 0x0000000100c13e6c (anonymous namespace)::SILVerifier::_require(bool, llvm::Twine const&, std::__1::function<void ()> const&) + 1444
7 swift-frontend 0x0000000100c1484c (anonymous namespace)::SILVerifier::visitSILFunction(swift::SILFunction*) + 892
8 swift-frontend 0x0000000100c10708 swift::SILFunction::verify(bool) const + 76
9 swift-frontend 0x0000000100f9e9c4 swift::Lowering::SILGenModule::postEmitFunction(swift::SILDeclRef, swift::SILFunction*) + 228
10 swift-frontend 0x0000000100f9c788 swift::Lowering::SILGenModule::emitFunctionDefinition(swift::SILDeclRef, swift::SILFunction*) + 1132
11 swift-frontend 0x0000000101054770 swift::Lowering::SILGenModule::emitNativeToForeignThunk(swift::SILDeclRef) + 100
12 swift-frontend 0x0000000100fa09c0 swift::Lowering::SILGenModule::emitObjCPropertyMethodThunks(swift::AbstractStorageDecl*) + 196
13 swift-frontend 0x000000010105ce84 SILGenExtension::visitVarDecl(swift::VarDecl*) + 88
14 swift-frontend 0x0000000101059864 SILGenExtension::emitExtension(swift::ExtensionDecl*) + 84
15 swift-frontend 0x0000000101059804 swift::Lowering::SILGenModule::visitExtensionDecl(swift::ExtensionDecl*) + 24
16 swift-frontend 0x0000000100fa1a44 swift::ASTLoweringRequest::evaluate(swift::Evaluator&, swift::ASTLoweringDescriptor) const + 1792
17 swift-frontend 0x000000010104cf68 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&) + 156
18 swift-frontend 0x0000000100fa5a04 llvm::Expected<swift::ASTLoweringRequest::OutputType> swift::Evaluator::getResultUncached<swift::ASTLoweringRequest>(swift::ASTLoweringRequest const&) + 408
19 swift-frontend 0x0000000100fa2578 swift::performASTLowering(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions const&) + 144
20 swift-frontend 0x0000000100adbf94 std::__1::error_code llvm::function_ref<std::__1::error_code (swift::SubCompilerInstanceInfo&)>::callback_fn<swift::ModuleInterfaceBuilder::buildSwiftModuleInternal(llvm::StringRef, bool, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >*, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)::$_1::operator()() const::'lambda'(swift::SubCompilerInstanceInfo&)>(long, swift::SubCompilerInstanceInfo&) + 1108
21 swift-frontend 0x0000000100ae485c swift::InterfaceSubContextDelegateImpl::runInSubCompilerInstance(llvm::StringRef, llvm::StringRef, llvm::StringRef, swift::SourceLoc, llvm::function_ref<std::__1::error_code (swift::SubCompilerInstanceInfo&)>) + 2868
22 swift-frontend 0x0000000100adbb14 void llvm::function_ref<void ()>::callback_fn<swift::ModuleInterfaceBuilder::buildSwiftModuleInternal(llvm::StringRef, bool, std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >*, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)::$_1>(long) + 120
23 swift-frontend 0x0000000104eb06ec llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 252
24 swift-frontend 0x0000000104eb0810 RunSafelyOnThread_Dispatch(void*) + 52
25 swift-frontend 0x0000000104eb08e4 void* llvm::thread::ThreadProxy<std::__1::tuple<void (*)(void*), (anonymous namespace)::RunSafelyOnThreadInfo*> >(void*) + 24
26 libsystem_pthread.dylib 0x0000000198e7a26c _pthread_start + 148
27 libsystem_pthread.dylib 0x0000000198e7508c thread_start + 8
error: Abort trap: 6
Not sure I'm gonna get this much further at this point, so maybe I'll just be waiting for Xcode 13.4