Search results for

file uri scheme

79,845 results found

Post

Replies

Boosts

Views

Activity

Reply to Upload videos on Developer Forums
Yeah, that would be cool. [quote='809020021, matthewruzzi, /thread/809020, /profile/matthewruzzi'] FB21241023 [/quote] Thanks for filing that. In the meantime, you can work around this by posting the video to your favourite file sharing site and then posting a link to it here. If you run into problems posting the link, see tip 14 in Quinn’s Top Ten DevForums Tips. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Installer JS warning when try to read the version from /var/db/receipts folder
Hi, I am using Installer JS in Distrtibution file which is created using productbuild command. I am trying to read the installed version of app from the plist file present in the /var/db/receipts folder. It gives the following warning. If I enable the flag , notarization will fail. FJS: Package Authoring Error: access to path /var/db/receipts/com.xxx.xxx.plist requires Following is the function I have used to read the installed version. system.files.plistAtPath() I have also tried the following function to read the version from .app file. system.files.bundleAtPath Both the functions give the warning. Is there are a way to avoid this warning or a better way to read the installed version? Regards Prema Kumar
1
0
89
2w
Reply to Installer packages are failing to install on macOS26.1
Hi @roth-izo , You have to use productbuild command to create an archive which will bundle all the child packages inside and create a main archive. productbuild --synthesize --package pkg1 --package pkg2 path/distribution.dist Once the distribution.dist file is created, you can use following command to create the final package. productbuild --distribution path/distribution.dist --package-path --identifier com.xxx.xxx --version xxxx --sign xxxx --timestamp /Package.pkg In the distribution.dist you can put other restriction you need. Please refer https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/DistributionDefinitionRef/Chapters/Distribution_XML_Ref.html regards Prema Kumar
2w
How to connect to a IOUSBHostInterface
I have poked around the web looking for a good example to do this and I haven't found a working example. I need to connect to a USB Device, its multiple ports and supports what looks to be a root port and 4 other ports I am no expert in USB but I do know how to write a kext and client drivers, but thats really not the way to solve this. I need to display the serialized output from these USB ports for a development board. I would rather do this on my Mac than have to cobble up a Linux machine and mess around with Linux. Here is the output from ioreg MCHP-Debug@03100000 MCHP-Debug@0 +-o MCHP-Debug@0 +-o MCHP-Debug@1 +-o MCHP-Debug@2 | | | | | +-o MCHP-Debug@3 I have been able to open a inservice to the device at the top level, but I get an error when I use. usbHostInterface = [[IOUSBHostInterface alloc] initWithIOService:usbDevice options: IOUSBHostObjectInitOptionsNone queue: queue error: &error interestHandler: handler]; Error:Failed to create IOUSBHostInterface. with reason: Unable to obtain config
1
0
118
2w
Reply to Are read-only filesystems currently supported by FSKit?
Makes sense, so seems like what I saw back then [1] almost certainly wasn't at the APFS layer, then. one follow-up comment for the haters out there: Ha, well I would hope that someone looking at an FSKit-related question on the forums would know enough about file systems to understand why that would make sense, though I suppose you never know ;) COW is definitely saving me more space on my machine than whatever is reserved for that purpose. [1] If you're curious it was an old Apple Watch I had that got stuck in a boot loop after restarting it to try to fix some crashy app behavior, and IIRC there were low storage alerts shortly before that happened. Definitely way after the iOS 8 days.
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Symbolicating kernel backtraces on Apple Silicon
(2) All other activity came from Preview(2407). There were three threads tied to your KEXT: One thread is doing handling I/O from the VM system, caused by memmove, probably tied to memory-mapped file I/O: userFrames: [ [_platform_memmove, libsystem_platform.dylib, null, 0x1804ad320, 96], [CGPDFSourceRefill, CoreGraphics, (CGPDFSource.c:464), 0x1869dfff8, 164], kernelFrames: [ [thread_invoke, kernel.release.t8103, (sched_prim.c:3530), 0xfffffe0008a6b0e8, 1180], [thread_block_reason, kernel.release.t8103, (sched_prim.c:4147), 0xfffffe0008a69b5c, 244], [lck_rw_lock_shared_gen, kernel.release.t8103, (lock_rw.c:1375), 0xfffffe0008a4f404, 892], [IORWLockRead, kernel.release.t8103, (lock_rw.c:1524), 0xfffffe0008a4f030, 144], [11, 315180], [11, 316328], [11, 70956], [11, 70608], [11, 236500], [cluster_io, kernel.release.t8103, (vfs_cluster.c:2336), 0xfffffe0008c1fb74, 3512], [cluster_pagein_ext, kernel.release.t8103, (vfs_cluster.c:2736), 0xfffffe0008c219b8, 244], [cluster_pagein, kernel.release.t8103, (vfs_
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to How to Implement Dynamic Type for UITextFields Without Resetting Data
Hello! Thanks for taking the time to write about this. This doesn't sound right, and is probably a bug. But to be sure, we need some more information to investigate. Can you please file a bug report and include code sample sysdiagnose logs video recording to the following link? https://developer.apple.com/bug-reporting/ The site will walk you through these steps. You can reply what the Feedback ID is for this issue and I'll make sure it gets to the right team to investigate.
2w
AVPlayer loading performance problem in iOS 26
Hi, I have an app that displays tens of short (<1mb) mp4 videos stored in a remote server in a vertical UICollectionView that has horizontally scrollable sections. I'm caching all mp4 files on disk after downloading, and I also have a in-memory cache that holds a limited number (around 30) of players. The players I'm using are simple views that wrap an AVPlayerLayer and its AVPlayerItem, along with a few additional UI components. The scrolling performance was good before iOS 26, but with the release of iOS 26, I noticed that there is significant stuttering during scrolling while creating players with a fileUrl. It happens even if use the same video file cached on disk for each cell for testing. I also started getting this kind of log messages after the players are deinitialized: <<<< PlayerRemoteXPC >>>> signalled err=-12785 at <>:1107 <<<< PlayerRemoteXPC >>>> signalled err=-12785 at <>:1095 <<<< PlayerRemoteXPC >
1
0
338
2w
Xcode Cloud Builds Failing with 7-8 Errors - Builds Stuck in "Processing" on App Store Connect
Hey there. I'm experiencing a critical issue with Xcode Cloud builds for my macOS application (bundle ID: com.mymind.mymind-mac) where builds fail in Xcode Cloud with 7-8 errors, yet all logs indicate successful completion. Additionally, when manually uploading builds, they become stuck in Processing status indefinitely on App Store Connect. Issue Details: Problem: Xcode Cloud reports 7-8 build errors but logs show no fatal errors Secondary Issue: Builds uploaded to App Store Connect remain in Processing status indefinitely Platform: macOS application with Safari Web Extension Xcode Version: 26.1.1 (26B100) - Xcode 26.1 Build Environment: Xcode Cloud What Works: Package dependency resolution completes successfully Archive creation succeeds (** ARCHIVE SUCCEEDED **) Export succeeds (** EXPORT SUCCEEDED **) Provisioning profiles are created correctly Code signing completes without errors Manual upload to App Store Connect completes What Fails: Xcode Cloud: Build process fails with 7-8 errors, but no correspondi
3
0
246
2w
Reply to "Signing certificate" and post-installation assignment fail due to IOPCIPrimaryMatch
I'm not sure why Xcode Signing Certificate status is Failed with the above configuration. It doesn't seem to me that DriverKit and the provisioning file expect & as the expected value. Based on the above, isn't it Xcode that expects &? I'm suspicious of Xcode's behavior. I was able to get a look at your account configuration this morning, and I think I can explain what's going on. For reference, I looked at the bundle with this structure: com.0.DextPCIe **Short answer: ** Change your Entitlement.plist configuration to Development Only entitlement configuration: com.apple.developer.driverkit.transport.pci IOPCIPrimaryMatch 0xFFFFFFFF&0x00000000 ...and I think you'll find that your build will suddenly work fine. Note that it's perfectly fine to use the configuration above for normal testing and development. The entitlement above does match all devices, but your IOKitPersonalities dictionary controls what you ACTUALLY match against, so having an broad entitlement doesn't mean you'll matc
Topic: Code Signing SubTopic: Entitlements Tags:
2w
Reply to Are read-only filesystems currently supported by FSKit?
Huh. Out of curiosity, did APFS always do that to prevent that issue? No, at least not entirely. I don't remember if it was an issue on macOS (where booting support wasn't added until later), but there was a short interval in iOS 8 where it was possible to completely fill an iOS device. However, the end result of that wasn't quite as bad as I made it sound (or it theoretically could be). The nature of COW also means that in a normal I/O flow, the I/O request that uses the last available space is effectively guaranteed to be the writes for the next/new data that's going to be written. So what actually ended up happening was: The kernel panicked, since APFS couldn't really do anything else. The file system was left in a dirty state (since it didn't unmount). The fsck prior to remount found that pending data and cleared it (since that's all it could really do). ...which then freed up enough space for the file system to be functional again, at least enough that you could delete files an
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to CarPlay: CPListTemplate item limit and image memory usage
Hi, Both situations are known. 500 is the limit for apps. That's worth filing an enhancement request (same as a bug report but to be treated as an enhancement). As you've noticed as well, images are not lazy loaded. Also worth filing an enhancement request. To make the process go faster make sure your image sizes aren't larger than the maximum size provided by the given list item. You can also file this as a bug report and please include a time profile. If you can file, I'll do my best to get a response for you. Rico Car Experience - Software Engineer
Topic: UI Frameworks SubTopic: General Tags:
2w