I wish to support Mac with my iPhone/iPad app using Mac Catalyst. Our app shows widgets on iPhone/iPad home screen properly.
Using Mac Catalyst is straight forward (except to exclude all ActivityKit codes). However, although the app shows up and work perfectly, I can't see the widgets in notification center. Separate compile the widget extensions show no errors but nothing is shown. Also tried build separately, drag into Applications folder, run the build and the widgets are not shown.
Any suggestions? Using the Xcode 14.2 and macOS 13.1.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
When context window size exceeded, this error is not called (instead another error has shown up) to handle new session.
LanguageModelSession.GenerationError.exceededContextWindowSize
Or am I doing things wrong?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
While runninf Apple Foundation Model in iPhone simulator, I got this error:
IPC error: Underlying connection interrupted
What does this mean? Related to foundation model?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Found this option under macOS 11.0 deployment:Show "Designed for iPad" Run Destination
What does this mean?
Hi,
How do you add a new app to an existing App Bundle? There is no add button. I have also tried removing from sale first and the result is the same.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Bundle ID
Hi,
When I put Toggle button and divider() in
CommandGroup(replacing: .textFormatting) {
Toggle("Toggle Toolbar", isOn: $toolbar).keyboardShortcut("T")
Divider()
}
On macOS 12/13, the Toggle Button is simply display as a button (with no checkbox or other indicators), and Divider is not shown.
Is this a bug or I need to add in some modifiers?
Localization works fine in macOS 13, but not in macOS 12 menu (still show English while in localized language). Is it possible to make it work in macOS 12?
CommandGroup(after: .appInfo) {
Button("About Company") { showAppsSheet = true }
}
Tried setting the name in LocalizedStringKey then put in Button but does not work.
If you set the alignment to center or right alignment, the text will fly to the left when editing. This works for iPhone/iPad but not Mac Catalyst.
Is this a know bug? If yes is there a workaround?
Does Vision Pro works with widgets? If yes, how?
Is ARKit for spatial computing for Vision Pro only? Or it works on exisiting ARKit hardware like iPhone and iPad?
I found that all my existing ARKit apps do not work on Vision Pro simulator, thus I am interested to know whether I am rewriting my apps for Vision Pro only, or upgrade for existing platforms too?
I have a watch app that I have been distributed for years. But on recent Xcode 15.0.1, I started having problem:
Using a eligible provision profile, I started distribute app via TestFlight and App Store, and i got:
Automatic signing cannot register bundle identifier "com.virtualgs.invaders.watchkitapp.watchkitextension".
Automatic signing cannot register bundle identifiers with Apple. Register your bundle identifier on https://developer.apple.com/account and then try again.
No profiles for 'com.virtualgs.invaders.watchkitapp.watchkitextension' were found
Xcode couldn't find any iOS App Store provisioning profiles matching 'com.virtualgs.invaders.watchkitapp.watchkitextension'.
But it has gone up for many years! Any ideas?
Works on Mac, but not on iPhone/iPad.
Is this a bug?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Text(...).textSelection(.enabled) does not work on iPhone and iPad, but works on Mac.
Topic:
UI Frameworks
SubTopic:
SwiftUI
This is my code:
witch SystemLanguageModel.default.availability {
case .available:
ContentView()
.popover(isPresented: $showSettings) {
SettingsView().presentationCompactAdaptation(.popover)
}
case .unavailable(.modelNotReady):
ContentUnavailableView("Apple Intelligence is unavailable",
systemImage: "apple.intelligence.badge.xmark",
description: Text("Please come back later."))
case .unavailable(.appleIntelligenceNotEnabled):
ContentUnavailableView("Apple Intelligence is unavailable",
systemImage: "apple.intelligence.badge.xmark",
description: Text("Please turn on Apple Intelligence."))
case .unavailable(.deviceNotEligible):
ContentUnavailableView("Apple Intelligence is unavailable",
systemImage: "apple.intelligence.badge.xmark",
description: Text("This device is not eligible for Apple Intelligence."))
case .unavailable:
ContentUnavailableView("Apple Intelligence is unavailable",
systemImage: "apple.intelligence.badge.xmark")
}
When I switch off Apple Intelligence, I expected "Please turn on Apple Intelligence.", but instead I get "Please come back later."
This seems to be wrong error?
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Encountered a few times when the answer get "stuck" (I am now at beta 6).
This is an example.
Topic:
Machine Learning & AI
SubTopic:
Foundation Models