Search results for

“build disappears”

51,324 results found

Post

Replies

Boosts

Views

Activity

Unable to Control Optical Zoom via USB (UVC) in Custom Swift App, While Prebuilt App Works
I’m currently working on a macOS application to control a USB camera’s optical zoom via a direct USB connection. My situation: I am using a USB camera that supports optical zoom. I downloaded an open-source project, CameraController. The prebuilt binary provided on GitHub works perfectly, and I can successfully control the camera’s optical zoom. However, when I build and run the same project from source in Xcode, the zoom control UI appears disabled (grayed out). The project compiles without errors. Additionally, I attempted to implement zoom control myself using the UVC protocol in Swift . However, it seems that the zoom control commands are not successfully sent or recognized by the camera. Questions: Why would the prebuilt app work, but the same source code built locally results in disabled zoom controls? Are there known limitations on sending zoom control requests via USB on macOS? Is there a recommended modern approach for controlling optical zoom programmatically via Swift? Any insights, debugg
1
0
21
3d
Reply to iPad Pro Wi-Fi ping spikes with Bluetooth (iPadOS 26
DevForums is primarily focused on APIs, so if you’re building an app that’s affected by this, or a Bluetooth accessory, please let me know. If not, my advice is that you seek help from Apple Support, either directly or on Apple Support Community. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
4d
Reply to TN3134 clarification: DNS Proxy Provider unusable without MDM on iOS?
[quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is it possible to distribute a DNS proxy provider for use on non-MDM / non-supervised devices? [/quote] No. The table in the DNS proxy section of TN3134 lists two options for iOS: app extension | 11.0 | supervised devices only | 16.0 | per-app on managed devices If you exclude those two options then you have… well… zero options. [quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is [this] strictly enforced at distribution/runtime? [/quote] Yes. It’s a privacy policy that’s strictly enforced at runtime [quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is a packet tunnel provider the only viable alternative for App Store distribution? [/quote] There are two parts to this question: Do packet tunnel providers work on general user devices? Are there a viable alternative to a DNS proxy. The answer to the first is “Yes.” TN3134 makes that clear. The answer to the second is “No.” TN3
4d
Reply to Migrating to the UIKit scene-based life cycle
Thank you for your response, Richard. I have a follow-up question to clarify the exact trigger for the launch failure. Could you tell us which of the following scenarios actually causes the app to fail to launch? Built with Xcode 26 (iOS 26 SDK), run on an iOS 27 device — Does the app fail to launch simply because the device is running iOS 27, even though it was built with the older(=26) SDK? Built with Xcode 27 (iOS 27 SDK), run on any OS version including iOS 27 — Does the failure occur across all OS versions, including iOS 27(All OS versions(iOS15 or higher) supported by my app), as long as the app was compiled with the iOS 27 SDK without adopting the scene-based life cycle? Both of the above — Does the failure apply in either case? Understanding whether this is enforced at the OS level (runtime) or at the SDK/build level (compile time) is critical for planning our migration and release timeline. Thank you.
Topic: UI Frameworks SubTopic: UIKit
4d
My app fails to launch since I have changed of iPhone (from iPhone13 pro to iPhone 17 pro)
Since I have changed of iPhone (yesterday) to run my draft application, I systematically, and instantaneously get a message The application failed to launch., i.e. the application successfully built and was downloaded to the new iPhone (Iphone 17 pro - iOS 26.4). I have checked that this new iPhone is well registered on my list of authorized devices. Could you help me to fix this issue ? Here is the verbose attached to the failure: The application failed to launch. Domain: com.apple.dt.CoreDeviceError Code: 10002 User Info: { BundleIdentifier = com.laurent-guise.ble-laser; DVTErrorCreationDateKey = 2026-03-30 07:59:46 +0000; IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker; } The request to open com.laurent-guise.ble-laser failed. Domain: FBSOpenApplicationServiceErrorDomain Code: 1 Failure Reason: The request was denied by service delegate (SBMainWorkspace). User Info: { BSErrorCodeDescription = RequestDenied; FBSOpenApplicationRequestID = 0x3868; } The operation couldn’t be completed. The process fa
1
0
41
4d
Reply to UI Glitch in Toolbar Menu Picker After Migrating to Xcode 26
However, This UI glitch We have noticed not only on Toolbar but wherever we are using dropdown(Menu+Picker) throughout the app. It created different shapes while disappearing such as circle and capsule. In iOS 26.0 it shows capsule and iOS26.2.1 it shows circle like UI while disappearing. Is this existing issue in XCode/iOS26, If yes, When we can expect the fix from Apple?
4d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thanks for the update. Just to clarify: Starting from April we must use Xcode 26.X to upload apps to the App Store (using older Xcode versions will fail). In addition, Xcode 26.X deployment target is iOS 15+. So, no option to release apps targeted to older iOS versions? If this is the case, why this isn't blocked during the Xcode build process? or even during the App Store processing? Also, what about the apps we already published a week ago with target deployment 12.0?
4d
Reply to On macOS Settings window navigation bar item is in the center
Thank you for filing the feedback, @newwbee. We responded to your feedback privately a while ago, but I want to include the response here, too, for anyone else that might have the same question and stumbles upon this. SwiftUI’s Settings scene is designed to help you build a first-class Mac settings experience that follows Apple’s Human Interface Guidelines at https://developer.apple.com/design/human-interface-guidelines/settings#macOS Toolbars within Settings scenes use a style appropriate for a typical macOS settings window, which displays centered tabs to group related settings. (Please refer to Settings windows in apps like Safari and Mail as an example.) People also typically expect macOS application settings to be applied as soon as the setting is changed, without the need for a “Save” button. To create a bespoke settings experience for your app, you can use a regular Window scene, which uses a default toolbar style that you’d be familiar with in an application’s main and document windows. You w
Topic: UI Frameworks SubTopic: SwiftUI
4d
DeviceActivityMonitor intervalDidEnd not firing for non-repeating timed unlock
I’m building an iOS app that uses FamilyControls + ManagedSettings + DeviceActivity. Goal: temporarily “unlock” a shielded app for N minutes, then automatically re-apply the shield when the timer expires. What I do: In the main app, when user picks an expiry (e.g. 15 min, 30 min). I start a non-repeating DeviceActivity schedule and remove the app’s ApplicationToken from ManagedSettingsStore().shield.applications. I also store activeUnlockBundleID etc. in an App Group so the DeviceActivityMonitor extension can re-lock at the end. Expected: DeviceActivityMonitor.intervalDidEnd(for:) is invoked when the non-repeating interval ends, and I re-add the token to the shield set. Actual: The app does not re-lock when the interval expires. I added OS logs as well as “debug local notifications” from the DeviceActivityMonitor extension in: init() intervalDidStart intervalDidEnd eventDidReachThreshold None of these logs or notifications ever appear, which suggests the extension is never invoked (or cannot schedule
0
0
65
4d
TKTokenDriverConfiguration becomes permanently unusable after ctkd process restart
Background We're building a macOS application that acts as a CryptoTokenKit software token. The architecture follows the documented pattern: a container app (a long-running agent process) manages token registration and identity updates via TKTokenDriverConfiguration, and a separate appex extension process handles the actual signing operations for client sessions. What we're doing At agent startup, the container app calls [TKTokenDriverConfiguration driverConfigurations] to obtain our token driver, then registers a token instance ID: NSDictionary *driverConfigurations = [TKTokenDriverConfiguration driverConfigurations]; TKTokenDriverConfiguration driver = / first value from driverConfigurations */; [driver addTokenConfigurationForTokenInstanceID:@setoken]; When the agent renews a certificate, it pushes updated TKTokenKeychainItem objects to ctkd by setting keychainItems on the TKTokenConfiguration: TKTokenConfiguration *tokenCfg = driver.tokenConfigurations[@setoken]; tokenCfg.keychainItems = updatedI
3
0
224
4d
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: After extensive investigation I have identified what appears to be the root cause of the 401 Invalid Bearer Token error on my Intel Mac, and I want to share the findings in case they help others reporting similar issues on M1 and M4 machines. WHAT I FOUND (Intel Mac - x86_64): The Claude Agent binary that Xcode downloads is the darwin-arm64 build regardless of host architecture. On my Intel Mac this binary physically cannot execute, which fails silently and surfaces as a 401 error. Confirmed via terminal: file ~/Library/Developer/Xcode/CodingAssistant/Agents/claude/2.1.14/claude Returns: Mach-O 64-bit executable arm64 — wrong for Intel Mac The IDEChatClaudeCodeVersion preference is hardcoded to the ARM64 download URL: defaults read com.apple.dt.Xcode IDEChatClaudeCodeVersion Returns: darwin-arm64 URL regardless of CPU architecture We also confirmed the darwin-x64 binary exists in Anthropic's distribution bucket and runs correctly on Intel — both in the terminal and as a standalone binary: cur
4d
MapKit in SwiftUI
Anyone worked with MapKit's MapCameraPosition in SwiftUI? I'm building a navigation app and ran into a limitation I can't find a clean solution for when using .userLocation(followsHeading: true) MapKit takes full control of the camera, smooth heading tracking, follows the user automatically. Perfect. But there's no way to set a custom pitch (tilt) on it. The only initializer available is... .userLocation(followsHeading: true, fallback: .automatic) No pitch, no distance parameters.... The workaround I found is setting .camera(MapCamera(..., pitch: 60)) first, waiting 200ms, then switching to .userLocation(followsHeading: true), MapKit inherits the pitch from the rendered camera state before handing off to user tracking.... It works, but it's clearly exploiting an undocumented behaviour in MapKit's state machine rather than a proper API Has anyone found a cleaner way to achieve this? Or is UIViewRepresentable wrapping MKMapView the only proper solution? It would be awesome to have something like this c
1
0
117
4d
Unable to Control Optical Zoom via USB (UVC) in Custom Swift App, While Prebuilt App Works
I’m currently working on a macOS application to control a USB camera’s optical zoom via a direct USB connection. My situation: I am using a USB camera that supports optical zoom. I downloaded an open-source project, CameraController. The prebuilt binary provided on GitHub works perfectly, and I can successfully control the camera’s optical zoom. However, when I build and run the same project from source in Xcode, the zoom control UI appears disabled (grayed out). The project compiles without errors. Additionally, I attempted to implement zoom control myself using the UVC protocol in Swift . However, it seems that the zoom control commands are not successfully sent or recognized by the camera. Questions: Why would the prebuilt app work, but the same source code built locally results in disabled zoom controls? Are there known limitations on sending zoom control requests via USB on macOS? Is there a recommended modern approach for controlling optical zoom programmatically via Swift? Any insights, debugg
Replies
1
Boosts
0
Views
21
Activity
3d
Reply to iOS 26.3.0 TextToSpeech EXC_BAD_ACCESS
We see this issue in iOS 26.3 as well, but it can reproduce almost every time if we build the app with Xcode 26.4 and run the app on an iOS 26.3 device. Also sent: FB22305926 with the crash log.
Replies
Boosts
Views
Activity
4d
Reply to iPad Pro Wi-Fi ping spikes with Bluetooth (iPadOS 26
DevForums is primarily focused on APIs, so if you’re building an app that’s affected by this, or a Bluetooth accessory, please let me know. If not, my advice is that you seek help from Apple Support, either directly or on Apple Support Community. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
4d
Reply to TN3134 clarification: DNS Proxy Provider unusable without MDM on iOS?
[quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is it possible to distribute a DNS proxy provider for use on non-MDM / non-supervised devices? [/quote] No. The table in the DNS proxy section of TN3134 lists two options for iOS: app extension | 11.0 | supervised devices only | 16.0 | per-app on managed devices If you exclude those two options then you have… well… zero options. [quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is [this] strictly enforced at distribution/runtime? [/quote] Yes. It’s a privacy policy that’s strictly enforced at runtime [quote='820849021, AndriiSulimenko, /thread/820849, /profile/AndriiSulimenko'] Is a packet tunnel provider the only viable alternative for App Store distribution? [/quote] There are two parts to this question: Do packet tunnel providers work on general user devices? Are there a viable alternative to a DNS proxy. The answer to the first is “Yes.” TN3134 makes that clear. The answer to the second is “No.” TN3
Replies
Boosts
Views
Activity
4d
Reply to Migrating to the UIKit scene-based life cycle
Thank you for your response, Richard. I have a follow-up question to clarify the exact trigger for the launch failure. Could you tell us which of the following scenarios actually causes the app to fail to launch? Built with Xcode 26 (iOS 26 SDK), run on an iOS 27 device — Does the app fail to launch simply because the device is running iOS 27, even though it was built with the older(=26) SDK? Built with Xcode 27 (iOS 27 SDK), run on any OS version including iOS 27 — Does the failure occur across all OS versions, including iOS 27(All OS versions(iOS15 or higher) supported by my app), as long as the app was compiled with the iOS 27 SDK without adopting the scene-based life cycle? Both of the above — Does the failure apply in either case? Understanding whether this is enforced at the OS level (runtime) or at the SDK/build level (compile time) is critical for planning our migration and release timeline. Thank you.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
4d
My app fails to launch since I have changed of iPhone (from iPhone13 pro to iPhone 17 pro)
Since I have changed of iPhone (yesterday) to run my draft application, I systematically, and instantaneously get a message The application failed to launch., i.e. the application successfully built and was downloaded to the new iPhone (Iphone 17 pro - iOS 26.4). I have checked that this new iPhone is well registered on my list of authorized devices. Could you help me to fix this issue ? Here is the verbose attached to the failure: The application failed to launch. Domain: com.apple.dt.CoreDeviceError Code: 10002 User Info: { BundleIdentifier = com.laurent-guise.ble-laser; DVTErrorCreationDateKey = 2026-03-30 07:59:46 +0000; IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker; } The request to open com.laurent-guise.ble-laser failed. Domain: FBSOpenApplicationServiceErrorDomain Code: 1 Failure Reason: The request was denied by service delegate (SBMainWorkspace). User Info: { BSErrorCodeDescription = RequestDenied; FBSOpenApplicationRequestID = 0x3868; } The operation couldn’t be completed. The process fa
Replies
1
Boosts
0
Views
41
Activity
4d
Reply to UI Glitch in Toolbar Menu Picker After Migrating to Xcode 26
However, This UI glitch We have noticed not only on Toolbar but wherever we are using dropdown(Menu+Picker) throughout the app. It created different shapes while disappearing such as circle and capsule. In iOS 26.0 it shows capsule and iOS26.2.1 it shows circle like UI while disappearing. Is this existing issue in XCode/iOS26, If yes, When we can expect the fix from Apple?
Replies
Boosts
Views
Activity
4d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thanks for the update. Just to clarify: Starting from April we must use Xcode 26.X to upload apps to the App Store (using older Xcode versions will fail). In addition, Xcode 26.X deployment target is iOS 15+. So, no option to release apps targeted to older iOS versions? If this is the case, why this isn't blocked during the Xcode build process? or even during the App Store processing? Also, what about the apps we already published a week ago with target deployment 12.0?
Replies
Boosts
Views
Activity
4d
Reply to On macOS Settings window navigation bar item is in the center
Thank you for filing the feedback, @newwbee. We responded to your feedback privately a while ago, but I want to include the response here, too, for anyone else that might have the same question and stumbles upon this. SwiftUI’s Settings scene is designed to help you build a first-class Mac settings experience that follows Apple’s Human Interface Guidelines at https://developer.apple.com/design/human-interface-guidelines/settings#macOS Toolbars within Settings scenes use a style appropriate for a typical macOS settings window, which displays centered tabs to group related settings. (Please refer to Settings windows in apps like Safari and Mail as an example.) People also typically expect macOS application settings to be applied as soon as the setting is changed, without the need for a “Save” button. To create a bespoke settings experience for your app, you can use a regular Window scene, which uses a default toolbar style that you’d be familiar with in an application’s main and document windows. You w
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
4d
60 hours 'waiting for review' for TestFlight build
We submitted our test flight build Thursday night, it's been over 60 hours. Does anyone have any suggestions on how to expedite this? I contacted support by going through Distribution -> TestFlight although it might be seen as a generic testflight question. The expedited app review route seems like it's only for AppStore.
Replies
0
Boosts
0
Views
118
Activity
4d
Reply to Your development team has reached the maximum number of registered iPhone devices.
I just renewed my paid developer account today and I'm still getting this issue. I'm hoping I can build and test on my current iPhone but I'm stuck because I get this error message. Some assistance will definitely be helpful
Topic: Code Signing SubTopic: General
Replies
Boosts
Views
Activity
4d
DeviceActivityMonitor intervalDidEnd not firing for non-repeating timed unlock
I’m building an iOS app that uses FamilyControls + ManagedSettings + DeviceActivity. Goal: temporarily “unlock” a shielded app for N minutes, then automatically re-apply the shield when the timer expires. What I do: In the main app, when user picks an expiry (e.g. 15 min, 30 min). I start a non-repeating DeviceActivity schedule and remove the app’s ApplicationToken from ManagedSettingsStore().shield.applications. I also store activeUnlockBundleID etc. in an App Group so the DeviceActivityMonitor extension can re-lock at the end. Expected: DeviceActivityMonitor.intervalDidEnd(for:) is invoked when the non-repeating interval ends, and I re-add the token to the shield set. Actual: The app does not re-lock when the interval expires. I added OS logs as well as “debug local notifications” from the DeviceActivityMonitor extension in: init() intervalDidStart intervalDidEnd eventDidReachThreshold None of these logs or notifications ever appear, which suggests the extension is never invoked (or cannot schedule
Replies
0
Boosts
0
Views
65
Activity
4d
TKTokenDriverConfiguration becomes permanently unusable after ctkd process restart
Background We're building a macOS application that acts as a CryptoTokenKit software token. The architecture follows the documented pattern: a container app (a long-running agent process) manages token registration and identity updates via TKTokenDriverConfiguration, and a separate appex extension process handles the actual signing operations for client sessions. What we're doing At agent startup, the container app calls [TKTokenDriverConfiguration driverConfigurations] to obtain our token driver, then registers a token instance ID: NSDictionary *driverConfigurations = [TKTokenDriverConfiguration driverConfigurations]; TKTokenDriverConfiguration driver = / first value from driverConfigurations */; [driver addTokenConfigurationForTokenInstanceID:@setoken]; When the agent renews a certificate, it pushes updated TKTokenKeychainItem objects to ctkd by setting keychainItems on the TKTokenConfiguration: TKTokenConfiguration *tokenCfg = driver.tokenConfigurations[@setoken]; tokenCfg.keychainItems = updatedI
Replies
3
Boosts
0
Views
224
Activity
4d
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: After extensive investigation I have identified what appears to be the root cause of the 401 Invalid Bearer Token error on my Intel Mac, and I want to share the findings in case they help others reporting similar issues on M1 and M4 machines. WHAT I FOUND (Intel Mac - x86_64): The Claude Agent binary that Xcode downloads is the darwin-arm64 build regardless of host architecture. On my Intel Mac this binary physically cannot execute, which fails silently and surfaces as a 401 error. Confirmed via terminal: file ~/Library/Developer/Xcode/CodingAssistant/Agents/claude/2.1.14/claude Returns: Mach-O 64-bit executable arm64 — wrong for Intel Mac The IDEChatClaudeCodeVersion preference is hardcoded to the ARM64 download URL: defaults read com.apple.dt.Xcode IDEChatClaudeCodeVersion Returns: darwin-arm64 URL regardless of CPU architecture We also confirmed the darwin-x64 binary exists in Anthropic's distribution bucket and runs correctly on Intel — both in the terminal and as a standalone binary: cur
Replies
Boosts
Views
Activity
4d
MapKit in SwiftUI
Anyone worked with MapKit's MapCameraPosition in SwiftUI? I'm building a navigation app and ran into a limitation I can't find a clean solution for when using .userLocation(followsHeading: true) MapKit takes full control of the camera, smooth heading tracking, follows the user automatically. Perfect. But there's no way to set a custom pitch (tilt) on it. The only initializer available is... .userLocation(followsHeading: true, fallback: .automatic) No pitch, no distance parameters.... The workaround I found is setting .camera(MapCamera(..., pitch: 60)) first, waiting 200ms, then switching to .userLocation(followsHeading: true), MapKit inherits the pitch from the rendered camera state before handing off to user tracking.... It works, but it's clearly exploiting an undocumented behaviour in MapKit's state machine rather than a proper API Has anyone found a cleaner way to achieve this? Or is UIViewRepresentable wrapping MKMapView the only proper solution? It would be awesome to have something like this c
Replies
1
Boosts
0
Views
117
Activity
4d