Search results for

“xcode github”

96,031 results found

Post

Replies

Boosts

Views

Activity

How the application can be translated to different languages
Hello developers, I have a tricky question, that I do not understand. I have an application like this: https://apps.apple.com/cz/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that is in czech language. We have also the same application for e.g. italian: https://apps.apple.com/it/app/examen-ignaziano/id1589449136 or french: https://apps.apple.com/fr/app/examen-ignatien/id1589449136 that are valied and have proper screens and descriptions But the other languages have wrong pages, like: https://apps.apple.com/hr/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that should be in Croatia or https://apps.apple.com/pl/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that should be in Polish. Unfortunatelly, they are still in Czech language. I have in my Xcode and In AppStore are also several language mutations. Can you please help me what is wrong?
5
0
282
1w
iOS app shows black screen on TestFlight launch - no crash logs (Flutter, iOS 26)
Hello, I'm experiencing a critical issue with my Flutter iOS app on TestFlight where the app shows a completely black screen immediately after launch. The app does NOT crash (no .ips logs in iOS Settings → Analytics & Improvements), but Flutter Engine appears not to start at all. The same code runs perfectly on Android. PROJECT INFO: App Name: CNC AI Assistant Bundle ID: com.beratech.cncassistant Team ID: 958PPWZD27 Provisioning Profile UUID: 8122ca65-b15f-4daa-b0d2-1da5409c6859 Build CI: Codemagic Flutter Version: 3.41.5 iOS Deployment Target: 14.0 Test Device: iPad15,3 running iOS 26.x ISSUE BEHAVIOR: Build succeeds on Codemagic without errors IPA is signed with valid distribution certificate TestFlight processes and accepts the build Tester downloads/updates from TestFlight successfully App opens → completely BLACK SCREEN immediately LaunchScreen.storyboard does not appear App does not auto-close (must be manually killed) NO crash logs generated in iOS Settings Same exact codebase wor
2
0
132
1w
Background Assets: Downloaded .aar not working — "bundle record couldn't be looked up" error (-10814)
Platform: iOS 26 (23E254) Xcode: 26.0 Reproduces on: Debug builds AND TestFlight Summary: I'm using Apple-Hosted Managed Background Assets with on-demand download policy. The .aar archives download successfully (correct file size, status = downloaded), but the contents are never extracted into the asset pack namespace. AssetPackManager.shared.contents(at:) returns fileNotFound for all path variants, and url(for: FilePath(.)) returns a URL that exists but contains zero children. Root Cause from Sysdiagnose: The backgroundassets.user daemon logs reveal this error on every download attempt: A bundle record couldn't be looked up for the application identifier AtlasDrift.SnapTrail: Error Domain=NSOSStatusErrorDomain Code=-10814 (null) UserInfo={_LSFile=LSBindingEvaluator.mm, _LSLine=1973, _LSFunction=runEvaluator} Error code -10814 is kLSApplicationNotFoundErr. The BA daemon downloads the .aar blob, then attempts to find the app bundle via LaunchServices to locate the extension for extraction — but the LS
1
0
130
1w
Reply to TLS Inspection with MITM Proxy setup for System Extension app in macOS
Thanks again for your clarifications @DTS Engineer! Here is the flow I am thinking to follow with my existing app so far: Network Traffic │ NETransparentProxyProvider │ ├─ Detect Protocol (first bytes) │ ├─ HTTP ─────> HTTPFlowLogger (existing) │ └─-------- HTTPS │ TLS Interceptor (NEW) │ ┌─────---───────────────┐ │ │ Client TLS Server TLS (terminate) (re-initiate) │ │ └──── Decrypted Bytes ─----┘ │ HTTPFlowLogger (reuse) To start with, I am thinking of something basic: Supporting all HTTP/1.1 traffic so that I can reuse my existing HTTP parser. Is it possible to downgrade(at least a part of) HTTPS traffic without loosing anything while doing so? What can I expect in terms of complexity and performance here? Now, As you've mentioned: Keep in mind that the world has moved on from HTTP/1. A good TLS inspection product should support HTTP/2 + TLS + TCP and HTTP/3 + QUIC + DTLS + UDP To support at least HTTP/2 + TLS + TCP(as I think most of the traffic these days), What's the best approach in this scenario? On
1w
Misleading error on ForEach
During refactoring of an app I made a typo which leads to a misleading error message in Xcode 26.4. I could reproduce it with a small sample code in Swift Playground. Is it a bug which should be reported? Details: I have an array containing two strings. Using a ForEach loop is fine: ForEach(appData.dataArray, id: .self) { value in Text((value.subject)t(value.room)) } but with a typo in the Text line I got an error on the ForEach line: ForEach(appData.dataArray, id: .self) { value in --> Cannot convert value of type '[MyArray]' to expected argument type 'Binding' Text((value.subject)t(value.subject.room)) } Complete sample code from Swift Playground (macOS 26): import SwiftUI class MyArray : Hashable, Equatable, Identifiable, ObservableObject, Codable { let id = UUID() @Published var subject: String @Published var room : String private enum CodingKeys : String, CodingKey { case subject case room } init(subject : String, room : String) { self.subject = subject self.room = room } func encode(to encod
2
0
1.3k
1w
Reply to SwiftUI Text rendering with too small height / one line missing causing unexpected text truncation on iPhone devices
The first sample didn't reproduce on the simulator or device without an accessibility override, which I had active on my device, but forgot. The second sample always reproduces on an iPhone 15 device / sim with affected iOS. Did you test also with this second sample or only the sample code from the initial post? For an iPhone 15 sim the following OS give these results: 17.5 works 18.6 truncates 26.4 truncates 26.5 truncates So it's likely an iOS 18.x regression. To pinpoint this more it would be necessary to download more iOS 18 SDKs. Regarding devices it seems to need a device with 2556x1179 resolution. So an iPhone 16 also reproduces this issue. struct ContentView: View { var body: some View { Text(txt) .dynamicTypeSize(.medium) .fixedSize(horizontal: false, vertical: true) .padding(.horizontal, 20) .frame(maxHeight: .infinity) } } Whether you wrap that ContentView in a ScrollView or not doesn't affect the truncation in my tests. In our main app this is part of an UICollectionView so also
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w
Reply to PHPhotosErrorDomain Code: 3302 started affecting my users recently.
Hi, as I mentioned I'm not able to reproduce it locally, I tried on all my available devices. so I don't have any error logs. I have NSPhotoLibraryAddUsageDescription and I reuse the same code in 3 of my production app that are on the marked for 9 and 10 years I never had those complaints until last month. My app also supports accessing user content (videos from Photos or Documents) they can load videos and reference them side-by-side with the recorded content. But it seems like a bug to me on the new version? I don't see anything that I changed. 2. It affects maybe 1% of users, and it works fine for 99% of users just fine. 3. In the analytics it appears there are no users affected by those error with Full Photos access, but I added those analytics just a couple days ago, before I wasn't tracking those errors. 4. I think I should be able to reproduce the error given how many times I already tried. However until recently I was still using Xcode 16.3 to deploy to AppStore because of supporting older iO
Topic: Media Technologies SubTopic: Video Tags:
1w
PHPhotosErrorDomain Code: 3302 started affecting my users recently.
Recently I received multiple user email supports because the app cannot save video to photos, they are all on iOS 26.x The code in my app around recording video and saving to Photos hasn't changed in years. I'm not able to reproduce it locally, I tried on all my available devices. In recently published build I added additional logs and it appears that all of cases that fail with 3302 have the photos access set to Limited Access. It never happens to users with Full Access. In that build I also added a fallback, when saving to photos fails, the app saves to Documents and it seems it works (two of my users affected users confirmed it), but it's very unfortunate. I think it kind of proves that videos aren't broken given that users are able to play them just fine. On of users says that for him saving to Photos works for 2-3 times after he reinstalls the app and then it stops working. Did anything recently changed in how we should save videos to photos? I'm using the following code. I can
2
0
151
1w
String Catalogs auto-generated symbols located in Swift Packages with default Main Actor isolation don't compile with Xcode 26.4
Hello, I've already reported this issue via Feedback Assistant a month ago (FB22340897) but it's still open and I'd like to know whether I can expect something to be changed regarding it. Here are the details: It seems that Xcode 26.4 started specifying nonisolated for the resourceBundleDescription in the generated stringSymbols files for Swift packages: from: private let resourceBundleDescription = LocalizedStringResource.BundleDescription.atURL(resourceBundle.bundleURL) to: private nonisolated let resourceBundleDescription = LocalizedStringResource.BundleDescription.atURL(resourceBundle.bundleURL) This causes a compilation error: Main actor-isolated default value in a nonisolated context when the Package.swift for the Swift Package in which the string catalog is located specifies: swiftSettings: [.defaultIsolation(MainActor.self)] Since all tools (String Catalogs, Swift Packages and default actor isolation to be Main Actor) are recommended by Apple, I believe it should be possible to use all these
1
0
951
1w
[macOS 26.4.x, iOS 26.4.x] Handoff broken?
Hello, with macOS' and iOS' recent updates (26.4.x), Handoff in my app appears to have become dysfunctional, as I receive the following message in the logs: getContinuationStreamsWithCompletionHandler(), inputStream=(null) outputStream=(null) error=Error Domain=NSPOSIXErrorDomain Code=94 Bad message UserInfo={NSLocalizedDescription=Could not set up internal streams} It ONLY works: From a Mac with 15.x to other Macs or iOS devices (on 26.4.x). All other combinations (see below) do NOT work: iOS (26.4.x) > iOS (26.4.x) iOS (26.4.x) > Mac (26.4.x) iOS (26.4.x) > Mac (15.x) Mac (26.4.x) > iOS (26.4.x) The Handoff prompt is shown in the Dock on Mac, in the app switcher on iOS, and in the Dock on iPadOS, but once I click/press it, I get the continuationStreams error. Now, is it my app, or the OS? Thank you kindly, – Matthias
4
0
229
1w
Reply to How to delete iOS simulator runtimes?
I think you’ve misunderstood the point of this thread. When everything is working correctly you can indeed delete simulator runtimes using Xcode > Settings > Components. The issue that jamesic and revoceci have encountered indicates that things are not working correctly. The thread that revoceci referenced is where we’ve been discussing this issue in more depth. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
1w
Reply to Can CLI apps not use SecItemAdd?
Let’s start with some terminology. On Apple platforms we typically use the terms app and application to refer to things with a GUI that the user launches from the Finder (on macOS), Home screen (on iOS), and so on. If you’re building a program that you expect the user to run in Terminal, that’s a command-line tool. Using the keychain from a command-line tool is a bit tricky because: We generally recommend that folks using the data protection keychain rather than the file-base keychain. Access to the data protection keychain is mediated by restricted entitlements, that is, entitlements that must be authorised by a provisioning profile. It’s hard to sign a command-line tool with such entitlements because there’s no obvious place to put said provisioning profile. Now, all of that is gonna sound like word salad if you’re new to the Mac, so lemme drop in some links: TN3127 Inside Code Signing: Requirements explains the different keychain implementations on macOS. TN3125 Inside Code Signing: Provisioning Profiles e
Topic: Privacy & Security SubTopic: General Tags:
1w
How the application can be translated to different languages
Hello developers, I have a tricky question, that I do not understand. I have an application like this: https://apps.apple.com/cz/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that is in czech language. We have also the same application for e.g. italian: https://apps.apple.com/it/app/examen-ignaziano/id1589449136 or french: https://apps.apple.com/fr/app/examen-ignatien/id1589449136 that are valied and have proper screens and descriptions But the other languages have wrong pages, like: https://apps.apple.com/hr/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that should be in Croatia or https://apps.apple.com/pl/app/ignaci%C3%A1nsk%C3%BD-examen/id1589449136 that should be in Polish. Unfortunatelly, they are still in Czech language. I have in my Xcode and In AppStore are also several language mutations. Can you please help me what is wrong?
Replies
5
Boosts
0
Views
282
Activity
1w
iOS app shows black screen on TestFlight launch - no crash logs (Flutter, iOS 26)
Hello, I'm experiencing a critical issue with my Flutter iOS app on TestFlight where the app shows a completely black screen immediately after launch. The app does NOT crash (no .ips logs in iOS Settings → Analytics & Improvements), but Flutter Engine appears not to start at all. The same code runs perfectly on Android. PROJECT INFO: App Name: CNC AI Assistant Bundle ID: com.beratech.cncassistant Team ID: 958PPWZD27 Provisioning Profile UUID: 8122ca65-b15f-4daa-b0d2-1da5409c6859 Build CI: Codemagic Flutter Version: 3.41.5 iOS Deployment Target: 14.0 Test Device: iPad15,3 running iOS 26.x ISSUE BEHAVIOR: Build succeeds on Codemagic without errors IPA is signed with valid distribution certificate TestFlight processes and accepts the build Tester downloads/updates from TestFlight successfully App opens → completely BLACK SCREEN immediately LaunchScreen.storyboard does not appear App does not auto-close (must be manually killed) NO crash logs generated in iOS Settings Same exact codebase wor
Replies
2
Boosts
0
Views
132
Activity
1w
Background Assets: Downloaded .aar not working — "bundle record couldn't be looked up" error (-10814)
Platform: iOS 26 (23E254) Xcode: 26.0 Reproduces on: Debug builds AND TestFlight Summary: I'm using Apple-Hosted Managed Background Assets with on-demand download policy. The .aar archives download successfully (correct file size, status = downloaded), but the contents are never extracted into the asset pack namespace. AssetPackManager.shared.contents(at:) returns fileNotFound for all path variants, and url(for: FilePath(.)) returns a URL that exists but contains zero children. Root Cause from Sysdiagnose: The backgroundassets.user daemon logs reveal this error on every download attempt: A bundle record couldn't be looked up for the application identifier AtlasDrift.SnapTrail: Error Domain=NSOSStatusErrorDomain Code=-10814 (null) UserInfo={_LSFile=LSBindingEvaluator.mm, _LSLine=1973, _LSFunction=runEvaluator} Error code -10814 is kLSApplicationNotFoundErr. The BA daemon downloads the .aar blob, then attempts to find the app bundle via LaunchServices to locate the extension for extraction — but the LS
Replies
1
Boosts
0
Views
130
Activity
1w
Reply to TLS Inspection with MITM Proxy setup for System Extension app in macOS
Thanks again for your clarifications @DTS Engineer! Here is the flow I am thinking to follow with my existing app so far: Network Traffic │ NETransparentProxyProvider │ ├─ Detect Protocol (first bytes) │ ├─ HTTP ─────> HTTPFlowLogger (existing) │ └─-------- HTTPS │ TLS Interceptor (NEW) │ ┌─────---───────────────┐ │ │ Client TLS Server TLS (terminate) (re-initiate) │ │ └──── Decrypted Bytes ─----┘ │ HTTPFlowLogger (reuse) To start with, I am thinking of something basic: Supporting all HTTP/1.1 traffic so that I can reuse my existing HTTP parser. Is it possible to downgrade(at least a part of) HTTPS traffic without loosing anything while doing so? What can I expect in terms of complexity and performance here? Now, As you've mentioned: Keep in mind that the world has moved on from HTTP/1. A good TLS inspection product should support HTTP/2 + TLS + TCP and HTTP/3 + QUIC + DTLS + UDP To support at least HTTP/2 + TLS + TCP(as I think most of the traffic these days), What's the best approach in this scenario? On
Replies
Boosts
Views
Activity
1w
Misleading error on ForEach
During refactoring of an app I made a typo which leads to a misleading error message in Xcode 26.4. I could reproduce it with a small sample code in Swift Playground. Is it a bug which should be reported? Details: I have an array containing two strings. Using a ForEach loop is fine: ForEach(appData.dataArray, id: .self) { value in Text((value.subject)t(value.room)) } but with a typo in the Text line I got an error on the ForEach line: ForEach(appData.dataArray, id: .self) { value in --> Cannot convert value of type '[MyArray]' to expected argument type 'Binding' Text((value.subject)t(value.subject.room)) } Complete sample code from Swift Playground (macOS 26): import SwiftUI class MyArray : Hashable, Equatable, Identifiable, ObservableObject, Codable { let id = UUID() @Published var subject: String @Published var room : String private enum CodingKeys : String, CodingKey { case subject case room } init(subject : String, room : String) { self.subject = subject self.room = room } func encode(to encod
Replies
2
Boosts
0
Views
1.3k
Activity
1w
Reply to SwiftUI Text rendering with too small height / one line missing causing unexpected text truncation on iPhone devices
The first sample didn't reproduce on the simulator or device without an accessibility override, which I had active on my device, but forgot. The second sample always reproduces on an iPhone 15 device / sim with affected iOS. Did you test also with this second sample or only the sample code from the initial post? For an iPhone 15 sim the following OS give these results: 17.5 works 18.6 truncates 26.4 truncates 26.5 truncates So it's likely an iOS 18.x regression. To pinpoint this more it would be necessary to download more iOS 18 SDKs. Regarding devices it seems to need a device with 2556x1179 resolution. So an iPhone 16 also reproduces this issue. struct ContentView: View { var body: some View { Text(txt) .dynamicTypeSize(.medium) .fixedSize(horizontal: false, vertical: true) .padding(.horizontal, 20) .frame(maxHeight: .infinity) } } Whether you wrap that ContentView in a ScrollView or not doesn't affect the truncation in my tests. In our main app this is part of an UICollectionView so also
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
1w
Reply to PHPhotosErrorDomain Code: 3302 started affecting my users recently.
Hi, as I mentioned I'm not able to reproduce it locally, I tried on all my available devices. so I don't have any error logs. I have NSPhotoLibraryAddUsageDescription and I reuse the same code in 3 of my production app that are on the marked for 9 and 10 years I never had those complaints until last month. My app also supports accessing user content (videos from Photos or Documents) they can load videos and reference them side-by-side with the recorded content. But it seems like a bug to me on the new version? I don't see anything that I changed. 2. It affects maybe 1% of users, and it works fine for 99% of users just fine. 3. In the analytics it appears there are no users affected by those error with Full Photos access, but I added those analytics just a couple days ago, before I wasn't tracking those errors. 4. I think I should be able to reproduce the error given how many times I already tried. However until recently I was still using Xcode 16.3 to deploy to AppStore because of supporting older iO
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
1w
PHPhotosErrorDomain Code: 3302 started affecting my users recently.
Recently I received multiple user email supports because the app cannot save video to photos, they are all on iOS 26.x The code in my app around recording video and saving to Photos hasn't changed in years. I'm not able to reproduce it locally, I tried on all my available devices. In recently published build I added additional logs and it appears that all of cases that fail with 3302 have the photos access set to Limited Access. It never happens to users with Full Access. In that build I also added a fallback, when saving to photos fails, the app saves to Documents and it seems it works (two of my users affected users confirmed it), but it's very unfortunate. I think it kind of proves that videos aren't broken given that users are able to play them just fine. On of users says that for him saving to Photos works for 2-3 times after he reinstalls the app and then it stops working. Did anything recently changed in how we should save videos to photos? I'm using the following code. I can
Replies
2
Boosts
0
Views
151
Activity
1w
Pre-fill GitHub token scopes
It would be helpful if the required token scopes were pre-filled in the URL when clicking the Create a Token on GitHub button when signing into a GitHub account in Xcode. FB22632532 https://github.com/feedback-assistant/reports/issues/796
Replies
0
Boosts
0
Views
80
Activity
1w
Reply to String Catalogs auto-generated symbols located in Swift Packages with default Main Actor isolation don't compile with Xcode 26.4
Hello! Thanks for reporting this issue! We believe it's fixed in Xcode 26.5 Beta 3: https://developer.apple.com/documentation/xcode-release-notes/xcode-26_5-release-notes#Localization When you have a chance, can you please download Beta 3 and verify it? Thanks!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
1w
Reply to Xcode 26.2 build crash when building project
Hi Marcin, Were you able to solve this? Or perhaps a newer Xcode version solved it?
Replies
Boosts
Views
Activity
1w
String Catalogs auto-generated symbols located in Swift Packages with default Main Actor isolation don't compile with Xcode 26.4
Hello, I've already reported this issue via Feedback Assistant a month ago (FB22340897) but it's still open and I'd like to know whether I can expect something to be changed regarding it. Here are the details: It seems that Xcode 26.4 started specifying nonisolated for the resourceBundleDescription in the generated stringSymbols files for Swift packages: from: private let resourceBundleDescription = LocalizedStringResource.BundleDescription.atURL(resourceBundle.bundleURL) to: private nonisolated let resourceBundleDescription = LocalizedStringResource.BundleDescription.atURL(resourceBundle.bundleURL) This causes a compilation error: Main actor-isolated default value in a nonisolated context when the Package.swift for the Swift Package in which the string catalog is located specifies: swiftSettings: [.defaultIsolation(MainActor.self)] Since all tools (String Catalogs, Swift Packages and default actor isolation to be Main Actor) are recommended by Apple, I believe it should be possible to use all these
Replies
1
Boosts
0
Views
951
Activity
1w
[macOS 26.4.x, iOS 26.4.x] Handoff broken?
Hello, with macOS' and iOS' recent updates (26.4.x), Handoff in my app appears to have become dysfunctional, as I receive the following message in the logs: getContinuationStreamsWithCompletionHandler(), inputStream=(null) outputStream=(null) error=Error Domain=NSPOSIXErrorDomain Code=94 Bad message UserInfo={NSLocalizedDescription=Could not set up internal streams} It ONLY works: From a Mac with 15.x to other Macs or iOS devices (on 26.4.x). All other combinations (see below) do NOT work: iOS (26.4.x) > iOS (26.4.x) iOS (26.4.x) > Mac (26.4.x) iOS (26.4.x) > Mac (15.x) Mac (26.4.x) > iOS (26.4.x) The Handoff prompt is shown in the Dock on Mac, in the app switcher on iOS, and in the Dock on iPadOS, but once I click/press it, I get the continuationStreams error. Now, is it my app, or the OS? Thank you kindly, – Matthias
Replies
4
Boosts
0
Views
229
Activity
1w
Reply to How to delete iOS simulator runtimes?
I think you’ve misunderstood the point of this thread. When everything is working correctly you can indeed delete simulator runtimes using Xcode > Settings > Components. The issue that jamesic and revoceci have encountered indicates that things are not working correctly. The thread that revoceci referenced is where we’ve been discussing this issue in more depth. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
1w
Reply to Can CLI apps not use SecItemAdd?
Let’s start with some terminology. On Apple platforms we typically use the terms app and application to refer to things with a GUI that the user launches from the Finder (on macOS), Home screen (on iOS), and so on. If you’re building a program that you expect the user to run in Terminal, that’s a command-line tool. Using the keychain from a command-line tool is a bit tricky because: We generally recommend that folks using the data protection keychain rather than the file-base keychain. Access to the data protection keychain is mediated by restricted entitlements, that is, entitlements that must be authorised by a provisioning profile. It’s hard to sign a command-line tool with such entitlements because there’s no obvious place to put said provisioning profile. Now, all of that is gonna sound like word salad if you’re new to the Mac, so lemme drop in some links: TN3127 Inside Code Signing: Requirements explains the different keychain implementations on macOS. TN3125 Inside Code Signing: Provisioning Profiles e
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w