Search results for

file uri scheme

79,857 results found

Post

Replies

Boosts

Views

Activity

Reply to Repeated Guideline 4.3 Rejection for Update – Requesting Insight From Fellow Developers And App Review Team
Thank you for your post. If you disagree with the outcome of the review, we recommend submitting an appeal to the App Review Board. When filing your appeal, make sure to: Provide specific reasons why you believe your app complies with the App Review Guidelines. Submit only one appeal per rejection. Respond to any requests for additional information before submitting an appeal. Once you have submitted the appeal we can escalate it to the App Review Board for review. The App Review Board will contact you directly as soon as they've completed their investigation.
Nov ’25
Reply to Context window 90% of adapter model full after single user prompt
Hi, I have put together a pair of unit tests that run the same scenario against two separate language models: the Apple Foundation base model, my fine-tuned adapter model. While both are able to successfully complete a first prompt/reply turn, the LanguageModelSession that is running against the adapter model runs out of context window in turn 2. A very important nuance is that while both models operate with the same system prompt: a) for the unit test running against the base model, the system prompt is passed as instructions when instantiating the LanguageModelSession b) in the unit test running against the adapter model, the system prompt is baked into the training data. Here's the link to the analysis of the behaviour of the two tests and how they differ (compiled by Claude, as you'll no doubt detect from the superb over-confidence on display that is typical of AI agents) : https://github.com/MAOShea/Hello-World-Tools-Adapter-SwiftUI/blob/main/SUPPORT_REQUEST_TranscriptStorageDifference.md The two log files
Nov ’25
Reply to Standalone Watch App Woes
More Context: Xcode 26.1.1 New standalone watchOS project - default settings. There is a project with two targets - an iOS target and a watchOS target. The iOS target is at default - no code added or taken away all certificates and profiles point to my distribution certificate and provisioning. The bundle_id's seem good. The Project and ios share a bundle id of com.myteam.myapp The watchOS bundle id is com.myteam.myapp.watchkitapp There are identifiers for both in App Store Connect. The app compiles and runs on the simulator with no errors, all sizes, all languages. I do not have a watch connected to the account, but the code has been tested and I can't imagine that the lack of a physical device is causing the problem The scheme has the 3 archs in top to botton project, ios, watchOS - all marked to do everything they can and everything I see is marked to release. This is my first swift program and xcode experience, so I am confident that the error is my understanding of the workflow. thank you anyone
Nov ’25
Reply to Xcode and Reading documents from a URL connection.
[quote='866620022, Apple_Fox, /thread/807599?answerId=866620022#866620022, /profile/Apple_Fox'] I do use URLsession. [/quote] OK. Then let’s use this thread to focus on the networking side of things. Once you’ve got that working, you can start a new thread with an appropriate subtopic and tags for your next step. URLSession is a very flexible API, so there are numerous ways you might use it to download a file. However, let’s explore a simple form. Imagine you have a button like this: Button(Download) { Task { await runDownload() } } That calls the runDownload() function, which looks like this: func runDownload() async { do { print(will run download) let url = URL(string: https://example.com)! let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60.0) let (downloadURL, response) = try await URLSession.shared.download(for: request) let httpResponse = response as! HTTPURLResponse print(did run download, status: (httpResponse.statusCode), downloadURL: (downloadU
Nov ’25
Swift Playground preview issues
I am a high school teacher from China, currently teaching programming courses at my school. Several issues are preventing the course from being completed on schedule. As shown in the image, there are two problems: The preview issue has existed since updating to the latest software and system version; I don't know how to resolve it. After renaming a Swift file, this window keeps popping up, even after closing it. This problem didn't exist last year. How can I fix this? Thank you for your reply! 我是一名来自中国的高中教师,目前在学校开设编程课程,目前有几个问题导致课程无法如期完成。如图所示,存在两个问题: 一、自从更新了最新版本的软件和系统后,预览问题就存在,不知该如何处理 二、swift文件重命名后,一直跳出来这个窗口,关掉以后还是跳出来 去年的时候还没有存在这样的问题,请问我该如何处理,感谢您的回复!
3
0
117
Nov ’25
Reply to Xcode 26 Crashes on Launching App After macOS + Xcode Update (M3 Mac)
I update to the latest Xcode : Version 26.1.1 (17B100) Toolchain: Swift 6.2 Release 2025-09-11 (a) and MacOS to the latest : 26.1 (25B78) and still have the same crash problem, I give the crash report to an AI to summarize it : Primary Issue Assertion Failure in Scheme Execution: The crash occurred during scheme execution operations, specifically when Xcode was trying to create an execution operation for running a scheme. Key Technical Details Crash Location Thread 0 (main thread) crashed with SIGABRT (Abort trap: 6) Trigger: Assertion failure in IDEScheme class Specific Method: -[IDEScheme _executionOperationForSchemeOperationParameters:build:onlyBuild:buildParameters:title:buildLog:dontActuallyRunCommands:restorePersistedBuildResults:deviceAvailableChecker:error:actionCallbackBlock:] Crash Sequence Assertion triggered in IDEScheme operations Assertion handler called abort() Main thread terminated with abort signal The crash appears to be an internal Xcode assertion triggered by in
Nov ’25
Xcode 26 Crashes on Launching App After macOS + Xcode Update (M3 Mac)
Hi everyone, After updating my Mac and Xcode to 26, I’m running into a consistent crash whenever I try to launch an app from Xcode. Environment: Mac: Apple Silicon M3 macOS: 26.0 (25A354) Xcode: 26.0.1 (17A400) Issue: When I press Run on any project (including new, empty projects), Xcode immediately crashes. This started only after updating to the latest macOS and Xcode. Crash details: The crash log shows: Application Specific Signatures: ___localError Thread 0 crashed inside -[IDEScheme _executionOperationForSchemeOperationParameters:...] from IDEFoundation/IDEKit. I also noticed background threads calling DVTPortal (developer portal requests) right before the crash. What I’ve tried so far: Cleared DerivedData, ModuleCache.noindex, and Xcode caches. Signed out/in of my Apple ID in Xcode. Recreated project schemes. Verified provisioning profiles. Reinstalled Xcode 26. Unfortunately, the crash still happens. Question: Is this a known issue with Xcode 26 on Apple Silicon (M3)? Has anyone seen a workaro
9
0
727
Nov ’25
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug)
iOS BGProcessingTask + Background Upload Not Executing Reliably on TestFlight (Works in Debug) Description: We are facing an issue with BGTaskScheduler and BGProcessingTask when trying to perform a background audio-upload flow on iOS. The behavior is inconsistent between Debug builds and TestFlight (Release) builds. Summary of the Problem Our application records long audio files (up to 1 hour) and triggers a background upload using: BGTaskScheduler BGProcessingTaskRequest Background URLSession (background with identifier) URLSession background upload task + AppDelegate.handleEventsForBackgroundURLSession In Debug mode (Xcode → Run on device), everything works as expected: BGProcessingTask executes handleEventsForBackgroundURLSession fires Background URLSession continues uploads reliably Long audio files successfully upload even when the app is in background or terminated However, in TestFlight / Release mode, the system does not reliably launch the BGProcessingTask or Background URLSession e
1
0
96
Nov ’25
Reply to Activating application from Terminal occasionally fails on macOS 26
[quote='807805021, 1024jp, /thread/807805, /profile/1024jp'] I’ve already filed this issue: FB21087054 [/quote] Thanks. That’s definitely the best path forward for this. It’s hard to think of a way to work around given that a) none of your code is running, and b) it affects system apps. This is likely fallout from a general effort to stop apps stealing focus from other apps. Check out the yieldActivation(toApplicationWithBundleIdentifier:) and other related method for more background on that. However, Terminal is the frontmost app, and it should be the responsible code for any command-line tools that you run, so I would expect this to work. And it does work most of the time, hence my comment that a bug report was the best path here. If you’re able to reproduce not-returning case, a sysdiagnose log from that might yield a useful insight. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’25
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script. However, I can’t find any tool or option to do this. When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu. But there’s nothing there. Has anyone encountered the same issue? How did you fix it? Environment: Manifest Version: V3 Safari: 26.0.1 (21622.1.22.11.15) Xcode: 26.0.1 (17A400)
1
0
650
Nov ’25
Reply to VisionOS Enterprise API Not Working
Thank you for the response. I've completed all the requested debugging steps nothing worked. I think it is an issue on your system where the license has not been activated yet. Steps Completed: App reinstallation: I deleted the app, reinstalled it, and ran it. The app successfully prompts for and receives camera access permission. Debug print statements: I added print statements to track execution flow: In CameraSessionManager.runCameraFrameProvider: Camera authorization is GRANTED Provider STARTS successfully Provider state remains initialized (never transitions to running) In CameraSessionManager.observeCameraFrameUpdates: No camera formats available from CameraVideoFormat.supportedVideoFormats() Code never reaches leftCameraFeed.update because no formats are returned Current setup verified: Enterprise entitlement com.apple.developer.arkit.main-camera-access.allow is present in provisioning profile Enterprise.license file (can share ID via email if you require it) is embedded in app bundle under Co
Topic: Spatial Computing SubTopic: ARKit Tags:
Nov ’25
Reply to VisionOS Enterprise API Not Working
Hi @vision_pro_developer2000 Thanks for bringing this to our attention. While I investigate, I'd appreciate it if you can do some or all of the following: Delete the app, reinstall it, then run it and tell me if the app prompts you for permission to access the main camera. Add some print statements to the app to isolate the point of failure. Tell me how far you get. Specifically, in CameraSessionManager.runCameraFrameProvider determine if the provider starts. In CameraSessionManager.observeCameraFrameUpdates determine if the code reaches leftCameraFeed.update. File a bug report using Feedback Assistant, attach a sysdiagnose, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.
Topic: Spatial Computing SubTopic: ARKit Tags:
Nov ’25