Search results for

“xcode github”

95,427 results found

Post

Replies

Boosts

Views

Activity

AlarmKit sometimes creates a blank (empty) Live Activity
Hi! My users have reported (and I have observed) a blank Live Activity where only a black capsule is shown in the dynamic island. When tapping that capsule, the app opens, but inside the capsule, nothing is shown. The Live Activity is created through the AlarmKit API like this: let identifier = UUID() Task { do { _ = try await AlarmManager.shared.schedule( id: identifier, configuration: .init( countdownDuration: countdownDuration, attributes: attributes, stopIntent: CancelTimerIntent(), secondaryIntent: RestartTimerIntent(), sound: Settings.shared.systemAlarmToneEnabled ? .default : .named(Settings.shared.alarmTone[.loop].filename) ) ) Log.debug(Alarm scheduled successfully: (identifier.uuidString)) } catch { Log.error(Error scheduling alarm with id (identifier.uuidString), error: (error)) } } I've read some other forum posts where developers reported the same issue: https://developer.apple.com/forums/thread/807335 https://developer.apple.com/forums/thread/812006 I assume, it has something to do with state ma
1
0
92
3w
App group broken on Sequoia
We've got an in-house Swift macOS desktop app with a FileProvider extension, which has been working fine on various machines up through Sonoma (and still does). We've just installed it on a Sequoia machine, and on it the FileProvider extension has lost the ability to access the shared app group. It can neither log to the Group Containers folder under ~/Library, nor access the pipe to the main app. The group name is formatted as group.XXXXXXXXXX.com.orgname.appname in both targets. I'm not sure why it combines the iOS and macOS conventions, with both the group prefix and the teamIdentifier one -- it was first built some time before the point in 2025 when macOS supported iOS-style groups -- but again, it's been working. For the record, The provisioning profile for EMPFileProvider has the App Groups capability enabled, and the App Groups capability is present in both build targets in Xcode. The existing group identifier is registered on the website; I've also manually registered the team-ID-less group n
8
0
295
3w
TestFlight glitch
An app build is uploaded using Xcode 26.3 RC and fully validated/provisioned/processed at AppStoreConnect that shows build is Complete/Ready to Test Export compliance has been done Internal testers have been added to internal testing group Internal testers have accepted invite App is visible with all details in Test Flight on testers' iPhones (running 26.3 final) Internal testers tap App but Install button NEVER appears and testers get request for code to redeem app but invitation email does NOT include redeem code Testers cannot download and install app What is going on with TestFlight Apple?
0
0
51
3w
Reply to Calling a Objc method directly from C
Calling Objective-C directly from C is certainly possible and can simplify your codebase by eliminating intermediate layers. Additionally, using Grand Central Dispatch (GCD) to manage thread safety and dispatch tasks to Objective-C contexts is a sound approach. Below, I'll outline how you can achieve this, maintaining thread safety and leveraging GCD effectively. Direct Objective-C Function Call from C Assuming you have an Objective-C method you want to call directly from C, you can use the Objective-C runtime functions to achieve this. Here's a step-by-step guide: Objective-C Method Declaration First, ensure your Objective-C method is declared properly. For example: @interface Renderer : NSObject (void)mtlEnd; @end C Function to Call Objective-C Method You can define a C function that uses the Objective-C runtime to call the mtlEnd method: #include void mtlEnd(MTRenderContext mt_ctx) { // Retrieve the class of the render context Class rendererClass = mt_ctx->mt_render_funcs.mtlObj.isa; // Get the selecto
Topic: Programming Languages SubTopic: General Tags:
3w
Reply to A blank keyboard appear in safari view controller
Encountering a blank keyboard in a SafariViewController on iPadOS 26+ can be frustrating, especially for enterprise applications. Here are some potential causes and solutions to help you diagnose and fix the issue: Potential Causes Compatibility Issues with iPadOS 26+: Recent changes in iPadOS might affect how SafariViewController handles keyboard presentation, particularly for enterprise apps. View Controller Presentation Style: The way the SafariViewController is presented might interfere with its ability to properly display the keyboard. Conflicting Settings or Permissions: Enterprise settings or restrictions might inadvertently affect keyboard functionality within web views. Web Content or JavaScript Issues: Specific content or scripts on the webpage might interfere with keyboard initialization or rendering. Safe Area Insets or Layout Issues: Incorrect handling of safe area insets or layout constraints might cause the keyboard to appear blank or off-screen. Solutions and Workarounds Ensure Proper Presenta
Topic: Safari & Web SubTopic: General Tags:
3w
Xcode 26.3 - Revert to variable editor tab width
Hi, In Xcode 26.2, editor tabs adapt their width to the number of pinned tabs: In Xcode 26.3, editor tabs have a minimal width, after which the row of tabs becomes horizontally scrollable: Notice how less tabs are visible at a time on Xcode 26.3 (second image). Yet, there is enough horizontal space to accommodate more, as shown on Xcode 26.2 (first image). This is a UX regression. How can I revert back to 26.2 tab sizing behavior? Thank you.
1
0
70
3w
Reply to Driver Activation failure error code 9. Maybe Entitlements? Please help
Kevin, First, I wanted to apologize for not replying for a full month, as well as thank you very much for your reply. I was pulled away from this project for a couple weeks, and when I got back I was still spinning my wheels getting the driver installed. I only today found my issue, which wasn't something you could have helped with since I hadn't thought to include the correct context in my original comment. I only found the issue after careful log monitoring in the Console app during the install process as my main installer app was running. It turns out that my bundle ID was too long. It was 67 characters and, apparently the maximum is 63. Seems like an arbitrarily short max in this day and age, and you'd think both XCode and the Developer Portal would catch that, but that's what it was. When I redid my bundle IDs more succinctly (and all my permissions on the Apple Developer Portal), I was able to successfully install/register/enable the driver. I have granted it permission in System Settings, it s
Topic: App & System Services SubTopic: Drivers Tags:
3w
Xcode 26 – Organizer does not show “App Store Connect” for watchOS standalone app (only Release Testing available)
Hello, I am trying to upload a watchOS standalone app to App Store Connect using Xcode 26.3, but Organizer does not show the “App Store Connect” upload option. It only displays: • Release Testing (Ad Hoc) • Enterprise • Debugging Project setup • Target type: watchOS App (standalone, not companion) • PRODUCT_TYPE = com.apple.product-type.application • PRODUCT_BUNDLE_PACKAGE_TYPE = APPL • WRAPPER_EXTENSION = app • SUPPORTED_PLATFORMS = watchos watchsimulator • Archive configuration: Release • Base SDK: watchOS The app does not depend on iOS. Bundle ID Originally: com.example.app.watchkitapp Recreated as: com.example.app HealthKit capability enabled in: • Developer Portal • Xcode (Signing & Capabilities) Signing • Apple Distribution certificate active • App Store provisioning profile created • Manual signing configured for Release (Apple Distribution + App Store profile) • Also tested Automatic signing • Deleted old Ad Hoc profiles • Cleared Derived Data and regenerated archive App Store Co
1
0
62
3w
Different team ID's on my certs
I've seen a few posts about this online and it seems that Xcode generates random team ID's with it's automatic signing system. But I haven't seen any way to make this work properly. If I log into the dev portal and look at my account, in the upper right I can see my team ID. If I manually generate a cert, I get a totally different one. Question: How can I generate a cert with my proper team ID (my paid account) where the ID's on my certs, identifiers and profiles all match? I've never had this issue before and am unsure how to solve it.
1
0
147
3w
Xcode Cloud: CI.SCM.Error.RepositoryNotFound with GitHub Organization (401 Unauthorized)
I am unable to connect Xcode Cloud to my GitHub organization repository despite being the organization owner. Error: CI.SCM.Error.RepositoryNotFound Xcode Version: 16.2 (or your version) Steps I have taken: Verified I am an Owner of the GitHub organization Uninstalled and reinstalled Xcode Cloud GitHub App multiple times Cleared all local Xcode caches and preferences Signed out of Apple ID on Mac and restarted Signed back in to Xcode only (not system level) Tried granting access again Attempted with multiple organization owner accounts Following API shows: 401 Unauthorized on https://appstoreconnect.apple.com/olympus/v1/providerSwitchRequests Additional context: GitHub App shows as successfully installed on organization Repository access set to All repositories Has anyone else encountered this or found a workaround? Thank you!
2
0
113
3w
Grant Access - Register GitLab Application - 504 Client Timeout
Dear Xcode cloud support. on 30.1.2026 Xcode cloud was not able to connect to our git server. so I deleted the repository from app store connect Xcode cloud settings and deleted the Xcode cloud in app store connect for all our apps. I started to create Xcode cloud workflow from Xcode and when I want to Grant Access - Register GitLab Application - to our git repository I get and error : 504 Client Timeout. If you are using a firewall, it must be configured to accept incoming connections. git is behind VPN but the IP address ranges 17.58.0.0/18, 17.58.192.0/18, and 57.103.0.0/22 are white labeled and before 30.1.2026 it was working. I contacted the gitlab administrators and they acknowledged that during Register GitLab Application they see no traffic (in gltlab and proxy server) from xcode cloud. I tried Register GitLab Application multiple times until now with same error. It is not app specific because this error happens for all our apps. Thanks a
4
0
128
3w
AlarmKit sometimes creates a blank (empty) Live Activity
Hi! My users have reported (and I have observed) a blank Live Activity where only a black capsule is shown in the dynamic island. When tapping that capsule, the app opens, but inside the capsule, nothing is shown. The Live Activity is created through the AlarmKit API like this: let identifier = UUID() Task { do { _ = try await AlarmManager.shared.schedule( id: identifier, configuration: .init( countdownDuration: countdownDuration, attributes: attributes, stopIntent: CancelTimerIntent(), secondaryIntent: RestartTimerIntent(), sound: Settings.shared.systemAlarmToneEnabled ? .default : .named(Settings.shared.alarmTone[.loop].filename) ) ) Log.debug(Alarm scheduled successfully: (identifier.uuidString)) } catch { Log.error(Error scheduling alarm with id (identifier.uuidString), error: (error)) } } I've read some other forum posts where developers reported the same issue: https://developer.apple.com/forums/thread/807335 https://developer.apple.com/forums/thread/812006 I assume, it has something to do with state ma
Replies
1
Boosts
0
Views
92
Activity
3w
Reply to The APP was not awakened after start a liveactivity
when the liveactivity has showed on lock screen. Your App has launched by system,you can use Xcode to step into Debug->Attach to Process->Your Process.
Replies
Boosts
Views
Activity
3w
App group broken on Sequoia
We've got an in-house Swift macOS desktop app with a FileProvider extension, which has been working fine on various machines up through Sonoma (and still does). We've just installed it on a Sequoia machine, and on it the FileProvider extension has lost the ability to access the shared app group. It can neither log to the Group Containers folder under ~/Library, nor access the pipe to the main app. The group name is formatted as group.XXXXXXXXXX.com.orgname.appname in both targets. I'm not sure why it combines the iOS and macOS conventions, with both the group prefix and the teamIdentifier one -- it was first built some time before the point in 2025 when macOS supported iOS-style groups -- but again, it's been working. For the record, The provisioning profile for EMPFileProvider has the App Groups capability enabled, and the App Groups capability is present in both build targets in Xcode. The existing group identifier is registered on the website; I've also manually registered the team-ID-less group n
Replies
8
Boosts
0
Views
295
Activity
3w
TestFlight glitch
An app build is uploaded using Xcode 26.3 RC and fully validated/provisioned/processed at AppStoreConnect that shows build is Complete/Ready to Test Export compliance has been done Internal testers have been added to internal testing group Internal testers have accepted invite App is visible with all details in Test Flight on testers' iPhones (running 26.3 final) Internal testers tap App but Install button NEVER appears and testers get request for code to redeem app but invitation email does NOT include redeem code Testers cannot download and install app What is going on with TestFlight Apple?
Replies
0
Boosts
0
Views
51
Activity
3w
Reply to Calling a Objc method directly from C
Calling Objective-C directly from C is certainly possible and can simplify your codebase by eliminating intermediate layers. Additionally, using Grand Central Dispatch (GCD) to manage thread safety and dispatch tasks to Objective-C contexts is a sound approach. Below, I'll outline how you can achieve this, maintaining thread safety and leveraging GCD effectively. Direct Objective-C Function Call from C Assuming you have an Objective-C method you want to call directly from C, you can use the Objective-C runtime functions to achieve this. Here's a step-by-step guide: Objective-C Method Declaration First, ensure your Objective-C method is declared properly. For example: @interface Renderer : NSObject (void)mtlEnd; @end C Function to Call Objective-C Method You can define a C function that uses the Objective-C runtime to call the mtlEnd method: #include void mtlEnd(MTRenderContext mt_ctx) { // Retrieve the class of the render context Class rendererClass = mt_ctx->mt_render_funcs.mtlObj.isa; // Get the selecto
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to A blank keyboard appear in safari view controller
Encountering a blank keyboard in a SafariViewController on iPadOS 26+ can be frustrating, especially for enterprise applications. Here are some potential causes and solutions to help you diagnose and fix the issue: Potential Causes Compatibility Issues with iPadOS 26+: Recent changes in iPadOS might affect how SafariViewController handles keyboard presentation, particularly for enterprise apps. View Controller Presentation Style: The way the SafariViewController is presented might interfere with its ability to properly display the keyboard. Conflicting Settings or Permissions: Enterprise settings or restrictions might inadvertently affect keyboard functionality within web views. Web Content or JavaScript Issues: Specific content or scripts on the webpage might interfere with keyboard initialization or rendering. Safe Area Insets or Layout Issues: Incorrect handling of safe area insets or layout constraints might cause the keyboard to appear blank or off-screen. Solutions and Workarounds Ensure Proper Presenta
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Xcode 26.3 - Revert to variable editor tab width
Hi, In Xcode 26.2, editor tabs adapt their width to the number of pinned tabs: In Xcode 26.3, editor tabs have a minimal width, after which the row of tabs becomes horizontally scrollable: Notice how less tabs are visible at a time on Xcode 26.3 (second image). Yet, there is enough horizontal space to accommodate more, as shown on Xcode 26.2 (first image). This is a UX regression. How can I revert back to 26.2 tab sizing behavior? Thank you.
Replies
1
Boosts
0
Views
70
Activity
3w
Reply to Can't get USBSerialDriverKit driver loaded
Ok so for some reason the provisioning profile includes the usb entitlement for vendorID= and I thought because I requested for a specific vendor id that I only get that. So after putting into the vendor id field in my usb entitlement in Xcode they now match and it works. Strange....
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Driver Activation failure error code 9. Maybe Entitlements? Please help
Kevin, First, I wanted to apologize for not replying for a full month, as well as thank you very much for your reply. I was pulled away from this project for a couple weeks, and when I got back I was still spinning my wheels getting the driver installed. I only today found my issue, which wasn't something you could have helped with since I hadn't thought to include the correct context in my original comment. I only found the issue after careful log monitoring in the Console app during the install process as my main installer app was running. It turns out that my bundle ID was too long. It was 67 characters and, apparently the maximum is 63. Seems like an arbitrarily short max in this day and age, and you'd think both XCode and the Developer Portal would catch that, but that's what it was. When I redid my bundle IDs more succinctly (and all my permissions on the Apple Developer Portal), I was able to successfully install/register/enable the driver. I have granted it permission in System Settings, it s
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Can't get USBSerialDriverKit driver loaded
Found the solution it seems to be missing CFBundle... keys even though Xcode auto generated parts of it and then it thought its a no code dext. Next problem it has an included embedded provisioning profile but the console shows its missing the entitlement that is included in the embedded provisioning profile...
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
3w
Xcode 26 – Organizer does not show “App Store Connect” for watchOS standalone app (only Release Testing available)
Hello, I am trying to upload a watchOS standalone app to App Store Connect using Xcode 26.3, but Organizer does not show the “App Store Connect” upload option. It only displays: • Release Testing (Ad Hoc) • Enterprise • Debugging Project setup • Target type: watchOS App (standalone, not companion) • PRODUCT_TYPE = com.apple.product-type.application • PRODUCT_BUNDLE_PACKAGE_TYPE = APPL • WRAPPER_EXTENSION = app • SUPPORTED_PLATFORMS = watchos watchsimulator • Archive configuration: Release • Base SDK: watchOS The app does not depend on iOS. Bundle ID Originally: com.example.app.watchkitapp Recreated as: com.example.app HealthKit capability enabled in: • Developer Portal • Xcode (Signing & Capabilities) Signing • Apple Distribution certificate active • App Store provisioning profile created • Manual signing configured for Release (Apple Distribution + App Store profile) • Also tested Automatic signing • Deleted old Ad Hoc profiles • Cleared Derived Data and regenerated archive App Store Co
Replies
1
Boosts
0
Views
62
Activity
3w
Reply to In Simulator on status bar red banner with rdar:45025538
@Elmar0903 I would recommend you to reinstall the latest Xcode Version to make sure downloads the latest simulators. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3w
Different team ID's on my certs
I've seen a few posts about this online and it seems that Xcode generates random team ID's with it's automatic signing system. But I haven't seen any way to make this work properly. If I log into the dev portal and look at my account, in the upper right I can see my team ID. If I manually generate a cert, I get a totally different one. Question: How can I generate a cert with my proper team ID (my paid account) where the ID's on my certs, identifiers and profiles all match? I've never had this issue before and am unsure how to solve it.
Replies
1
Boosts
0
Views
147
Activity
3w
Xcode Cloud: CI.SCM.Error.RepositoryNotFound with GitHub Organization (401 Unauthorized)
I am unable to connect Xcode Cloud to my GitHub organization repository despite being the organization owner. Error: CI.SCM.Error.RepositoryNotFound Xcode Version: 16.2 (or your version) Steps I have taken: Verified I am an Owner of the GitHub organization Uninstalled and reinstalled Xcode Cloud GitHub App multiple times Cleared all local Xcode caches and preferences Signed out of Apple ID on Mac and restarted Signed back in to Xcode only (not system level) Tried granting access again Attempted with multiple organization owner accounts Following API shows: 401 Unauthorized on https://appstoreconnect.apple.com/olympus/v1/providerSwitchRequests Additional context: GitHub App shows as successfully installed on organization Repository access set to All repositories Has anyone else encountered this or found a workaround? Thank you!
Replies
2
Boosts
0
Views
113
Activity
3w
Grant Access - Register GitLab Application - 504 Client Timeout
Dear Xcode cloud support. on 30.1.2026 Xcode cloud was not able to connect to our git server. so I deleted the repository from app store connect Xcode cloud settings and deleted the Xcode cloud in app store connect for all our apps. I started to create Xcode cloud workflow from Xcode and when I want to Grant Access - Register GitLab Application - to our git repository I get and error : 504 Client Timeout. If you are using a firewall, it must be configured to accept incoming connections. git is behind VPN but the IP address ranges 17.58.0.0/18, 17.58.192.0/18, and 57.103.0.0/22 are white labeled and before 30.1.2026 it was working. I contacted the gitlab administrators and they acknowledged that during Register GitLab Application they see no traffic (in gltlab and proxy server) from xcode cloud. I tried Register GitLab Application multiple times until now with same error. It is not app specific because this error happens for all our apps. Thanks a
Replies
4
Boosts
0
Views
128
Activity
3w