visionOS 26 beta 2: Symbol Not Found on Foundation Models

When I try to run visionOS 26 beta 2 on my device the app crashes on Launch:

dyld[904]: Symbol not found: _$s16FoundationModels10TranscriptV7entriesACSayAC5EntryOG_tcfC
  Referenced from: <A71932DD-53EB-39E2-9733-32E9D961D186> /private/var/containers/Bundle/Application/53866099-99B1-4BBD-8C94-CD022646EB5D/VisionPets.app/VisionPets.debug.dylib
  Expected in:     <F68A7984-6B48-3958-A48D-E9F541868C62> /System/Library/Frameworks/FoundationModels.framework/FoundationModels
Symbol not found: _$s16FoundationModels10TranscriptV7entriesACSayAC5EntryOG_tcfC
  Referenced from: <A71932DD-53EB-39E2-9733-32E9D961D186> /private/var/containers/Bundle/Application/53866099-99B1-4BBD-8C94-CD022646EB5D/VisionPets.app/VisionPets.debug.dylib
  Expected in:     <F68A7984-6B48-3958-A48D-E9F541868C62> /System/Library/Frameworks/FoundationModels.framework/FoundationModels
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libLogRedirect.dylib:/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libViewDebuggerSupport.dylib:/System/Library/PrivateFrameworks/GPUToolsCapture.framework/GPUToolsCapture
Symbol not found: _$s16FoundationModels10TranscriptV7entriesACSayAC5EntryOG_tcfC
  Referenced from: <A71932DD-53EB-39E2-9733-32E9D961D186> /private/var/containers/Bundle/Application/53866099-99B1-4BBD-8C94-CD022646EB5D/VisionPets.app/VisionPets.debug.dylib
  Expected in:     <F68A7984-6B48-3958-A48D-E9F541868C62> /System/Library/Frameworks/FoundationModels.framework/FoundationModels
dyld config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/usr/lib/libLogRedirect.dylib:/usr/lib/libBacktraceRecording.dylib:/usr/lib/libMainThreadChecker.dylib:/usr/lib/libViewDebuggerSupport.dylib:/System/Library/PrivateFrameworks/GPUToolsCapture.framework/GPUToolsCapture

Message from debugger: Terminated due to ****** 6
Answered by DTS Engineer in 845576022

I believe the issue was addressed in this thread – Removing the use of the entries property and building with Xcode 26 beta 2 should fix the issue.

The CoffeeGame sample project runs into the same issue because it uses the entries property in DialogEngine.swift:

let allEntries = previousSession.transcript.entries

You can make it work by changing the code to the following, and then building with Xcode 26 beta 2:

let allEntries = previousSession.transcript

If you don't mind, please give it a try and share your result. Thanks.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

I have the same error with Apple Sample project CoffeeGame so it's not an issue with my project.

Also what's weird is that another sample code from Apple using FoundationModels on visionOS runs fine: FoundationModelsTripPlanner

same error. mac os 26, dev beta 2

dyld[72381]: Symbol not found: _$s16FoundationModels10TranscriptV7entriesACSayAC5EntryOG_tcfC
  Referenced from: <44342398-591C-3850-9889-87C9458E1440> /Users/mika/experiments/apple-on-device-ai/fm
  Expected in:     <66A793F6-CB22-3D1D-A560-D1BD5B109B0D> /System/Library/Frameworks/FoundationModels.framework/Versions/A/FoundationModels

Apple seems to have made Transcript initializers private, which completely broke everything!

Accepted Answer

I believe the issue was addressed in this thread – Removing the use of the entries property and building with Xcode 26 beta 2 should fix the issue.

The CoffeeGame sample project runs into the same issue because it uses the entries property in DialogEngine.swift:

let allEntries = previousSession.transcript.entries

You can make it work by changing the code to the following, and then building with Xcode 26 beta 2:

let allEntries = previousSession.transcript

If you don't mind, please give it a try and share your result. Thanks.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

I should remember to wait for Xcode beta before installing os beta )

Update: the sample app has been updated for Beta 2.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

visionOS 26 beta 2: Symbol Not Found on Foundation Models
 
 
Q