Search results for

xcode github

94,043 results found

Post

Replies

Boosts

Views

Activity

Reply to `xcresulttool merge` broken on Xcode 26.1+
Thanks for those bug reports. Using them I was able to track down the lead bug for this (r. 162628085). AFAICT this isn’t fixed in any shipping or seeded version of Xcode, up to and including the current Xcode 26.2b2 (17C5038g). However, as always, I encourage you to re-test with new seeds as they’re released. In the meantime, it’s possible that you might be able to work around this crash by pass absolute paths, rather than relative paths, to xcresulttool. Please try this and lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’25
Reply to memory leak in dlopen / dlcose, or user error?
I tried this here in my office and didn’t see any leaks or unbounded memory growth. Here’s what I did: Using Xcode 26.1 on macOS 15.7.1 [1], I created a new project from the macOS > Command Line Tool template. I then added a dynamic library target to that. I populated them with the code shown at the end of this post. I build both targets using Xcode. I then ran the tool from Terminal: % ./Test806035 will run will open and close, iteration: 0 did close and close … will open and close, iteration: 999 did close and close did run, press return to loop, pid: 47371 In other Terminal window, I rans leaks against the process. It showed no leaks. I ran heap against the process: % heap Test806035 … COUNT BYTES AVG CLASS_NAME TYPE BINARY ===== ===== === ========== ==== ====== 134 4288 32.0 Class.data (class_rw_t) C libobjc.A.dylib 27 11360 420.7 non-object 5 512 102.4 xpc_string_t (Storage) C libxpc.dylib 5 256 51.2 xpc_dictionary_t (Storage) C libxpc.dylib 5 240 48.0 xpc_string_t ObjC libxpc.dylib
Nov ’25
Reply to Age Range API - Sandbox Testing Available
DTS Engineer Apple Use isEligibleForAgeFeatures to determine whether a person using your app is in an applicable region ... Hi, thank you for information. Could you please share where isEligibleForAgeFeatures is placed in - there is no such property in AgeRangeService.shared in Xcode 26.2.0-Beta. Google doesn't know anything at all about it. Thank you.
Topic: App & System Services SubTopic: General Tags:
Nov ’25
Reply to Unknown error occured while sign in into xcode using apple id
This works if you’re using a macOS 15 (or later) guest on a macOS 15 (or later) host [1]. It won’t work for a macOS 14 guest, regardless of the host. In Virtualization Resources you’ll find a bunch of links to resources related to virtualisation for developers, including links to: The Apple Support article that describes the limitations of Apple Account support in the guest. A forums thread that talks about the same. And another forums thread about getting Xcode working in the guest. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] To be clear, the guest must have been created on a macOS 15 host. It won’t work if you: Create the guest on a macOS 14 host and then move it a macOS 15 host Or create the guest on a macOS 14 host and then upgrade your host to macOS 15
Topic: Code Signing SubTopic: General Tags:
Nov ’25
Reply to Check whether app is built in debug or release mode
[quote='807924021, SoumyaMahunt, /thread/807924, /profile/SoumyaMahunt'] Is this approach reliable? [/quote] No. You can disable preview support using a build settings, even in the Debug build configuration. Indeed, that’s something I do all the time. Lemme confirm I understand your requirements: You’re working on a framework. You want to create an XCFramemwork from that. And give that XCFramework to other developers. And then inside that framework you want to check whether the host app was built with the Debug build configuration. Is that right? If so, to what end? And are you sure that you want to check the build configuration? A lot of the time it’s not the build configuration that matters, it’s the way that the app was signed. Or the way that’s it’s run (from Xcode or like a user would). And those questions have different answers. Is this iOS? Or macOS? Or both? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Nov ’25
XCode StoreKit helper application failure - Purchase Fails with NSCocoaErrorDomain Code=4099 and ASDErrorDomain Code=5115
XCode version = 26 && macOS version = 26 Running the app from XCode (not in release mode) I want to implement in app purchases for my macOS application, for that i want to first test it locally through StoreKit config file. Steps i have done uptill now: Added the capability in target-> Signing & Capabilities -> In_App Purchase(while adding this i had got the popup: Make changes to In-App Purchase by changing all configurations - i have no idea about it, Researched on it - didnt got something) Added the storekit config file -> added Group for autorenewable subscription -> reference name & product ID (i have used same Bundle ID and product ID, also i have used different both but still the same issue in both case) - also added it to scheme Added the storeManager implementation that is: import StoreKit class IAPManager { // Shared instance (optional singleton pattern) static let shared = IAPManager() private init() { } // Array to store fetched products var products:
0
0
38
Nov ’25
Screen Time shield not hiding after “Access App” custom button on Shield on TestFlight (works in local debug)
Hi, I am building an iOS app that uses FamilyControls / ManagedSettings to restrict apps. Flow of my app: In my main app, the user chooses which apps to restrict using FamilyActivityPicker (for example, they select Instagram). I save the selection in an App Group. I then use ManagedSettingsStore in the main app to add those app tokens into store.shield.applications, so a Screen Time shield appears when the user opens Instagram. In my ShieldConfigurationExtension, I show a shield UI with a primary button called “Access App”. In my ShieldActionExtension, when the user taps “Access App”, I want to immediately hide the shield and allow Instagram. To hide the shield, I am using this code in my ShieldActionExtension: final class ShieldActionExtension: ShieldActionDelegate { // ... override func handle( action: ShieldAction, for application: ApplicationToken, completionHandler: @escaping (ShieldActionResponse) -> Void ) { switch action { case .primaryButtonPressed: handlePrimaryButton(for: application, completion
1
0
562
Nov ’25
OTP AutoFill Fails to Distribute Code Across Multiple UITextFields on iOS 26.x
Issue Summary: On iOS 26.0.1 to 26.3, apps using multiple UITextFields for OTP input face a critical issue where the system autofill pastes the entire OTP string into a single text field, usually the focused one, rather than splitting digits across fields. Delegate events like textDidChange: do not trigger consistently on autofill, breaking existing input handling logic. Expected Behavior: OTP autofill should distribute each digit correctly across all OTP UITextFields. Delegate or control events should fire on autofill to enable manual handling. (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string { if (string.length > 1) { // Autofill detected - distribute OTP manually for (int i = 0; i < string.length && i < self.arrayOTPText.count; i++) { UITextField *field = self.arrayOTPText[i]; field.text = [NSString stringWithFormat:@%c, [string characterAtIndex:i]]; } UITextField *lastField = self.arrayOTPText[string.length - 1]; [l
0
0
80
Nov ’25
When xcode is tried again, it always fails to install the app
When xcode is installed on a mobile phone, the first run always fails. The second run usually works normally.The certificate signatures have been checked and all are normal。This problem will also occur if you stop the running xcode and then run it again。please help me. Mac mini:Apple M2 Pro mas os 15.2 (24C101) Xcode: Version 16.2 (16C5032a) The first failed print is as follows: 无法安装“xxx” Domain: IXUserPresentableErrorDomain Code: 14 Recovery Suggestion: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.uRA3Gt/extracted/Payload/xxx.app : 0xe8008001 (An unknown error has occurred.) User Info: { DVTErrorCreationDateKey = 2025-11-20 02:50:17 +0000; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; } Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { NSURL = file:///Users/shenchunxing/Library/Developer/Xcode/DerivedData/VideoGo-dwhfrhswidapcydbmfuamplrtvso/Build/Prod
1
0
109
Nov ’25
OTP AutoFill Not Working Properly on iOS 26.x in Multi-TextField OTP Input Scenarios
We have encountered a consistent problem with OTP (One Time Password) autofill on iOS versions 26.0.1 through 26.3. The issue pertains to apps implementing OTP input using multiple UITextFields (often 6 or 7 separate text boxes for each digit). Problem Details: When tapping the OTP autofill suggestion from Messages or supported third-party apps, iOS autofill pastes the entire OTP string into just one UITextField (commonly the second or focused field) rather than distributing digits across the individual text fields. The delegated UITextField methods such as textField:shouldChangeCharactersInRange:replacementString: receive an entire OTP string at once, but the usual event handlers like UIControlEventEditingChanged do not always trigger, breaking existing logic relying on those. This results in the OTP input UI showing incorrect or partial OTP, confusing users and forcing manual re-entry. Many popular apps employing multi-field OTP input UIs face similar autofill malfunctions on iOS 26.x, impacting us
1
0
129
Nov ’25
Xcode Cloud, Bitbucket
Hello, While setting up Xcode Cloud using Bitbucket, I encountered an issue with Source Control and providing access to the repository. The problem most likely stems from the fact that Bitbucket has updated its policy, and the use of app passwords is no longer available (at least for new ones). However, in Xcode → Settings → Source Control, the login flow still requires an app password, which makes it impossible to authenticate using the new API tokens. Attempting to authenticate via SSH also does not resolve the issue. After connecting to GitHub, I also tried to connect through the web version, but I'm getting the same message: Bitbucket Cloud installation was incomplete. I received this same message when I first tried to connect through Xcode. This problem does not occur when connecting to GitHub. I would appreciate receiving feedback from the Apple team on this issue. System Info: Xcode: 16.2 (latest from App Store) macOS: Sequoia 15.1
1
0
138
Nov ’25