Search results for

“xcode github”

95,453 results found

Post

Replies

Boosts

Views

Activity

Reply to Button in ToolbarItem is not completely tapable on iOS 26
Thank you for sharing the post and the partial code. I suggest posting the code starting from the Toolbar instead of providing only a ToolbarItem. Hope other SwiftUI gurus here can jump into this thread as my SwiftUI skills are not as good as others for sure!! Looking at your item it seems like you are setting the frame to 20x20? I think by default in SwiftUI only registers taps within the bounds of its content. Taps on the surrounding padding or button area are ignored. To ensure taps anywhere within the trigger the action, we can use a to expand the tappable area, see your frame? The modifier ensures that taps anywhere within the defined shape are recognized. // Removing the Toolbar too :-) ToolbarItem(placement: .navigationBarTrailing) { // guessing on toggleBookmark :-) Button(action: toggleBookmark) { ZStack { Circle() .foregroundColor(.clear) .frame(width: 54, height: 54) // Adjust size as needed Image(systemName: isBookmarked ? bookmark.fill : bookmark) .resizable() .aspectRatio(contentMode: .fit) .fra
Topic: UI Frameworks SubTopic: SwiftUI
Feb ’26
Reply to What should be enabled for Enhanced Security?
Thanks @DTS Engineer, I have already read that documentation. You advised that I should enable all the settings. However, I noticed that for Memory Tag Pure Data, the description states that “it may incur a performance overhead”. I am therefore inclined not to enable it. Regarding Enable Soft Mode for Memory Tagging, the description states that “memory tagging faults will not crash and will be logged instead”. I am inclined to leave this disabled, as I would prefer the application to crash so that I can receive a crash report and potentially fix the issue. I am not entirely sure what is meant by logging in this context, would this appear in the Xcode console when running in Debug mode? As you are knowledgeable about AppKit and Mac computers, may I ask if you would mind looking at my other post about StoreKit 2? I am at my wits’ end, as I would like to ship the Cocoa app using the API but cannot because it is not behaving as expected. I am tempted to submit a code-level support request for this.
Topic: Privacy & Security SubTopic: General Tags:
Feb ’26
Reply to Wanted: Live Activities, only on iOS (No remote iOS Live Activities)
Albert, thanks for the reply. Remote hosted Live Activities I believe is a iOS 26.x system feature → No developer adoption. My steps: Preparation: Make sure iPhone and Mac (and/or Watch) are signed in with the same AppleID New iOS Project New Widget target, using standard template (In the new target UI also check that you want the live activity) Build and run to a physical iPhone Notice Live Activity exists on iPhone, Mac and Apple Watch [Example: From macOS, iOS Live Activity appears] In this case, I haven't built for any other platforms at all. I believe this is a feature, but I'm attempting to understand what I need to do to make it stop showing up in places that don't make sense for this app. Just made a simple project using the Xcode templates provided, then start the live activity on app launch. https://github.com/ioloro/LiveActivityWillTravel Thanks, John Marc
Feb ’26
Perplexity's API Xcode integration
Hi, I'm a novice on Xcode and I have just created an API Key in order to use Perplexity as a model Provider in Xcode 26.4 (beta). The key is valid and, Perplexity support replies this: _The issue is that Xcode expects specific endpoint structures that don't fully match Perplexity's API. Xcode requires a /v1/models endpoint to list available models, which Perplexity doesn't currently provide in that format. Our API uses /chat/completions rather than /v1/chat/completions as well._ Is there a workaround to integrate it and get the benefits of new Intelligence features with Perplexity? Error code is Provider is not valid - Models could not be fetched with the provided account details Thanks for your help
1
0
154
Feb ’26
Reply to iOS mTLS Client Certificate Authentication Fails in TestFlight with Error -25303
[quote='876494022, ellinj, /thread/815390?answerId=876494022#876494022, /profile/ellinj'] Is there any Keychain support for non-X.509 certificate formats? [/quote] No. Or, more specifically, the keychain only supports X.509 for kSecClassCertificate items. That doesn’t stop you storing the raw data as kSecClassGenericPassword. As to what you should do, that depends on how you’re using the word “certificate”: Apple uses [1] certificate to refer to the signed wrapper around the public key. We then use digital identity to refer to the combination of a certificate and the private key that matches the public key in that certificate. See TN3161 Inside Code Signing: Certificates for more on this. However, it’s common for folks to use a single term, certificate, to refer to both the certificate and digital identity, with ‘hilarious’ confusion being the result. So, if you’re using certificate ‘correctly’ then the certificate contains just the public key and you can store it wherever you want
Feb ’26
Reply to Linker nondeterminism (ld_new) involving branch islands
[quote='876460022, jamie_sq, /thread/805609?answerId=876460022#876460022, /profile/jamie_sq'] If it's possible to provide positive confirmation [/quote] Yep. My reading of FB20884404 is that we identified the underlying issue and rolled that fix into Xcode 26.4b1. You should’ve also been notified of the fix in Feedback Assistant. [quote='876460022, jamie_sq, /thread/805609?answerId=876460022#876460022, /profile/jamie_sq'] thanks to whoever worked on this! [/quote] I’ll pass that along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
[Different DTS engineer here; I’m picking up this thread because it’s directly aligned with my area of expertise.] [quote='876554022, Tenjikato, /thread/815899?answerId=876554022#876554022, /profile/Tenjikato'] it does not appear in Xcode Organizer. [/quote] Right. The issue here is that you have a third-party crash reporter installed and it’s failing to preserve the Apple crash report. Let’s look at the backtrace in your first post: Crashed: com.apple.main-thread 0 KSCrash … ksmemory_notifyUnhandledFatalSignal + 12 1 KSCrash … handleSignal + 100 2 libsystem_platform.dylib … _sigtramp + 56 3 libsystem_kernel.dylib … mach_msg2_internal + 76 4 libsystem_kernel.dylib … mach_msg_overwrite + 428 5 libsystem_kernel.dylib … mach_msg + 24 6 CoreFoundation … __CFRunLoopServiceMachPort + 160 7 CoreFoundation … __CFRunLoopRun + 1188 8 CoreFoundation … _CFRunLoopRunSpecificWithOptions + 532 9 GraphicsServices … GSEventRunModal + 120 10 UIKitCore … -[UIApplication _run] + 792 Frames 10 through 3 are all standard
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
Thank you for your guidance! Unfortunately, we have been unable to reproduce the crash internally, and it does not appear in Xcode Organizer. All occurrences were reported from production devices, so we do not have access to the corresponding .ips files. However, we can provide the full stack trace from Firebase Crashlytics if that would be helpful. a79d64a106f9d569e54661f0c2e361fd_crash_session_140bafc49a6e4ef487d22d01806fc1b7_DNE_0_v2_stacktrace.txt a79d64a106f9d569e54661f0c2e361fd_crash_session_ea0e80b874de47bdb671e7b530afa446_DNE_0_v2_stacktrace.txt
Feb ’26
Reply to Unusually long “Waiting for Review” times this week (App Store + TestFlight delays?)
This was expected. Apple open the AI flood gates with those agent in XCode. Meaning repeating trash Apps are overpopulating the Store and in consequence, unjustified weeks long review times. This is a big🖕 to the Developer community, 🍏is siding with AI generators, which now PIRATE our code directly through agents. They should at least have the decency to remove the anual fee, but no.. too much greed involved🤑
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
Thanks for the post, my guess here is your process is called KSCrash? The crash file should be posted as an attachment to be able to analyze. Kindly submit a comprehensive crash report, adhering to the guidelines outlined in Posting a Crash Report. https://developer.apple.com/forums/thread/688669 As you said, the error typically indicates that your application is trying to access memory that has already been deallocated or is otherwise invalid. Although you mentioned using Address Sanitizer, double-check your configuration to ensure it's correctly enabled. Sometimes, specific project settings might prevent tools from working as expected. If you're using collections that hold objects, ensure they are not being modified. Use or breakpoints to trace object lifetimes and ensure they are being deallocated when expected. This can help pinpoint where the object is being released prematurely. If you're using third-party libraries, ensure they are up-to-date, as bugs in libraries can manifest similarly. However it see
Feb ’26
Reply to Usage of External Packages for the challenge
@DTS Engineer Yes, this is still possible, even with this constraint. If you intend on creating your .swiftpm project via Xcode, you can add local Swift packages. See the below image where I successfully build an Xcode App Playground project with a local package: However, this will not work if you use the Swift Playgrounds app, so users should be aware of this limitation: Also keep in mind that the package must only contain Swift code. If there is any non-Swift code, the project will refuse to build.
Feb ’26
Sign In Failed on Apple
When testing the same warning comes up (sign in failed network error) for the apple and demo sign in I created. The google one works fine. I am confused because when I test in Xcode on multiple devices it works perfect. The tester has got the same error repeatedly? Most recently as a fix have updated the production backend. Does anyone have any insight why the xcode testing works for me but not the tester (I understand they are on a live device- I have even connected my phone and tested on that).
0
0
67
Feb ’26
Do I need to request Packet Tunnel Provider entitlement from Apple to get my app working?
I'm debugging an app I'm building and everything I'm seeing suggests I need to put in a request to Apple to turn on NetworkExtension → Packet Tunnel Provider entitlement for our Team ID and bundle IDs. 1: Is this true? 2: Doesn't the option in xcode handle this?
Replies
4
Boosts
0
Views
127
Activity
Feb ’26
Reply to Button in ToolbarItem is not completely tapable on iOS 26
Thank you for sharing the post and the partial code. I suggest posting the code starting from the Toolbar instead of providing only a ToolbarItem. Hope other SwiftUI gurus here can jump into this thread as my SwiftUI skills are not as good as others for sure!! Looking at your item it seems like you are setting the frame to 20x20? I think by default in SwiftUI only registers taps within the bounds of its content. Taps on the surrounding padding or button area are ignored. To ensure taps anywhere within the trigger the action, we can use a to expand the tappable area, see your frame? The modifier ensures that taps anywhere within the defined shape are recognized. // Removing the Toolbar too :-) ToolbarItem(placement: .navigationBarTrailing) { // guessing on toggleBookmark :-) Button(action: toggleBookmark) { ZStack { Circle() .foregroundColor(.clear) .frame(width: 54, height: 54) // Adjust size as needed Image(systemName: isBookmarked ? bookmark.fill : bookmark) .resizable() .aspectRatio(contentMode: .fit) .fra
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Feb ’26
Reply to What should be enabled for Enhanced Security?
Thanks @DTS Engineer, I have already read that documentation. You advised that I should enable all the settings. However, I noticed that for Memory Tag Pure Data, the description states that “it may incur a performance overhead”. I am therefore inclined not to enable it. Regarding Enable Soft Mode for Memory Tagging, the description states that “memory tagging faults will not crash and will be logged instead”. I am inclined to leave this disabled, as I would prefer the application to crash so that I can receive a crash report and potentially fix the issue. I am not entirely sure what is meant by logging in this context, would this appear in the Xcode console when running in Debug mode? As you are knowledgeable about AppKit and Mac computers, may I ask if you would mind looking at my other post about StoreKit 2? I am at my wits’ end, as I would like to ship the Cocoa app using the API but cannot because it is not behaving as expected. I am tempted to submit a code-level support request for this.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Wanted: Live Activities, only on iOS (No remote iOS Live Activities)
Albert, thanks for the reply. Remote hosted Live Activities I believe is a iOS 26.x system feature → No developer adoption. My steps: Preparation: Make sure iPhone and Mac (and/or Watch) are signed in with the same AppleID New iOS Project New Widget target, using standard template (In the new target UI also check that you want the live activity) Build and run to a physical iPhone Notice Live Activity exists on iPhone, Mac and Apple Watch [Example: From macOS, iOS Live Activity appears] In this case, I haven't built for any other platforms at all. I believe this is a feature, but I'm attempting to understand what I need to do to make it stop showing up in places that don't make sense for this app. Just made a simple project using the Xcode templates provided, then start the live activity on app launch. https://github.com/ioloro/LiveActivityWillTravel Thanks, John Marc
Replies
Boosts
Views
Activity
Feb ’26
Perplexity's API Xcode integration
Hi, I'm a novice on Xcode and I have just created an API Key in order to use Perplexity as a model Provider in Xcode 26.4 (beta). The key is valid and, Perplexity support replies this: _The issue is that Xcode expects specific endpoint structures that don't fully match Perplexity's API. Xcode requires a /v1/models endpoint to list available models, which Perplexity doesn't currently provide in that format. Our API uses /chat/completions rather than /v1/chat/completions as well._ Is there a workaround to integrate it and get the benefits of new Intelligence features with Perplexity? Error code is Provider is not valid - Models could not be fetched with the provided account details Thanks for your help
Replies
1
Boosts
0
Views
154
Activity
Feb ’26
Reply to iOS mTLS Client Certificate Authentication Fails in TestFlight with Error -25303
[quote='876494022, ellinj, /thread/815390?answerId=876494022#876494022, /profile/ellinj'] Is there any Keychain support for non-X.509 certificate formats? [/quote] No. Or, more specifically, the keychain only supports X.509 for kSecClassCertificate items. That doesn’t stop you storing the raw data as kSecClassGenericPassword. As to what you should do, that depends on how you’re using the word “certificate”: Apple uses [1] certificate to refer to the signed wrapper around the public key. We then use digital identity to refer to the combination of a certificate and the private key that matches the public key in that certificate. See TN3161 Inside Code Signing: Certificates for more on this. However, it’s common for folks to use a single term, certificate, to refer to both the certificate and digital identity, with ‘hilarious’ confusion being the result. So, if you’re using certificate ‘correctly’ then the certificate contains just the public key and you can store it wherever you want
Replies
Boosts
Views
Activity
Feb ’26
Reply to Linker nondeterminism (ld_new) involving branch islands
[quote='876460022, jamie_sq, /thread/805609?answerId=876460022#876460022, /profile/jamie_sq'] If it's possible to provide positive confirmation [/quote] Yep. My reading of FB20884404 is that we identified the underlying issue and rolled that fix into Xcode 26.4b1. You should’ve also been notified of the fix in Feedback Assistant. [quote='876460022, jamie_sq, /thread/805609?answerId=876460022#876460022, /profile/jamie_sq'] thanks to whoever worked on this! [/quote] I’ll pass that along. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Feb ’26
Reply to Run destination for my Xcode submission
You can find your answer on the submission form. You select your runtime environment using a popup, and below that popup is this text: Xcode app playgrounds are run in Simulator. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
[Different DTS engineer here; I’m picking up this thread because it’s directly aligned with my area of expertise.] [quote='876554022, Tenjikato, /thread/815899?answerId=876554022#876554022, /profile/Tenjikato'] it does not appear in Xcode Organizer. [/quote] Right. The issue here is that you have a third-party crash reporter installed and it’s failing to preserve the Apple crash report. Let’s look at the backtrace in your first post: Crashed: com.apple.main-thread 0 KSCrash … ksmemory_notifyUnhandledFatalSignal + 12 1 KSCrash … handleSignal + 100 2 libsystem_platform.dylib … _sigtramp + 56 3 libsystem_kernel.dylib … mach_msg2_internal + 76 4 libsystem_kernel.dylib … mach_msg_overwrite + 428 5 libsystem_kernel.dylib … mach_msg + 24 6 CoreFoundation … __CFRunLoopServiceMachPort + 160 7 CoreFoundation … __CFRunLoopRun + 1188 8 CoreFoundation … _CFRunLoopRunSpecificWithOptions + 532 9 GraphicsServices … GSEventRunModal + 120 10 UIKitCore … -[UIApplication _run] + 792 Frames 10 through 3 are all standard
Replies
Boosts
Views
Activity
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
Thank you for your guidance! Unfortunately, we have been unable to reproduce the crash internally, and it does not appear in Xcode Organizer. All occurrences were reported from production devices, so we do not have access to the corresponding .ips files. However, we can provide the full stack trace from Firebase Crashlytics if that would be helpful. a79d64a106f9d569e54661f0c2e361fd_crash_session_140bafc49a6e4ef487d22d01806fc1b7_DNE_0_v2_stacktrace.txt a79d64a106f9d569e54661f0c2e361fd_crash_session_ea0e80b874de47bdb671e7b530afa446_DNE_0_v2_stacktrace.txt
Replies
Boosts
Views
Activity
Feb ’26
Reply to SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
quit Xcode in the terminal go into your .xcodeproj, then .xcworkspace, then xcshareddata delete the Package.resolved from the swiftpm folder reopen your project in Xcode. packages should properly update now
Replies
Boosts
Views
Activity
Feb ’26
Reply to Unusually long “Waiting for Review” times this week (App Store + TestFlight delays?)
This was expected. Apple open the AI flood gates with those agent in XCode. Meaning repeating trash Apps are overpopulating the Store and in consequence, unjustified weeks long review times. This is a big🖕 to the Developer community, 🍏is siding with AI generators, which now PIRATE our code directly through agents. They should at least have the decency to remove the anual fee, but no.. too much greed involved🤑
Replies
Boosts
Views
Activity
Feb ’26
Reply to EXC_BAD_ACCESS issue need advice
Thanks for the post, my guess here is your process is called KSCrash? The crash file should be posted as an attachment to be able to analyze. Kindly submit a comprehensive crash report, adhering to the guidelines outlined in Posting a Crash Report. https://developer.apple.com/forums/thread/688669 As you said, the error typically indicates that your application is trying to access memory that has already been deallocated or is otherwise invalid. Although you mentioned using Address Sanitizer, double-check your configuration to ensure it's correctly enabled. Sometimes, specific project settings might prevent tools from working as expected. If you're using collections that hold objects, ensure they are not being modified. Use or breakpoints to trace object lifetimes and ensure they are being deallocated when expected. This can help pinpoint where the object is being released prematurely. If you're using third-party libraries, ensure they are up-to-date, as bugs in libraries can manifest similarly. However it see
Replies
Boosts
Views
Activity
Feb ’26
Reply to Usage of External Packages for the challenge
@DTS Engineer Yes, this is still possible, even with this constraint. If you intend on creating your .swiftpm project via Xcode, you can add local Swift packages. See the below image where I successfully build an Xcode App Playground project with a local package: However, this will not work if you use the Swift Playgrounds app, so users should be aware of this limitation: Also keep in mind that the package must only contain Swift code. If there is any non-Swift code, the project will refuse to build.
Replies
Boosts
Views
Activity
Feb ’26
Sign In Failed on Apple
When testing the same warning comes up (sign in failed network error) for the apple and demo sign in I created. The google one works fine. I am confused because when I test in Xcode on multiple devices it works perfect. The tester has got the same error repeatedly? Most recently as a fix have updated the production backend. Does anyone have any insight why the xcode testing works for me but not the tester (I understand they are on a live device- I have even connected my phone and tested on that).
Replies
0
Boosts
0
Views
67
Activity
Feb ’26