I am using the latest version of Xcode 15 beta 4 running on Intel iMac 2017.
Even though I have selected Vision Pro as platform and simulator, it does not appeared. Does the simulator works on Intel?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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?
Hi,
I have an iPad app that has menus, like:
CommandGroup(replacing: .help) {
Button("Help") { showHelp = true }
.keyboardShortcut("/")
}
They works fine in iPad and also if compiled to Mac Catalyst, but will crash on Apple Silicon Mac when selected the menu items with errors like:
[General] -[_UIEditMenuInteractionMenuController propertyList]: unrecognized selector sent to instance 0x600000190540
I did not use storyboard and only use SwiftUI. Any suggestions?
Note: of course the best solution is to compile to Mac Catalyst, but the app has some other issues when run in Mac Catalyst. So I can only release it as iPad app.
In WWDC standalone watch app talk, Apple mentioned that iPhone app is now optional.How do you submit a standalone watch app without the iPhone app?Have been asking in WatchKit forum and no answer for months. Thanks!
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
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
I am designing a multi platform app, but visionOS lacks a functionality.
I think I know how to support a platform only (#if os), but how to support all platforms except one?
#if os(iOS, macOS)
.glassEffect(.regular.interactive())
#endif
is a no-no?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Text(...).textSelection(.enabled) does not work on iPhone and iPad, but works on Mac.
Topic:
UI Frameworks
SubTopic:
SwiftUI
This is my code:
CommandGroup(before: .printItem) {
ShareLink(item: answer)
.disabled(answer.isEmpty)
}
It works fine on Mac, when selecting the share menu from Mac, it works. But when select from iPad menu bar, nothing shows up.
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
I have been using "apple" to test foundation models.
I thought this is local, but today the answer changed - half way through explanation, suddenly guardrailViolation error was activated! And yesterday, all reference to "Apple II", "Apple III" now refers me to consult apple.com!
Does foundation models connect to Internet for answer? Using beta 3.
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
I have this in my swift file:
CommandGroup(replacing: .textFormatting) {
Toggle("Bold Text", systemImage: "bold", isOn: boldBinding)
.keyboardShortcut("B")
Button("Align Left", systemImage: "text.alignleft") { alignmentBinding.wrappedValue = 1 }
.keyboardShortcut("[")
Button("Align Center", systemImage: "text.aligncenter") { alignmentBinding.wrappedValue = 0 }
.keyboardShortcut("\\")
Button("Align Right", systemImage: "text.alignright") { alignmentBinding.wrappedValue = 2 }
.keyboardShortcut("]")
}
Nothing appeared in iPadOS menu (but does appeared on Mac).
Change textFormatting to textEditing does work, but appeared in a very long menu
Topic:
UI Frameworks
SubTopic:
SwiftUI