Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Does Xcode / Swift Package Manager support custom Git authentication flows for private package distribution?
Hi, We are evaluating Swift Package Manager for distributing private packages to external customers. Our use case requires enterprise-grade authentication beyond standard username/password, personal access token, or SSH key based authentication. Our current authentication model relies on request signing / IAM-based authorization rather than standard Git credentials. From what we can tell, Swift Package Manager does not appear to expose a built-in mechanism for custom authentication hooks during package resolution. Because of that, we started exploring whether a Git-based workaround might be possible, such as: using a custom Git URL scheme handling that scheme through a Git remote helper using a Git credential helper or related Git configuration for authentication We tried a proof of concept along these lines, but Xcode did not seem to recognize or resolve the package correctly. We are trying to understand what is officially supported and what is not. Our questions are: Does Xcode / Swift Pac
0
0
127
3w
autologin required inconsistent for virtualization
Hi, I have two issues going on: Creation of macOS VMs requires autologin is enabled: Mon Apr 13 11:27:18 20 anka.log (ankahv) 511: pid 511: installing /Users/veertu/Library/Application Support/Veertu/Anka/img_lib/UniversalMac_15.6.1_24G90_Restore.ipsw... Mon Apr 13 11:27:20 40 anka.log (install) 511: (null): installation failed: Error Domain=VZErrorDomain Code=10007 The virtual machine failed to start. UserInfo={NSLocalizedFailure=An error occurred during installation., NSLocalizedFailureReason=The virtual machine failed to start., NSUnderlyingError=0xca2c0ced0 {Error Domain=VZErrorDomain Code=-9 The virtual machine encountered a security error. UserInfo={NSLocalizedFailure=Unable to access security information., NSLocalizedFailureReason=The virtual machine encountered a security error., NSUnderlyingError=0xca3029320 {Error Domain=NSPOSIXErrorDomain Code=22 Invalid argument UserInfo={NSLocalizedFailureReason=Failed to get current host key., NSUnderlyingError=0xca30292f0 {Error Domai
12
0
277
3w
Reply to Where to see logs from my application
Thanks for the post, the logs with print will go to your Xcode console while you are debugging. All those are meant to find the issue before releasing the app. After release you cannot retrieve logs written via print or debugPrint from a distributed app after the fact for privacy. In Swift, print and debugPrint output directly to standard output (stdout). While this shows up in Xcode when the debugger is attached. Since you mentioned the app failed with a traceback, the operating system likely generated a Crash Report. You can ask the user to retrieve this specific crash log. If you want to be able to retrieve logs from users in the future, I would switch to Unified Logging System or a file-based logger and you can ask trusted users to provide you with the sysdiagnose that will contain those logs as Logger API writes to the system's unified logging facility, which persisted to disk and can be retrieved with user’s permission. Hope this helps. Inviting other developers for their ideas an sugg
Topic: App & System Services SubTopic: General Tags:
3w
macOS DNS Proxy system extension makes device stop processing MDM commands until reboot
Hi, I see an interaction issue between a DNS Proxy system extension and MDM on macOS: after some time the device stops processing MDM commands until reboot, while DNS filtering continues to work. Environment: macOS: 15.x / 26.x (reproduced on multiple minor versions) App: /Applications/MyMacProxy.app System extension: NEDNSProxyProvider as system extension Bundle id: com.company.agent.MyMacProxy.dnsProxy Deployment: MDM (SimpleMDM) DNS proxy config via com.apple.dnsProxy.managed Devices: supervised Macs Steps to reproduce: Enrol Mac into MDM. Install MyMacProxy app + DNS proxy system extension via pkg and apply com.apple.dnsProxy.managed profile. DNS proxy starts, DNS is filtered correctly, user network works normally. After some hours, try to manage the device from MDM: push a new configuration profile, remove an existing profile, or install / remove an app. 5.MDM server shows commands as pending / not completed. On the Mac, DNS is still filtered via our DNS proxy, and general network acces
1
0
150
3w
I requested "DirverKit UserClient Access" Entitlement, But I Distribute App failed.
I requested DirverKit UserClient Access Entitlement, But I Distribute App failed. I don't know the reason. I think when I request DirverKit UserClient Access I make a mistake. I fill in two Bundle ids in the Request a System Extension or DriverKit Entitlement form's UserClient Bundle IDs item. The reason is when I Add DirverKit UserClient Access Capability in the project of Xcode. The .entitlements file is like this: com.turing.TuringTouch com.turing.TuringTouch.TouchDriver But in Signing of Xcode's Bundle Identifier can fill in only on Identifier therefore they do not match. So I can't Distribute App. I reapply DirverKit UserClient Access Entitlement. But decline. The result is decline. Please help me. Please tell me, how should can I do now? Thank you very much.
1
0
173
3w
Xcode 26.4 Debug Schema is not building.
Hello People, I am using Xcode 26.4 macOS 26.4. We have got the Contactless Pass Entitlements from Apple. But when i am trying to build my application it is throwing error in Debug Schema but the same is working for Release Schema . I am attaching the supporting image for reference. Can anyone please help me with this ?
0
0
140
3w
Does using HIDVirtualDevice rule out Mac App Store distribution?
Hi, I’m looking for clarification from folks familiar with CoreHID rather than App Review, as the guys there have not responded to my post (https://developer.apple.com/forums/thread/820676) We have a sandboxed macOS app that creates a virtual HID device (HIDVirtualDevice) as described in Creating virtual devices https://developer.apple.com/documentation/corehid/creatingvirtualdevices To work at all, the app requires the entitlement: com.apple.developer.hid.virtual.device With this entitlement present, macOS shows the system prompt requesting Accessibility permission App would like to control this computer using accessibility features. Grant access to this application in Security and Privacy preferences located in System Preferences. when HIDVirtualDevice(properties:) is called. There is no mention of Accessibility in the HIDVirtualDevice documentation, but the behavior is reproducible and seems unavoidable. My question is therefore: Is creating a virtual HID device from userspace via HIDVirtualDevice consider
6
0
251
3w
Flutter iOS Project: WidgetKit Extension Not Embedding / Build Cycle Error
Hi, I need your opinion about an issue we faced while trying to implement an iOS widget in our Flutter app. Here is what we did and the problems we encountered: We created a Widget Extension (SwiftUI + WidgetKit) inside the existing Flutter iOS project. The widget files were generated correctly (Widget.swift, WidgetBundle.swift, Info.plist, etc.). However, during the integration, we faced multiple issues: Build Cycle Error We repeatedly got: “Cycle inside Runner; building could produce unreliable results” This was related to embedding the widget extension into the Runner target. Embed Problems Sometimes Xcode did not automatically create the “Embed App Extensions” phase. When we added it manually → build cycle errors appeared. When we removed it → the widget was not embedded at all (no PlugIns folder in Runner.app). Duplicate / Conflicting Embed The extension appeared both in: “Embed Foundation Extensions” “Frameworks, Libraries, and Embedded Content” Removing one often broke the build or removed the
0
0
165
3w
How do I identify where my bugs come from
I'm working on an app, and currently, 2 things dont work: account creation and notifications. I want to find the root of why these errors are occurring, and I want to know if these errors are coming from Firebase, certain settings in Xcode not being checked, or my actual written code not being typed correctly. I've tried to run my issue through ChatGPT many times to pretty much no success, so any help on what to do so I can clear certain areas and make sure the bugs aren't from certain spots, and help me narrow down the issue would be great. Otherwise, if there are other guides or threads I can be linked to, and help me fully break down the issue, that would be great. Thank you for your time reading, and I hope I can get some advice.
0
0
133
3w
Does Xcode / Swift Package Manager support custom Git authentication flows for private package distribution?
Hi, We are evaluating Swift Package Manager for distributing private packages to external customers. Our use case requires enterprise-grade authentication beyond standard username/password, personal access token, or SSH key based authentication. Our current authentication model relies on request signing / IAM-based authorization rather than standard Git credentials. From what we can tell, Swift Package Manager does not appear to expose a built-in mechanism for custom authentication hooks during package resolution. Because of that, we started exploring whether a Git-based workaround might be possible, such as: using a custom Git URL scheme handling that scheme through a Git remote helper using a Git credential helper or related Git configuration for authentication We tried a proof of concept along these lines, but Xcode did not seem to recognize or resolve the package correctly. We are trying to understand what is officially supported and what is not. Our questions are: Does Xcode / Swift Pac
Replies
0
Boosts
0
Views
127
Activity
3w
autologin required inconsistent for virtualization
Hi, I have two issues going on: Creation of macOS VMs requires autologin is enabled: Mon Apr 13 11:27:18 20 anka.log (ankahv) 511: pid 511: installing /Users/veertu/Library/Application Support/Veertu/Anka/img_lib/UniversalMac_15.6.1_24G90_Restore.ipsw... Mon Apr 13 11:27:20 40 anka.log (install) 511: (null): installation failed: Error Domain=VZErrorDomain Code=10007 The virtual machine failed to start. UserInfo={NSLocalizedFailure=An error occurred during installation., NSLocalizedFailureReason=The virtual machine failed to start., NSUnderlyingError=0xca2c0ced0 {Error Domain=VZErrorDomain Code=-9 The virtual machine encountered a security error. UserInfo={NSLocalizedFailure=Unable to access security information., NSLocalizedFailureReason=The virtual machine encountered a security error., NSUnderlyingError=0xca3029320 {Error Domain=NSPOSIXErrorDomain Code=22 Invalid argument UserInfo={NSLocalizedFailureReason=Failed to get current host key., NSUnderlyingError=0xca30292f0 {Error Domai
Replies
12
Boosts
0
Views
277
Activity
3w
Reply to Where to see logs from my application
Thanks for the post, the logs with print will go to your Xcode console while you are debugging. All those are meant to find the issue before releasing the app. After release you cannot retrieve logs written via print or debugPrint from a distributed app after the fact for privacy. In Swift, print and debugPrint output directly to standard output (stdout). While this shows up in Xcode when the debugger is attached. Since you mentioned the app failed with a traceback, the operating system likely generated a Crash Report. You can ask the user to retrieve this specific crash log. If you want to be able to retrieve logs from users in the future, I would switch to Unified Logging System or a file-based logger and you can ask trusted users to provide you with the sysdiagnose that will contain those logs as Logger API writes to the system's unified logging facility, which persisted to disk and can be retrieved with user’s permission. Hope this helps. Inviting other developers for their ideas an sugg
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to Game Center Access Point does not appear on iOS 26 (Simulator)
Seeing the same thing in XCode 26.4 when trying to view leaderboard Could not create endpoint for service name: com.apple.GameOverlayUI.dashboard-service Failed to create GameOverlayUI Dashboard Remote Proxy This is happening for iPad or iPhone simulation running 26.4. Same code worked fine simulating under XCode 16
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
3w
macOS DNS Proxy system extension makes device stop processing MDM commands until reboot
Hi, I see an interaction issue between a DNS Proxy system extension and MDM on macOS: after some time the device stops processing MDM commands until reboot, while DNS filtering continues to work. Environment: macOS: 15.x / 26.x (reproduced on multiple minor versions) App: /Applications/MyMacProxy.app System extension: NEDNSProxyProvider as system extension Bundle id: com.company.agent.MyMacProxy.dnsProxy Deployment: MDM (SimpleMDM) DNS proxy config via com.apple.dnsProxy.managed Devices: supervised Macs Steps to reproduce: Enrol Mac into MDM. Install MyMacProxy app + DNS proxy system extension via pkg and apply com.apple.dnsProxy.managed profile. DNS proxy starts, DNS is filtered correctly, user network works normally. After some hours, try to manage the device from MDM: push a new configuration profile, remove an existing profile, or install / remove an app. 5.MDM server shows commands as pending / not completed. On the Mac, DNS is still filtered via our DNS proxy, and general network acces
Replies
1
Boosts
0
Views
150
Activity
3w
Reply to Xcode 26 beta 3: StoreKit Testing broken
I'm unable to test or make purchases on simulators when using Xcode 26.4 :( I can see this in console: : Error in remote proxy while checking server queue: Error Domain=SKInternalErrorDomain Code=12 (null)
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
3w
Reply to Can’t paste into Simulator after updating to Xcode 26.4
This is a terrible bug. I’m not surprised at all, though, since Xcode itself has always been a terrible application. Doesn’t Apple have any competent Xcode developers?
Replies
Boosts
Views
Activity
3w
I requested "DirverKit UserClient Access" Entitlement, But I Distribute App failed.
I requested DirverKit UserClient Access Entitlement, But I Distribute App failed. I don't know the reason. I think when I request DirverKit UserClient Access I make a mistake. I fill in two Bundle ids in the Request a System Extension or DriverKit Entitlement form's UserClient Bundle IDs item. The reason is when I Add DirverKit UserClient Access Capability in the project of Xcode. The .entitlements file is like this: com.turing.TuringTouch com.turing.TuringTouch.TouchDriver But in Signing of Xcode's Bundle Identifier can fill in only on Identifier therefore they do not match. So I can't Distribute App. I reapply DirverKit UserClient Access Entitlement. But decline. The result is decline. Please help me. Please tell me, how should can I do now? Thank you very much.
Replies
1
Boosts
0
Views
173
Activity
3w
Xcode 26.4 Debug Schema is not building.
Hello People, I am using Xcode 26.4 macOS 26.4. We have got the Contactless Pass Entitlements from Apple. But when i am trying to build my application it is throwing error in Debug Schema but the same is working for Release Schema . I am attaching the supporting image for reference. Can anyone please help me with this ?
Replies
0
Boosts
0
Views
140
Activity
3w
Does using HIDVirtualDevice rule out Mac App Store distribution?
Hi, I’m looking for clarification from folks familiar with CoreHID rather than App Review, as the guys there have not responded to my post (https://developer.apple.com/forums/thread/820676) We have a sandboxed macOS app that creates a virtual HID device (HIDVirtualDevice) as described in Creating virtual devices https://developer.apple.com/documentation/corehid/creatingvirtualdevices To work at all, the app requires the entitlement: com.apple.developer.hid.virtual.device With this entitlement present, macOS shows the system prompt requesting Accessibility permission App would like to control this computer using accessibility features. Grant access to this application in Security and Privacy preferences located in System Preferences. when HIDVirtualDevice(properties:) is called. There is no mention of Accessibility in the HIDVirtualDevice documentation, but the behavior is reproducible and seems unavoidable. My question is therefore: Is creating a virtual HID device from userspace via HIDVirtualDevice consider
Replies
6
Boosts
0
Views
251
Activity
3w
Reply to Provisioning profiles marked "Ineligible" for Contactless Pass Provisioning even though entitlement is present in profile
We are also experiencing the same issue in 3 devices using xcode 26.3
Replies
Boosts
Views
Activity
3w
Flutter iOS Project: WidgetKit Extension Not Embedding / Build Cycle Error
Hi, I need your opinion about an issue we faced while trying to implement an iOS widget in our Flutter app. Here is what we did and the problems we encountered: We created a Widget Extension (SwiftUI + WidgetKit) inside the existing Flutter iOS project. The widget files were generated correctly (Widget.swift, WidgetBundle.swift, Info.plist, etc.). However, during the integration, we faced multiple issues: Build Cycle Error We repeatedly got: “Cycle inside Runner; building could produce unreliable results” This was related to embedding the widget extension into the Runner target. Embed Problems Sometimes Xcode did not automatically create the “Embed App Extensions” phase. When we added it manually → build cycle errors appeared. When we removed it → the widget was not embedded at all (no PlugIns folder in Runner.app). Duplicate / Conflicting Embed The extension appeared both in: “Embed Foundation Extensions” “Frameworks, Libraries, and Embedded Content” Removing one often broke the build or removed the
Replies
0
Boosts
0
Views
165
Activity
3w
Keyboard greyed issue
I am facing weird keyboard issue when building the app with Xcode 26 recently. Actual behaviour I need is: But one below is the issue as the keyboard keys are greyed out: Please tell how to resolve this issue
Replies
4
Boosts
0
Views
260
Activity
3w
How do I identify where my bugs come from
I'm working on an app, and currently, 2 things dont work: account creation and notifications. I want to find the root of why these errors are occurring, and I want to know if these errors are coming from Firebase, certain settings in Xcode not being checked, or my actual written code not being typed correctly. I've tried to run my issue through ChatGPT many times to pretty much no success, so any help on what to do so I can clear certain areas and make sure the bugs aren't from certain spots, and help me narrow down the issue would be great. Otherwise, if there are other guides or threads I can be linked to, and help me fully break down the issue, that would be great. Thank you for your time reading, and I hope I can get some advice.
Replies
0
Boosts
0
Views
133
Activity
3w
Reply to Apple Watch Missing Developer Mode Option
In case anyone else has the issue with the Apple Watch not showing, I went through everything above but finally saw in Xcode...settings...apple account that I had to log into to the apple portal to accept the new terms. Once I did that it seemed to work.
Replies
Boosts
Views
Activity
3w