Search results for

“xcode github”

95,458 results found

Post

Replies

Boosts

Views

Activity

Reply to Is Changing IOS version in package.swift file manually accepted?
[quote='876364022, Yashya, /thread/815698?answerId=876364022#876364022, /profile/Yashya'] Yes it's in Xcode playground [/quote] OK. This came up last year and the general consensus is that it’s fine to make this change in order to avoid all the availability ceremony. Note The reason I asked about whether you’re using Xcode is that Swift Playground still doesn’t support the iOS 26 SDK )-: See this post. I’d appreciate you filing a bug requesting that Xcode’s Swift playground support add a deployment target option. This limitation is an ongoing source of confusion for Swift Student Challenge participants )-: 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
Feb ’26
Prevention of ScreenShot and ScreenRecording in an iOS app
In my app i need to restrict the user to take screenshot or screen recording . i used the following code snippet, let field = UITextField() let view = UIView(frame: CGRect(x: 0, y: 0, width: field.frame.self.width, height: field.frame.self.height)) // Following view can be customised if required let newView = UIView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)) newView.backgroundColor = .black field.isSecureTextEntry = true window.addSubview(field) view.addSubview(newView) window.layer.superlayer?.addSublayer(field.layer) //field.layer.sublayers?.last!.addSublayer(window.layer) if let lastSublayer = field.layer.sublayers?.last { lastSublayer.addSublayer(window.layer) } field.leftView = view field.leftViewMode = .always My query is will below lines meet the Apple compliance? will ther be any rejection while publishing to Appstore? window.layer.superlayer?.addSublayer(field.layer) field.layer.sublayers?.last!.addSublayer(window.laye
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
113
Feb ’26
Reply to Enhanced Security Capability < iOS 26
I want to highlight a couple of points in the releases notes for the software that we seeded yesterday: Xcode 26.4 Beta Release Notes documents new entitlements that allow your app to deploy back to pre-xyzOS 26 systems (search for 168185600 to find the info). iOS & iPadOS 26.4 Beta Release Notes document that hard mode is now an option (search for 160719439). I haven’t had a chance to play with this yet, but I encourage you to take it for a spin and lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Feb ’26
Reply to Hardware Memory Tag (MIE) enforcement outside of debugger
I want to highlight a couple of points in the releases notes for stuff that we seeded yesterday: Xcode 26.4 Beta Release Notes documents new entitlements that allow your app to deploy back to pre-xyzOS 26 systems (search for 168185600 to find the info). iOS & iPadOS 26.4 Beta Release Notes document that hard mode is now an option (search for 160719439). I haven’t had a chance to play with this stuff yet, but I encourage you to take it for a spin and lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Feb ’26
Reply to NSPopupButton doesn't truncate - drawing outside its bounds
Hi @DTS Engineer Travis, Thanks for the quick reply. As I mentioned in my original message, I haven't been able to recreate this condition in a sample project. I'd love to have a private conversation and show the issue in more detail, but we're ineligible to file a DTS ticket due to it. As you can see from the example above, the setup in the test window is all very simple so there must be something else causing this not to work properly. I understand what you're saying about the layer clipping, however there's no code associated with that window. No subclassed controls, no modified layers, no swizzling that I can see. We shouldn't need to do anything to get the truncation to work. One additional data point I can give you is that, before the issue occurs, we have this: p ((NSPopUpButton *)0x13426484d00).bounds (NSRect) (origin = (x = 0, y = 0), size = (width = 300, height = 24)) p (NSRect)[((NSPopUpButton *)0x13426484d00).cell titleRectForBounds:((NSPopUpButton *)0x13426484d00).bounds] (NSRec
Topic: UI Frameworks SubTopic: AppKit
Feb ’26
Reply to What should be enabled for Enhanced Security?
A good place to start here is Enabling enhanced security for your app. The only one of these settings that actively reduces security is Enable Soft Mode for Memory Tagging. However, that currently has no effect because our shipping systems run all third-party apps is soft mode regardless of that setting. See this thread for more about that. Be aware that certain settings can cause problems with deploying to systems prior to xyzOS 26.0. We’ve fixed this in Xcode 26.4 beta. See the Xcode 26.4 Beta Release Notes for more (search for 168185600). But, generally, my general advice is that you enable all the extra stuff and then only disable something if it causes problems that you can’t otherwise resolve. Finally, there are a couple of upcoming Meet with Apple sessions focused on security, and those are a great opportunity to learn more about this. See here. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Feb ’26
When AI leads to lost prompts (26.3)
This was maddening: I had written a very long and detailed prompt, then went to select Codex from the drop down menu at the top start a new conversation, and it wiped out the entire prompt I was working on. Well, of course it did: that drop down is part of the Start a new Conversation icon button, but it's position is too far away from the actual icon to infer that is its purpose. It should be a popup that shows the current choice for model (GPT-5, GPT 4.1, Codex). ANOTHER lost prompt problem. If you have a prompt-in-progress (AI is maybe building some code), and Xcode crashes, it might not save that prompt for when you re-launch. And how might that happen? Well, there's still numerous ways using the coding assistanty might crash. One I've notice is if you switch out to another app, or if you invoke a screen capture, it might crash.
2
0
98
Feb ’26
Support for trailing accessory views in Tab (sidebarAdaptable TabView)
In iOS 18, TabView with .tabViewStyle(.sidebarAdaptable) introduced a powerful adaptive pattern — tabs in compact, sidebar in regular. However, the current Tab API only supports a title and an image (icon). There is no way to provide a trailing accessory view (e.g., a secondary icon or indicator) for sidebar rows. This is a meaningful gap in the API, because trailing accessories are a well-established pattern throughout UIKit and SwiftUI. Precedent in Apple's own design language Apple already supports trailing accessories in many analogous contexts: UITableViewCell / UICollectionViewListCell — support accessories (disclosure indicators, checkmarks, custom views) via UICellAccessory. UIListContentConfiguration — allows leading and trailing content in list rows. SwiftUI List rows — support Label, HStack with trailing elements, .badge(), and swipeActions. NavigationLink — automatically renders a disclosure chevron as a trailing accessory. UITabSidebarItem (UIKit, iOS 18) — supports configurationUpdateHandler and
2
0
135
Feb ’26
What iPadOS version do evaluation devices run when submitted via Swift Playgrounds?
I'm working on my Swift Student Challenge 2026 submission and have a question about the evaluation environment. My app targets iOS 26 (I had to configure this on the Package.swift file directly) and uses the Speech framework for on-device speech recognition. I've selected Swift Playgrounds as my evaluation path (rather than Xcode) with the intention of having it run on a physical iPad rather than Simulator. My question: What version of iPadOS will the evaluation iPads be running? The reason I ask is practical, as my app's minimum deployment target is iOS 26. If the evaluation device is running an earlier version of iPadOS, the app won't launch at all. I've searched the eligibility and terms pages but couldn't find this documented anywhere.
1
0
128
Feb ’26
Reply to Usage of External Packages for the challenge
Just want to add my two cents here. It is possible to import a Swift package locally, so there should be no need to rely on an internet connection. If you are using Xcode: Files > Add Package Dependencies... A window should appear and there should be a button on the bottom left that says Add Local. From there, you can import your package.
Feb ’26
Claude Code cannot create files in nested folders
Been playing with Claude Code in Xcode 26.3 as a code assistant and discovered it cannot create files in nested folders, only repo root. Letting Claude troubleshoot itself, it appears that str_replace_based_edit_tool strips forward slashes from the path variable. This is what Claude claims to send: create /repo/Test App/EntityTestsAttempt3.swift // ... file contents ... And the file that gets created is: Test AppEntityTestsAttempt3.swift Anyone else run into this before or can reproduce it?
2
0
148
Feb ’26
Reply to What is it so hard to develop on the Watch?
Do you have a feedback report yet? If not, would you mind to file one with a sysdiagnose captured in the way mentioned here, and then share your report ID? Folks reported pairing & connection issues between Xcode and Apple watch in this thread, and so most likely the Xcode team knows the issue. Filing your own feedback report will help the team to be sure that what you are encountering is the same issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: Community SubTopic: Apple Developers Tags:
Feb ’26
Reply to Xcode and Open With External Editor
I am perhaps a little to late to the party with a solution for this, however ... In Finder, find a file of the same type that you want to change the default file for. Right -click and Get Info Below the comments section is the 'Open with' section which will allow you to set the default application to open this one file or all files of this type across the whole of MacOS and not just Xcode. Again, sorry for the delay folks Also, see https://stackoverflow.com/questions/75463720/xcode-open-with-external-editor for further info.
Feb ’26
Reply to Is Changing IOS version in package.swift file manually accepted?
[quote='876364022, Yashya, /thread/815698?answerId=876364022#876364022, /profile/Yashya'] Yes it's in Xcode playground [/quote] OK. This came up last year and the general consensus is that it’s fine to make this change in order to avoid all the availability ceremony. Note The reason I asked about whether you’re using Xcode is that Swift Playground still doesn’t support the iOS 26 SDK )-: See this post. I’d appreciate you filing a bug requesting that Xcode’s Swift playground support add a deployment target option. This limitation is an ongoing source of confusion for Swift Student Challenge participants )-: 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
Replies
Boosts
Views
Activity
Feb ’26
Reply to SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
I'm also seeing this issue. A workaround seems to be to run: xcodebuild -resolvePackageDependencies from the command line, which Xcode then seems to pick up. No idea why it doesn't work in Xcode itself.
Replies
Boosts
Views
Activity
Feb ’26
Prevention of ScreenShot and ScreenRecording in an iOS app
In my app i need to restrict the user to take screenshot or screen recording . i used the following code snippet, let field = UITextField() let view = UIView(frame: CGRect(x: 0, y: 0, width: field.frame.self.width, height: field.frame.self.height)) // Following view can be customised if required let newView = UIView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)) newView.backgroundColor = .black field.isSecureTextEntry = true window.addSubview(field) view.addSubview(newView) window.layer.superlayer?.addSublayer(field.layer) //field.layer.sublayers?.last!.addSublayer(window.layer) if let lastSublayer = field.layer.sublayers?.last { lastSublayer.addSublayer(window.layer) } field.leftView = view field.leftViewMode = .always My query is will below lines meet the Apple compliance? will ther be any rejection while publishing to Appstore? window.layer.superlayer?.addSublayer(field.layer) field.layer.sublayers?.last!.addSublayer(window.laye
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
113
Activity
Feb ’26
Reply to Enhanced Security Capability < iOS 26
I want to highlight a couple of points in the releases notes for the software that we seeded yesterday: Xcode 26.4 Beta Release Notes documents new entitlements that allow your app to deploy back to pre-xyzOS 26 systems (search for 168185600 to find the info). iOS & iPadOS 26.4 Beta Release Notes document that hard mode is now an option (search for 160719439). I haven’t had a chance to play with this yet, but I encourage you to take it for a spin and lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Hardware Memory Tag (MIE) enforcement outside of debugger
I want to highlight a couple of points in the releases notes for stuff that we seeded yesterday: Xcode 26.4 Beta Release Notes documents new entitlements that allow your app to deploy back to pre-xyzOS 26 systems (search for 168185600 to find the info). iOS & iPadOS 26.4 Beta Release Notes document that hard mode is now an option (search for 160719439). I haven’t had a chance to play with this stuff yet, but I encourage you to take it for a spin and lemme know how you get along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to NSPopupButton doesn't truncate - drawing outside its bounds
Hi @DTS Engineer Travis, Thanks for the quick reply. As I mentioned in my original message, I haven't been able to recreate this condition in a sample project. I'd love to have a private conversation and show the issue in more detail, but we're ineligible to file a DTS ticket due to it. As you can see from the example above, the setup in the test window is all very simple so there must be something else causing this not to work properly. I understand what you're saying about the layer clipping, however there's no code associated with that window. No subclassed controls, no modified layers, no swizzling that I can see. We shouldn't need to do anything to get the truncation to work. One additional data point I can give you is that, before the issue occurs, we have this: p ((NSPopUpButton *)0x13426484d00).bounds (NSRect) (origin = (x = 0, y = 0), size = (width = 300, height = 24)) p (NSRect)[((NSPopUpButton *)0x13426484d00).cell titleRectForBounds:((NSPopUpButton *)0x13426484d00).bounds] (NSRec
Topic: UI Frameworks SubTopic: AppKit
Replies
Boosts
Views
Activity
Feb ’26
Reply to What should be enabled for Enhanced Security?
A good place to start here is Enabling enhanced security for your app. The only one of these settings that actively reduces security is Enable Soft Mode for Memory Tagging. However, that currently has no effect because our shipping systems run all third-party apps is soft mode regardless of that setting. See this thread for more about that. Be aware that certain settings can cause problems with deploying to systems prior to xyzOS 26.0. We’ve fixed this in Xcode 26.4 beta. See the Xcode 26.4 Beta Release Notes for more (search for 168185600). But, generally, my general advice is that you enable all the extra stuff and then only disable something if it causes problems that you can’t otherwise resolve. Finally, there are a couple of upcoming Meet with Apple sessions focused on security, and those are a great opportunity to learn more about this. See here. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
When AI leads to lost prompts (26.3)
This was maddening: I had written a very long and detailed prompt, then went to select Codex from the drop down menu at the top start a new conversation, and it wiped out the entire prompt I was working on. Well, of course it did: that drop down is part of the Start a new Conversation icon button, but it's position is too far away from the actual icon to infer that is its purpose. It should be a popup that shows the current choice for model (GPT-5, GPT 4.1, Codex). ANOTHER lost prompt problem. If you have a prompt-in-progress (AI is maybe building some code), and Xcode crashes, it might not save that prompt for when you re-launch. And how might that happen? Well, there's still numerous ways using the coding assistanty might crash. One I've notice is if you switch out to another app, or if you invoke a screen capture, it might crash.
Replies
2
Boosts
0
Views
98
Activity
Feb ’26
Support for trailing accessory views in Tab (sidebarAdaptable TabView)
In iOS 18, TabView with .tabViewStyle(.sidebarAdaptable) introduced a powerful adaptive pattern — tabs in compact, sidebar in regular. However, the current Tab API only supports a title and an image (icon). There is no way to provide a trailing accessory view (e.g., a secondary icon or indicator) for sidebar rows. This is a meaningful gap in the API, because trailing accessories are a well-established pattern throughout UIKit and SwiftUI. Precedent in Apple's own design language Apple already supports trailing accessories in many analogous contexts: UITableViewCell / UICollectionViewListCell — support accessories (disclosure indicators, checkmarks, custom views) via UICellAccessory. UIListContentConfiguration — allows leading and trailing content in list rows. SwiftUI List rows — support Label, HStack with trailing elements, .badge(), and swipeActions. NavigationLink — automatically renders a disclosure chevron as a trailing accessory. UITabSidebarItem (UIKit, iOS 18) — supports configurationUpdateHandler and
Replies
2
Boosts
0
Views
135
Activity
Feb ’26
What iPadOS version do evaluation devices run when submitted via Swift Playgrounds?
I'm working on my Swift Student Challenge 2026 submission and have a question about the evaluation environment. My app targets iOS 26 (I had to configure this on the Package.swift file directly) and uses the Speech framework for on-device speech recognition. I've selected Swift Playgrounds as my evaluation path (rather than Xcode) with the intention of having it run on a physical iPad rather than Simulator. My question: What version of iPadOS will the evaluation iPads be running? The reason I ask is practical, as my app's minimum deployment target is iOS 26. If the evaluation device is running an earlier version of iPadOS, the app won't launch at all. I've searched the eligibility and terms pages but couldn't find this documented anywhere.
Replies
1
Boosts
0
Views
128
Activity
Feb ’26
Reply to Usage of External Packages for the challenge
Just want to add my two cents here. It is possible to import a Swift package locally, so there should be no need to rely on an internet connection. If you are using Xcode: Files > Add Package Dependencies... A window should appear and there should be a button on the bottom left that says Add Local. From there, you can import your package.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Is Changing IOS version in package.swift file manually accepted?
@DTS Engineer Yes it's in Xcode playground and sorry I said it defaults to iOS 18 actually it defaults to iOS 16 so I changed it manually to iOS 26.
Replies
Boosts
Views
Activity
Feb ’26
Claude Code cannot create files in nested folders
Been playing with Claude Code in Xcode 26.3 as a code assistant and discovered it cannot create files in nested folders, only repo root. Letting Claude troubleshoot itself, it appears that str_replace_based_edit_tool strips forward slashes from the path variable. This is what Claude claims to send: create /repo/Test App/EntityTestsAttempt3.swift // ... file contents ... And the file that gets created is: Test AppEntityTestsAttempt3.swift Anyone else run into this before or can reproduce it?
Replies
2
Boosts
0
Views
148
Activity
Feb ’26
Reply to What is it so hard to develop on the Watch?
Do you have a feedback report yet? If not, would you mind to file one with a sysdiagnose captured in the way mentioned here, and then share your report ID? Folks reported pairing & connection issues between Xcode and Apple watch in this thread, and so most likely the Xcode team knows the issue. Filing your own feedback report will help the team to be sure that what you are encountering is the same issue. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Xcode and Open With External Editor
I am perhaps a little to late to the party with a solution for this, however ... In Finder, find a file of the same type that you want to change the default file for. Right -click and Get Info Below the comments section is the 'Open with' section which will allow you to set the default application to open this one file or all files of this type across the whole of MacOS and not just Xcode. Again, sorry for the delay folks Also, see https://stackoverflow.com/questions/75463720/xcode-open-with-external-editor for further info.
Replies
Boosts
Views
Activity
Feb ’26