Search results for

İOS 26 beta battery %1

250,947 results found

Post

Replies

Boosts

Views

Activity

Reply to macOS 26 Launch Constraints
OK, so you’re dying from a launch constraint violation. That launch constraint can come from two places: You can bake a constraint into your executable. The code running your daemon can apply a constraint. I believe you’ve eliminated the first possibility, but it’s a good idea to check that. You can do that using codesign: % codesign -d -vvv Desktop/My App.app/Contents/MacOS/com.myCompany.myDaemon … Launch Constraints: … You shouldn’t see a Launch Constraints field. As to the second possibility, there are two things to check: Make sure your daemon is signed with the some code-signing identity as the container app. Move your app from the desktop to a directory that isn’t protected by MAC. MAC-protected directories — like the desktop, Documents folder, and Downloads folder — cause all sorts of weird behaviour. I generally recommend that you run your app from either the Xcode build directory or /Applications. For more info about MAC, see On File System Permissions. Share and Enjoy — Quinn “The Eskimo!” @ Develop
Topic: Code Signing SubTopic: General Tags:
4d
Reply to iOS 26 Safari & WebView: VisualViewport.offsetTop not reset after keyboard dismissal, causing fixed elements misplacement
@hibye seems spot on about the issue, also as reported in this stackoverflow post: https://stackoverflow.com/questions/79758083/ios-26-safari-visualviewport-change-after-dismissing-keyboard before opening the keyboard, visualViewport.height and window.innerHeight match... but after opening the keyboard there's always a 24px difference (and this persists after the keyboard is closed)
Topic: Safari & Web SubTopic: General Tags:
4d
Keep getting an error on macOS when trying to use Passkeys to login
I keep getting the following error when trying to run Passkey sign in on macOS. Told not to present authorization sheet: Error Domain=com.apple.AuthenticationServicesCore.AuthorizationError Code=1 (null) The same piece of code is working as expected on iOS. Some more info: The association file and entitlements are correct and validated as everything is working on iOS. The app is built on SwiftUI and use the same codebase for macOS and iOS Validated that the presentation anchor is also correct on macOS because other SSO login works with the same presentation anchor. Not sure where the problem is. Followed https://developer.apple.com/documentation/authenticationservices/public-private_key_authentication/supporting_passkeys/ to get the integration.
2
0
725
Aug ’23
Reply to Keep getting an error on macOS when trying to use Passkeys to login
Hi, I'm also integrating the passkey feature on my Mac and have meet the same error. Told not to present authorization sheet: Error Domain=com.apple.AuthenticationServicesCore.AuthorizationError Code=1 (null) ASAuthorizationController credential request failed with error: Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1004 (null) Application with identifier a is not associated with domain b I have config the apple-app-site-association link and use ?mode=developer
Topic: App & System Services SubTopic: Core OS Tags:
4d
Reply to How to open battery settings from my app in iOS 18 using Swift?
// // SettingsHelper.swift // batteryZz // // Created by Nguyen Quang Minh on 15/9/25. // import UIKit class SettingsHelper { static let shared = SettingsHelper() private init() {} enum SettingsType { case appSettings case notificationSettings case microfonSettings case cameraSettings case locationSettings case photosSettings case siriSettings case wifiSettings case bluetoothSettings case cellularSettings case batterySettings case privacySettings var urlString: String { switch self { case .appSettings: return UIApplication.openSettingsURLString case .notificationSettings: if #available(iOS 16.0, *) { return UIApplication.openNotificationSettingsURLString } else { return UIApplication.openSettingsURLString } case .microfonSettings: return App-Prefs:Privacy&path=MICROPHONE case .cameraSettings: return App-Prefs:Privacy&path=CAMERA case .locationSettings: return App-Prefs:Privacy&path=LOCATION case .photosSettings: return App-Prefs:Privacy&path=PHOTOS case .siriSettings: return App-Prefs
Topic: App & System Services SubTopic: General Tags:
4d
Reply to FSKit volume mount fails with "Permission denied"
[quote='858072022, .steve, /thread/798328?answerId=858072022#858072022, /profile/.steve'] those apparently don't show up in the Console app. [/quote] Yeah, that’s an annoying pitfall. You have to explicitly enable those via the commands on the Action menu. If you’re working at this level, it’s worth spending the time to learn more about the system log. There are lots of hints, tips, and references to docs in Your Friend the System Log. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
4d
FSKit volume mount fails with "Permission denied"
I'm trying to use FSKit to create a File System Extension that can read MFS-formatted disk images, following the old MFSLives sample project for reference. I have a well-formed MFS formatted img file that I'm trying to mount, but I'm having trouble getting the system to actually use my FSModule. DiskImageMounter fails to mount the img file, but I'm able to use it to attach the image as a device by clicking Ignore when it prompts me that it isn't able to read the disk. This is effectively the same as using the hdiutil command in Terminal. hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount Sample.img I've read that FSKit isn't fully integrated with Disk Arbitration yet, so I decided to see if I could force the system to use my extension by using the mount command. mkdir /tmp/Sample mount -F -t MFS disk54 /tmp/Sample Watching the logs in Console, I can see that fskit_agent sees my extension in its New Modules List, and I see an MFS process gets launched and logs messages from com.apple.running and c
7
0
212
3d
AudioQueue Output fails playing audio almost immediately?
On macOS Sequoia, I'm having the hardest time getting this basic audio output to work correctly. I'm compiling in XCode using C99, and when I run this, I get audio for a split second, and then nothing, indefinitely. Any ideas what could be going wrong? Here's a minimum code example to demonstrate: #include <AudioToolbox/AudioToolbox.h> #include <stdint.h> #define RENDER_BUFFER_COUNT 2 #define RENDER_FRAMES_PER_BUFFER 128 // mono linear PCM audio data at 48kHz #define RENDER_SAMPLE_RATE 48000 #define RENDER_CHANNEL_COUNT 1 #define RENDER_BUFFER_BYTE_COUNT (RENDER_FRAMES_PER_BUFFER * RENDER_CHANNEL_COUNT * sizeof(f32)) void RenderAudioSaw(float* outBuffer, uint32_t frameCount, uint32_t channelCount) { static bool isInverted = false; float scalar = isInverted ? -1.f : 1.f; for (uint32_t frame = 0; frame < frameCount; ++frame) { for (uint32_t channel = 0; channel < channelCount; ++channel) { // series of ramps, alternating up and down. outBuffer[frame * channelCount +
2
0
370
4d
Reply to Provisioning problem
[quote='858181022, PeterSenyszyn, /thread/800521?answerId=858181022#858181022, /profile/PeterSenyszyn'] none of those suggestions worked for me unfortunately [/quote] OK. We’re currently tracking an issue that affects provisioning profile generation for TestFlight (r. 160638630). It’s possible that this is also affecting development profiles. I’m currently researching that. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4d
macOS Document-Based SwiftUI App: “Save” menu item not localized in French
Hi everyone, I’ve run into a strange localization issue with macOS document-based apps in SwiftUI/AppKit. I created a standard document-based macOS app in Xcode (SwiftUI template) and added a French localization to the project. All system-generated menu bar commands (File → New, Close, Print, etc.) are correctly translated into French… except for “Save”, which remains in English. To rule out problems in my own code, I created a fresh, unmodified document-based app project in Xcode, and immediately added French localization without touching any code. Same result: all commands are translated except “Save”. This suggests the issue isn’t specific to my app code, but either the project template, or possibly macOS itself. My environment • Xcode version: 16.4 • macOS version: 15.6.1 Sequoia] • Swift: Swift 6 Questions 1. Has anyone else seen this issue with the “Save” command not being localized? 2. Is this expected behavior (maybe “Save” is handled differently from other menu items)? 3. If it’s a bug in th
4
0
87
4d
Reply to Provisioning problem
I have a theory as to what’s going on here, and I’d like you to run a test to exercise that theory: First, create a new app, with a new unique bundle ID, and try running that. For specific instructions, see the first numbered list in Investigating Third-Party IDE Code-Signing Problems [1]. If that works, repeat the process using the bundle ID of your main app. For specific instructions, see the second numbered list in Investigating Third-Party IDE Code-Signing Problems. If that fails: Quit Xcode. Go to ~/Library/Developer/Xcode/UserData/Provisioning Profiles and delete all your profiles. Relaunch Xcode. Try again. Lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] I realise your issue has nothing to do with third-party IDEs, but those instructions are good for basic tests like this.
4d
Reply to Incompatibility with Android devices and Wifi Aware standard
We’ve been talking about Wi-Fi Aware Android compatibility in this thread. [quote='800453021, Anthenor, /thread/800453, /profile/Anthenor'] could you adopt the same strategy … ? [/quote] If there’s something you’d like to see change, I recommend that you file an enhancement request with the details. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4d