Hello. I have a problem with the FoundationModels adapter and the Apple-hosted managed asset pack via TestFlight.
I have created an adapter that works fine locally by creating a model via (fileURL: URL) on a real device, but I cannot create a model using background assets by downloading the adapter via TestFlight.
Every time I try to get an adapter, the creation of the adapter is interrupted by the compatibleAdapterNotFound error.
The aar. archive i created using a special command -
xcrun ba-package foundation-models package
--adapter-path aurelius1.fmadapter
--asset-pack-id fmadapter-aurelius1-9799725
--output-path ./aurelius1.aar
--platforms iOS
--on-demand\
after that, I replaced "OnDemand": null with "OnDemand": {} in the manifest so that the Transporter could send my archive to the App Store Connect.
I followed all the recommendations in this topic - https://origin-devforums.apple.com/forums/thread/823148
...but unfortunately unsuccessfully
I would appreciate any help in solving this problem.
here is the code that I use in my app -
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Tags:
Background Assets
Apple Intelligence
TestFlight
3
0
38