Search results for

“Xcode”

93,859 results found

Post

Replies

Boosts

Views

Activity

xcodebuild fails if build tool plugins are installed
After having built the SwiftUI project numerous times from Xcode and allowing the plugins after the first build post install using xcodebuild -scheme build fails with: The following build commands failed: Validate plug-in “SwiftLintBuildToolPlugin” in package “swiftlintplugins” Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator” How are we supposed to grant the plugins permission to run in the CLI? Everything I'm getting from Gemini is for packages, not apps.
0
0
20
6d
Text alignment issue in iOS 26.4
There appears to be a serious issue in iOS 26.4 regarding text alignment. All text strings are rendered right-aligned instead of left-aligned, even when explicitly setting the paragraph style to NSTextAlignmentLeft. This behavior is unexpected and seems to indicate a regression in text rendering. Could you please confirm whether this is a known issue in iOS 26.4? I am using the following code in a central function that has been working reliably for years across all my apps. Best regards, Rolf Code: NSMutableParagraphStyle* paragraphLeft = [[NSMutableParagraphStyle alloc] init]; if (paragraphLeft != nil) { paragraphLeft.alignment = NSTextAlignmentLeft; NSDictionary *settings = @{ NSFontAttributeName : font, NSForegroundColorAttributeName : fontclr, NSParagraphStyleAttributeName : paragraphLeft }; [theString drawAtPoint:CGPointMake(x, y - font.ascender) withAttributes:settings]; [paragraphLeft release]; }
Topic: UI Frameworks SubTopic: UIKit
3
0
170
6d
CKQuerySubscription on public database never triggers APNS push in Production environment
Hi everyone, I have a SwiftUI app using CKQuerySubscription on the public database for social notifications (friend requests, recommendations, etc.). Push notifications work perfectly in the Development environment but never fire in Production (TestFlight). Setup: iOS 26.4, Xcode 26, Swift 6 Container: public database, CKQuerySubscription with .firesOnRecordCreation 5 subscriptions verified via CKDatabase.allSubscriptions() registerForRemoteNotifications() called unconditionally on every launch Valid APNS device token received in didRegisterForRemoteNotificationsWithDeviceToken Push Notifications + Background Modes (Remote notifications) capabilities enabled What works: All 5 subscriptions create successfully in Production Records are saved and queryable (in-app CloudKit fetches return them immediately) APNS production push works — tested via Xcode Push Notifications Console with the same device token, notification appeared instantly Everything works perfectly in the Development environment
9
0
558
6d
Purchase Error / storekit - subscription testing locally
Hello, I got Purchase Error Couldn’t communicate with a helper application. when button 'Buy Pro' clicked in my app it uses storekit subscription created (correct id in configuration.storekit) got this error in console: Purchase did not return a transaction: Error Domain=ASDErrorDomain Code=5115 Received failure in response from Xcode UserInfo={NSDebugDescription=Received failure in response from Xcode, NSUnderlyingError=0xc5bc1c510 {Error Domain=NSCocoaErrorDomain Code=4099 The connection to service created from an endpoint was invalidated from this process. UserInfo={AMSDescription=An unknown error occurred. Please try again., AMSURL=http://localhost:49913/WebObjects/MZBuy.woa/wa/inAppBuy, NSDebugDescription=The connection to service created from an endpoint was invalidated from this process., AMSStatusCode=200, AMSServerPayload={ app-list = ( Thx for any help : )
0
0
48
6d
Reply to Xcode 26.4 breaks compilation
Since this is a change in behavior between Xcode versions, you absolutely should file this as a bug report. The expression on the line that you cited is really quite something! Make sure to post the FB number here for our reference. Since this is a library you depend on, you should talk to the maintainers to look at breaking that up into smaller statements so that you're able to compile it with Xcode 26.4. If you're using Swift Package Manager to import a library, there is a way you can make local modifications to a package you depend on, which might also be helpful to you here. — Ed Ford,  DTS Engineer
6d
Reply to Upgrading Python that ships with Xcode from 3.9.6
You have the right information: You cannot update the version of Python included with Xcode yourself. If you have a concern to report with the version Xcode is including for its needs, you can file an Xcode bug report through Feedback Assistant. For recent macOS versions, Python is not included with macOS, so any installation you may find in locations like /usr and /opt were installed through other means. — Ed Ford,  DTS Engineer
6d
Reply to Xcode 26.4: Regressions in Intelligence features
Chiming in to say three things: The Oauth token expiration happens to me as well. I can't find an exact pattern, but it seems to happen when I leave Xcode idle for a while. I'll go have lunch, come back, and suddenly I have to sign out and sign back in to Claude Agent. The AI seems to lose itself a lot. It'll begin responding to a prompt, I'll see output in the chat, but then it'll hang at Thinking... for a couple minutes. Suddenly, it'll pick up again and it always starts with: I should resume... or I'll resume..., as if the original session got interrupted. My internet connection is rock-solid; that is NOT the issue. This happens very frequently and it's pretty annoying because it adds minutes of overhead to what should be very quick, easy requests. Unlike Xcode 26.3, version 26.4 now puts much of the AI's thinking into chat bubbles that cut off the text and are not expandable. This is very dumb. I WANT to see what the AI is thinking. Xcode 26.4's UI is actively harmful and in the
6d
Xcode 26.4 breaks compilation
With the latest Xcode 26.4 my project fails to compile due to a compiler unable to type-check in reasonable time error with a library I've been using for years and has not changed. The library is https://github.com/ngageoint/mgrs-ios and is specifically around this line https://github.com/ngageoint/mgrs-ios/blob/master/mgrs-ios/utm/UTM.swift#L96. Since this isn't my library I can't change it, but again we've been using this library for years now without issue - it was only when Xcode updated this morning that our compilation workflow broke. (Compilation machine is an M3 Pro with 18GB of RAM, so I don't think that's the problem here)
3
0
212
6d
Reply to App Clips not working
@ScottyBlades That's not a bug on Xcode that's not setting the correct team you have a the entitlement to that team. Make sure you configure the correct team. I would recommend to simplified your configuration to just one team to make it less confusing. Albert Pascual
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
6d
Xcode 26.4 and 26.3: Swift compiler crashes during archive with iOS 17 deployment target
I submitted this to Feedback Assistant as FB22331090 and wanted to share a minimal reproducible example here in case others are seeing the same issue. Environment: Xcode 26.4 or Xcode 26.3 Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) Effective Swift language version 5.10 Deployment target: iOS 17.0 The sample app builds successfully for normal development use, but archive fails. The crash happens during optimization in EarlyPerfInliner while compiling the synthesized deinit of a nested generic Coordinator class. The coordinator stores a UIHostingController. Minimal reproducer: import SwiftUI struct ReproView: UIViewRepresentable { let content: Content func makeUIView(context: Context) -> UIView { context.coordinator.host.view } func updateUIView(_ uiView: UIView, context: Context) { context.coordinator.host.rootView = content } func makeCoordinator() -> Coordinator { Coordinator(content: content) } final class Coordinator { let host: UIHostingController init(con
1
0
68
1w
xcodebuild fails if build tool plugins are installed
After having built the SwiftUI project numerous times from Xcode and allowing the plugins after the first build post install using xcodebuild -scheme build fails with: The following build commands failed: Validate plug-in “SwiftLintBuildToolPlugin” in package “swiftlintplugins” Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator” How are we supposed to grant the plugins permission to run in the CLI? Everything I'm getting from Gemini is for packages, not apps.
Replies
0
Boosts
0
Views
20
Activity
6d
Text alignment issue in iOS 26.4
There appears to be a serious issue in iOS 26.4 regarding text alignment. All text strings are rendered right-aligned instead of left-aligned, even when explicitly setting the paragraph style to NSTextAlignmentLeft. This behavior is unexpected and seems to indicate a regression in text rendering. Could you please confirm whether this is a known issue in iOS 26.4? I am using the following code in a central function that has been working reliably for years across all my apps. Best regards, Rolf Code: NSMutableParagraphStyle* paragraphLeft = [[NSMutableParagraphStyle alloc] init]; if (paragraphLeft != nil) { paragraphLeft.alignment = NSTextAlignmentLeft; NSDictionary *settings = @{ NSFontAttributeName : font, NSForegroundColorAttributeName : fontclr, NSParagraphStyleAttributeName : paragraphLeft }; [theString drawAtPoint:CGPointMake(x, y - font.ascender) withAttributes:settings]; [paragraphLeft release]; }
Topic: UI Frameworks SubTopic: UIKit
Replies
3
Boosts
0
Views
170
Activity
6d
Reply to Xcode 26.4 Editor Tab Bar is low density
I filed feedback FB22335783, Regression: reduced editor tab density in Xcode 26.
Replies
Boosts
Views
Activity
6d
CKQuerySubscription on public database never triggers APNS push in Production environment
Hi everyone, I have a SwiftUI app using CKQuerySubscription on the public database for social notifications (friend requests, recommendations, etc.). Push notifications work perfectly in the Development environment but never fire in Production (TestFlight). Setup: iOS 26.4, Xcode 26, Swift 6 Container: public database, CKQuerySubscription with .firesOnRecordCreation 5 subscriptions verified via CKDatabase.allSubscriptions() registerForRemoteNotifications() called unconditionally on every launch Valid APNS device token received in didRegisterForRemoteNotificationsWithDeviceToken Push Notifications + Background Modes (Remote notifications) capabilities enabled What works: All 5 subscriptions create successfully in Production Records are saved and queryable (in-app CloudKit fetches return them immediately) APNS production push works — tested via Xcode Push Notifications Console with the same device token, notification appeared instantly Everything works perfectly in the Development environment
Replies
9
Boosts
0
Views
558
Activity
6d
Purchase Error / storekit - subscription testing locally
Hello, I got Purchase Error Couldn’t communicate with a helper application. when button 'Buy Pro' clicked in my app it uses storekit subscription created (correct id in configuration.storekit) got this error in console: Purchase did not return a transaction: Error Domain=ASDErrorDomain Code=5115 Received failure in response from Xcode UserInfo={NSDebugDescription=Received failure in response from Xcode, NSUnderlyingError=0xc5bc1c510 {Error Domain=NSCocoaErrorDomain Code=4099 The connection to service created from an endpoint was invalidated from this process. UserInfo={AMSDescription=An unknown error occurred. Please try again., AMSURL=http://localhost:49913/WebObjects/MZBuy.woa/wa/inAppBuy, NSDebugDescription=The connection to service created from an endpoint was invalidated from this process., AMSStatusCode=200, AMSServerPayload={ app-list = ( Thx for any help : )
Replies
0
Boosts
0
Views
48
Activity
6d
Reply to Xcode 26.4 breaks compilation
Since this is a change in behavior between Xcode versions, you absolutely should file this as a bug report. The expression on the line that you cited is really quite something! Make sure to post the FB number here for our reference. Since this is a library you depend on, you should talk to the maintainers to look at breaking that up into smaller statements so that you're able to compile it with Xcode 26.4. If you're using Swift Package Manager to import a library, there is a way you can make local modifications to a package you depend on, which might also be helpful to you here. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
6d
Reply to Upgrading Python that ships with Xcode from 3.9.6
You have the right information: You cannot update the version of Python included with Xcode yourself. If you have a concern to report with the version Xcode is including for its needs, you can file an Xcode bug report through Feedback Assistant. For recent macOS versions, Python is not included with macOS, so any installation you may find in locations like /usr and /opt were installed through other means. — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
6d
Reply to Xcode 26.4: Regressions in Intelligence features
Chiming in to say three things: The Oauth token expiration happens to me as well. I can't find an exact pattern, but it seems to happen when I leave Xcode idle for a while. I'll go have lunch, come back, and suddenly I have to sign out and sign back in to Claude Agent. The AI seems to lose itself a lot. It'll begin responding to a prompt, I'll see output in the chat, but then it'll hang at Thinking... for a couple minutes. Suddenly, it'll pick up again and it always starts with: I should resume... or I'll resume..., as if the original session got interrupted. My internet connection is rock-solid; that is NOT the issue. This happens very frequently and it's pretty annoying because it adds minutes of overhead to what should be very quick, easy requests. Unlike Xcode 26.3, version 26.4 now puts much of the AI's thinking into chat bubbles that cut off the text and are not expandable. This is very dumb. I WANT to see what the AI is thinking. Xcode 26.4's UI is actively harmful and in the
Replies
Boosts
Views
Activity
6d
Xcode 26.4 breaks compilation
With the latest Xcode 26.4 my project fails to compile due to a compiler unable to type-check in reasonable time error with a library I've been using for years and has not changed. The library is https://github.com/ngageoint/mgrs-ios and is specifically around this line https://github.com/ngageoint/mgrs-ios/blob/master/mgrs-ios/utm/UTM.swift#L96. Since this isn't my library I can't change it, but again we've been using this library for years now without issue - it was only when Xcode updated this morning that our compilation workflow broke. (Compilation machine is an M3 Pro with 18GB of RAM, so I don't think that's the problem here)
Replies
3
Boosts
0
Views
212
Activity
6d
Reply to SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
Pasting it into /etc/ssh/ssh_known_hosts worked for me too. (Had to restart Xcode first.)
Replies
Boosts
Views
Activity
6d
Reply to App Clips not working
@ScottyBlades That's not a bug on Xcode that's not setting the correct team you have a the entitlement to that team. Make sure you configure the correct team. I would recommend to simplified your configuration to just one team to make it less confusing. Albert Pascual
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
6d
Reply to Bottom toolbar Button truncated on Mac Catalyst 26
It's been more than 6 months and this problem still persists in Xcode 26.3. Bump for visibility.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
6d
Reply to HTTP 500 when attempting to resolve SCM repo connectivity issue.
Can anyone comment on this HTTP 500 error? To reiterate, I've been blocked for a week now on submitting an app update due to this issue and another, which both appear to be regressions of standard Xcode Cloud functionality. (https://developer.apple.com/forums/thread/819249).
Replies
Boosts
Views
Activity
1w
Reply to 26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
I extracted the MobileDevice.pkg from 26.4 Xcode and installed it on 15.x. I can now create a VM for the 26.4 release.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Xcode 26.4 and 26.3: Swift compiler crashes during archive with iOS 17 deployment target
I submitted this to Feedback Assistant as FB22331090 and wanted to share a minimal reproducible example here in case others are seeing the same issue. Environment: Xcode 26.4 or Xcode 26.3 Apple Swift version 6.3 (swiftlang-6.3.0.123.5 clang-2100.0.123.102) Effective Swift language version 5.10 Deployment target: iOS 17.0 The sample app builds successfully for normal development use, but archive fails. The crash happens during optimization in EarlyPerfInliner while compiling the synthesized deinit of a nested generic Coordinator class. The coordinator stores a UIHostingController. Minimal reproducer: import SwiftUI struct ReproView: UIViewRepresentable { let content: Content func makeUIView(context: Context) -> UIView { context.coordinator.host.view } func updateUIView(_ uiView: UIView, context: Context) { context.coordinator.host.rootView = content } func makeCoordinator() -> Coordinator { Coordinator(content: content) } final class Coordinator { let host: UIHostingController init(con
Replies
1
Boosts
0
Views
68
Activity
1w