I wanted to remove AdMob from my iOS app, so I remove all traces of AdMob, and make sure that info.plist does not have NSUserTrackingUsageDescription, no external framework used, and no traces of NSUserTrackingUsageDescription in my codes (global search in Xcode not found).
However, previous version has setup App Privacy in AppStore Connect.
Uploading a new build I can remove all entries in App Privacy except for one (?): Data Types - 1 data type collected from this app: Product Interaction
And I cannot remove this one: when selecting not collecting info, I got this error message: Your app contains NSUserTrackingUsageDescription, indicating that you will request permission to track users. You must indicate which data types are tracking users. If this is incorrect, update your app binary and upload a new build to App Store Connect.
What shall I do? And what is this Product Interaction tracking? (The rest can all be reset to not tracking except this one.)
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Right now, the traffic light buttons overlapped on my iPad app top corner on windows mode (full screen is fine).
How do I properly design my app to avoid the traffic light buttons? Detect that it is iPadOS 26?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Now using Xcode 26 beta 6, and iOS/iPadOS 26 beta 7 - and I found the codes do not compiled with localized name.
Since I have been buidling the codes since beta 1, the app might have localized name in the past. Even Localizable file is there with proper translation. I have however, started to build icon using Icon Composer (before that was not).
I have also tried to add in CFBundleDisplayName and CFBundleName in Localizable file, and same (English is shown).
What have I done wrong or forget to do?
Topic:
Developer Tools & Services
SubTopic:
Xcode
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
My sample app has been working with the following code:
func call(arguments: Arguments) async throws -> ToolOutput {
var temp:Int
switch arguments.city {
case .singapore: temp = Int.random(in: 30..<40)
case .china: temp = Int.random(in: 10..<30)
}
let content = GeneratedContent(temp)
let output = ToolOutput(content)
return output
}
However in 26 beta 5, ToolOutput no longer available, please advice what has changed.
Here's the result:
Very weird.
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Vision Pro or Vision Pro 2732x2048? Which one is larger?
My iMac is very slow, so I wanted to use the smaller one.
Topic:
Developer Tools & Services
SubTopic:
Xcode
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
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
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
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
Text(...).textSelection(.enabled) does not work on iPhone and iPad, but works on Mac.
Topic:
UI Frameworks
SubTopic:
SwiftUI
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
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
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