Search results for

file uri scheme

79,824 results found

Post

Replies

Boosts

Views

Activity

Reply to WatchOS Companion app on VPP Crashing on Launch
Following up here. This is of course infernally annoying to test and debug: there is no response from Apple on this issue or documentation about VPP vs App Store differences. Furthermore we can only test our attempted changes by submitting a new build to the app store, waiting for approval, and then trying to deploy to our devices with VPP. What we can confirm is: – This is happening with other watch companion apps installed through VPP. HOWEVER a couple of watch companion apps I tested DID work. I would be happy to provide a list for comparison to Apple if it's helpful. – We tried adjusting a bunch of project settings related to optimization, dead code stripping, symbol stripping, etc. following a mix of online and AI-based guidance about potential objective-c metadata issues flagged from the crash logs. Our app is primarily based on Swift 5 but it does target some objective-c pods and frameworks which haven't changed in years. This didn't help. – Our app used the old WatchKit architecture with both an app t
Topic: Code Signing SubTopic: General Tags:
4h
Reply to Zsh kills Python process with plenty of available VM
Thank you, I asked, but unfortunately from Gurobi they confirmed their APIs do not support mmap. I am curious about your last suggestion regarding the boot parameter vm_compression_limit. The default is zero, but I cannot find any documentation about the other possible values, nor what is the corresponding behaviour. Is there any official documentation on it? Is there a command that supports modifying this parameter? On my mac it seems encrypted since on the kernels folder (I actually do not know which kernel is in use, there are multiple ones) all the files display a bunch of random symbols, so it is not as easy as to edit as the Linux kernel boot parameters. I assume there is a command to do it.
1d
Reply to Using a local model for Xcode Assist
Answering my own question: I was able to do this by downloading LM Studio and installing a Devstral model from Mistral. Just start the server for that model and then set up a local model in Xcode. It's a local model, and works even with wifi turned off. I found the model didn't work nearly as well at understanding even medium-sized codebases and making changes. It was better suited for writing small snippets of code or maybe analyzing a single file.
1d
Add 'PDF Services' symlink in ~/Library directory in SwiftUI macOS Catalyst application
I am trying to port my sandboxed macOS app completely over to iOS using a Catalyst target. In my macOS app, I use 'SwiftySandboxFileAccess' package to add a symlink to '~/Library/PDF Services' so that the 'share to my app' menuItem shows up in the macOS Print Panel (in the PDF menu). It is critical for the function of my app to have this work on macOS. In the Catalyst target, I am having problems gaining access to '~/Library'. I have tried having the user select the folder, but the picker always returns 'canceled'. I have a test app that illustrates this. The test app tries to coax the user into selecting the library folder and then it is supposed to bookmark the location, but I am unable to get this far. As an aside, macOS should probably automatically add an entry to the Print Panel when the app includes PDF as a document type in XCode; it would save a lot of hassle and avoid having to go outside of the sandbox. However, I cannot wait for that. Hopefully someone can help. Download Test App from iCloud (If y
2
0
78
1d
(Xcode 26.0 → 26.2) Constant UI flickering in split view mode
Hello, I’ve been experiencing a persistent issue in Xcode since version 26.0, and it is still present in 26.2. When using the split view to display two files side by side, the area in the top‑right corner of the window (the inspector / options panel) starts flickering continuously. This happens regardless of whether I’m using the light or dark theme, and even with the Liquid Glass effect disabled in macOS settings. None of these changes have any impact on the issue. I have already submitted a bug report through Xcode (Feedback Assistant), but the issue is still present as of today. The flickering makes the interface difficult to use and visually very distracting. I’ve attached a video to clearly show the issue. I will review the attachment at the time I publish this post. Thanks in advance for any help or feedback. Video 1 https://www.icloud.com/iclouddrive/077l-R7Ybvxz89NI-B7DliEuA#xcode_bug1 Video 2 https://www.icloud.com/iclouddrive/0f6bJp48ioGRdkYiA2U4sI-cg#xcode-bug2
2
0
75
1d
iOS 26 Beta Personal Voice bug affecting AVSpeechSynthesizer
I have sent in a feedback report (FB18222398) but I have no idea if anyone has looked at it. I know from past experiences that Apple devs do look at these forums. This applies to each of the betas, 1, 2 and 3. I have created a new Personal Voice with each beta. I create a personal voice in English. When it's done processing, I tap Preview and it says in English what is expected. But after some time, an hour or a day, the language of the voice file changes languages and no longer works properly. If I press Preview it is no longer intelligible. I have a text to speech app and initially the created voice works but then when the language of the file changes, it no longer works. I have run an app on my iphone through Xcode that prints to the console the voices installed on the device with the language. Currently this is the voice file: Voice Identifier: com.apple.speech.personalvoice.AAA9C6F2-9125-475F-BA2F-22C63274991D Language: es-MX and on a second device the same personal voice is in
2
0
334
1d
Cannot make my app appear in “Share with App” action in Shortcuts – How to allow receiving images from Shortcuts?
Hi, I’m trying to integrate my iOS app with Shortcuts. My goal is: In the Shortcuts app → Create a shortcut → Select an image → Share the image directly to my app for analysis. However, when I try to add the “Share with App” / “Open in App” / “Send to App” action in Shortcuts: My app does NOT appear in the list of available apps. I want my app to be selectable so that Shortcuts can send an image (UIImage / file) to my app. What I have tried My app supports receiving images using UIActivityViewController and Share Extension. I created an App Intents extension (AppIntent + @Parameter(file)...) but the app still does not appear in Shortcuts “Share with App”. I also checked the Info.plist but didn’t find any permission related to Shortcuts. The app is installed on the device and works normally. My question What permission, Info.plist entry, or capability is required so that my app becomes visible in the Shortcuts app as a target for image sharing? More specifically: Which extension type should b
3
0
160
1d
Reply to XCode26 - Unable to launch Image in storyboard for landscape picture in Portrait orientation
Sure, I can explain that a bit further. You added a Swift file to your project named LaunchViewController. That code will never run during the app launch process, because after all, your app is busy launching, not already running, so it doesn't yet have the ability to run that code. Thus, launch screens need to be static files — either just the contents of the Launch Storyboard, or just the contents of the Info.plist alternative which I recommend as the best choice these days. The system uses those static files to display your launch screen for you as the system gets your app ready to run your code. There is one other issue with your Xcode project configuration, in that it's not configured to support all orientations in the General tab. That's also set by default for brand new targets, and not one that should be changed. Older apps that don't have all orientations selected need to migrate to supporting all orientations, if your launch screen question here is part of making updates t
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1d
Reply to Altitude for MKAnnotation
are there any other marker types which are capable of showing vertical position / altitude data on the map in 3D mode? There isn't API to do so for annotations, which is what I presume you mean by marker. For overlays, there also isn't API for you to create overlays with data for a third dimension, with one exception — if you ask MapKit for a route between locations using the MKDirections family of API, the route returned to you may display with elevation info, such as placing the route polyline on a bridge. The following screenshot is taken from a sample code project, though I adjusted the position of the map slightly to illustrate my point. At the top of the screen, you can see the route line going across a bridge, and then down through a tunnel, and finally passing underneath a highway overpass. As I said before, if you'd like us to consider more APIs including elevation, please file enhancement requests using Feedback Assistant and let us know how you'd use such APIs! — Ed Ford,  DTS Engineer
2d
Reply to Add 'PDF Services' symlink in ~/Library directory in SwiftUI macOS Catalyst application
As an aside, macOS should probably automatically add an entry to the Print Panel when the app includes PDF as a document type in Xcode; it would save a lot of hassle and avoid having to go outside of the sandbox. However, I cannot wait for that. Hopefully, someone can help. So, I took a look at your sample and found two different problems: (1) As originally configured, your project had User Selected File to Read, which caused UIDocumentPickerViewController to always cancel. Changing that to Read/Write got it working. (2) You're checking for the correct folder by comparing the value the user selected to the value returned by: guard var libraryURL = FileManager.default.urls(for: .libraryDirectory, in: .userDomainMask).first else { The problem is that, in a sandboxed app, that API returns the app container path, NOT the user’s actual directories. So your check ends up comparing this: ~/Library/Containers//Data/Library/ To the user’s true selection: ~/Library/ ...inadvertently failing the correct path. A
2d
Reply to CallKit does not activate audio session with higher probability after upgrading to iOS 18.4.1
Apologies for the delayed update. Yesterday, we completed the rollout of your workaround solution, and our metrics indicate its effectiveness. The issue count has decreased significantly during the implementation, dropping from 6000 per day to 1000 per day as of today. Fabulous, that's great to hear and thank you for sharing concrete numbers. I was fairly confident it would work, but it's good to get independent confirmation. We would like to express our gratitude for the workaround solution you provided. You're very welcome. Currently, we have implemented the workaround only for incoming calls, as these were the primary source of issues observed in our app. We plan to extend the implementation to outbound calls as well. I don't know this for certain, but my guess is that the difference between the incoming/outgoing rate is mostly due to usage patterns and the details of your existing implementation. In particular, these two factors: I suspect most calls originate from the foreground (the user opening your ap
Topic: App & System Services SubTopic: General Tags:
2d