Search results for

“xcode github”

95,413 results found

Post

Replies

Boosts

Views

Activity

Reply to How can I use my sandbox account to test in-app purchases?
Hello - Please review this documentation with details for Sandbox testing in a TestFlight build of your app: https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox#Sign-in-to-your-Sandbox-Apple-Account-for-a-TestFlight-app Related documentation to review: Overview of testing in Sandbox Enabling developer mode on a device Testing at all stages of development with Xcode and the sandbox Testing subscriptions and in-app purchases in TestFlight Please let us know if you have any additional questions or need further assistance. Thank you.
2w
Reply to XCTest Bundle cannot access local network.
The combinations we've confirmed are: Xcode 16.x + iPadOS 18.x.x = works Xcode 26.2 + iPadOS 18.x.x = works. Xcode 26.2 + iPadOS 26.2.1 = works. Xcode 26.2 + iPadOS 26.3 = broken. Have we tried Xcode 26.3? No - honestly I was neck deep in troubleshooting when Xcode 26.3 came out last week. And we're a med device company so we typically don't rush to update tools because we need to maintain specific development environments. I know you're thinking what could it hurt at this point? lol. I'll test that today.
2w
Reply to Any FSKit sample available from Apple?
[quote='878184022, peterho, /thread/817501?answerId=878184022#878184022, /profile/peterho'] And a kernel extension certificate is used to sign the passthrough file system extension. [/quote] I’m not sure how you came to that conclusion. There is such a thing as a KEXT-enabled code-signing identity [1], but that’s irrelevant to this discussion. [quote='878184022, peterho, /thread/817501?answerId=878184022#878184022, /profile/peterho'] Does it need to be signed? [/quote] Yes. FSKit modules must be signed with the com.apple.developer.fskit.fsmodule entitlement. That’s a restricted entitlement, which means it must be authorised by a provisioning profile [2] [3]. To create that profile, you’ll need to be a member of a paid team. Based on our records it looks like you are a member of a paid team. Given that, you should be able to get this working as follows: Sign into with your Apple Account in Xcode > Apple Accounts. In the sample code project, for each target, go to the Signing & Capabilities edit
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Sandboxed applications fail to mount NFS using NetFSMountURLSync
System version: 26.2 (25C56) Xcode version: Version 26.2 (17C52) My attempt to mount to the /Volumes directory was also denied due to permissions. Providing the user with a mount point also resulted in permission denial. detailed_log.log simple log : 默认 20:12:14.201225+0800 NetAuthSysAgent Process 54430 is sandboxed and is allowed to mount a shared volume because it has the proper permissions. 默认 20:12:14.201351+0800 NetAuthSysAgent Mount URL: request C78993FC-5F67-4D47-B394-23AEE1F33FF1 from MyNavm (54430) 默认 20:12:14.237651+0800 NetAuthSysAgent GetServerInfo serverParamsDict = { NoMountAuthentication = 1; ServerDisplayName = 192.168.139.236; SupportsGuest = 0; } 默认 20:12:14.266567+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.267956+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.269373+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.270843+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.271325+0800 NetAuthSys
Topic: App & System Services SubTopic: Core OS Tags:
2w
Reply to Issues with diacritics in filename on iOS when the system main language is not English
Thanks for that info. Based on that, I created a small test project to exercise my normalisation theory: Using Xcode 26.3 on macOS 26.2, I created a new project. I added LSSupportsOpeningDocumentsInPlace and UIFileSharingEnabled to its Info.plist [1]. I wired up a button to my test code, which I’ve pasted in at the end of this reply. I ran the app on an iOS 26.2 device. I tapped my test button. It was able to create the files. I switched to the Files app. And navigated to On My iPhone > My App Name. I tapped test, then test dec (naïve), then test pre (naïve). The first two worked; the last one failed as you described. The difference between these file names is that the test dec (naïve) uses a decomposed ï (NFD) whereas test pre (naïve) uses a precomposed one (NFC). Clearly, that’s causing problems for Quick Look in the Files app and elsewhere. So, there are two things for you to do here: Please file a bug against iOS about this. It should be able to handle both normal forms equivalently. Once you’
Topic: App & System Services SubTopic: Core OS Tags:
2w
spctl --type install rejects notarized .pkg on macOS 26 Tahoe (26.3)
I'm distributing a macOS .pkg installer signed with Developer ID Installer and notarized via notarytool. On macOS 26.3 (Tahoe, Build 25D125), the package is rejected by Gatekeeper when downloaded from the internet. What works: pkgutil --check-signature → signed, Developer ID Installer, full chain (G2 intermediate + Apple Root CA) xcrun stapler validate → The validate action worked! xcrun notarytool info → status: Accepted The .app inside the .pkg passes spctl -a -vvv → accepted, source=Notarized Developer ID What fails: spctl -a -vvv --type install mypackage.pkg → rejected, origin=Developer ID Installer Raw assessment: assessment:remote = true, assessment:verdict = false Double-clicking the downloaded .pkg shows only Move to Trash / Done (no Open option) syspolicyd log: meetsDeveloperIDLegacyAllowedPolicy = 0 (expected, since the cert is new), but no notarized match is logged Certificate details: Developer ID Installer, issued Feb 28, 2026, valid until 2031 OID 1.2.840.113635.100.6.1.14 (Developer ID Install
5
0
753
2w
Subscription unavailable
When my app tries to access a subscription, StoreKit's products(for:) always returns zero results. Similarly, SubscriptionStoreView always shows Subscription Unavailable followed by The subscription is unavailable in the current storefront. The app is a watch-only app (no iPhone companion app). The app and the subscription product were each approved in App Store Connect over two weeks ago. The problem occurs when the app is installed from TestFlight, when the app is installed from the App Store (production), and when run in the Xcode debugger. The only time the app successfully accesses the subscription when simulating it in Xcode with a .storekit file. How should my app access the subscription? Repro: App Store bundle ID: com.toolsay.hoopref Phone app target (unused) bundle ID: com.toolsay.hoopref Watch app bundle ID: com.toolsay.hoopref.watchapp Subscription product ID: com.toolsay.hoopref.pro.annual Subscription availability: All countries and regions App Store listing let products = try
1
0
79
2w
Reply to XCTest Bundle cannot access local network.
For those reading along at home, I helped one of ADietz’s colleagues with this issue a few years back, so I have some inside knowledge. For example, I know that they filed a bug about this back then (FB12846267). I just checked on it, and there’s nothing helpful to share on that front. [quote='817792021, ADietz, /thread/817792, /profile/ADietz'] It’s clever and kludgey. [/quote] Yeah, and unfortunately it has come unstuck. That’s why I was hoping that we’d provide a real fix for this issue, but that hasn’t happened )-: I’d like to confirm that this is tied to the OS version rather than the Xcode version. If you use Xcode 26.3 to run this test on iOS 26.2 and 26.3, it works on 26.2 but fails on 26.3. Right? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
2w
Restrict app tp be installed on iPhone only
Hey everyone, I'm developing an iOS only app and want to make sure it can not be installed on iPads. Using Xcode 26, Targets/Appname/General/Supported Destination - I have iPhone only as destination and in the Info.plist I have this: UIDeviceFamily 1 UIRequiredDeviceCapabilities telephony Is there anything else need to do to make sure it can't be installed on iPads? Thanks in advance
2
0
54
2w
Request: Option to Position Coding Assistant on the Right Side in Xcode
Dear Xcode Team, Please consider adding an option to position the Coding Assistant on the right side of the editor. Currently, when the assistant panel is open, it makes it difficult to access the Project Navigator at the same time. Having the ability to move the Coding Assistant to the right side would allow developers to keep the Project Navigator visible while interacting with the assistant, improving workflow and efficiency. Thank you
1
0
72
2w
How to programmatically determine fixed CPU frequency for memory latency benchmarking on Apple Silicon?
Hi everyone, I am developing a benchmarking tool to measure memory latency (L1/L2/DRAM) on Apple Silicon. I am currently using Xcode Instruments (CPU Counters) to validate my results. In my latest run for a 128 MB buffer with random access, Instruments shows: Latency (cycles): ~259 cycles (derived from LDST_UNIT_OLD_L1D_CACHE_MISS / L1D_CACHE_MISS_LD). Manual Timer Result: ~80 ns. To correlate these two values, I need the exact CPU Frequency (GHz) at the time of the sample. My Questions: Is there a recommended way to programmatically fetch the current frequency of the Performance cores (p-cores) during a benchmark run? Does Apple provide a nominal frequency value for M-series chips that we should use for cycle-to-nanosecond conversions? In Instruments, is there a hidden counter or Average Frequency metric that I can enable to avoid manual math? Hardware/Software Environment: Tool: Instruments 26.3+ (CPU Counters Template). Chip: A19, iPhone 17 pro. OS: 26.3.
0
0
96
2w
Xcode 26 references a local package twice for test
My project uses about 10 local packages. When Xcode determins its dependencies graph it includes project Foo (a package) and project Foo_Foo (???). This is a no op for normal builds, but causes the Foo package to be linked twice for test builds which then fail due to duplicate symbols. Nowhere in my repository is Foo_Foo defined or reference. Nowhere in the .xcodeproj/ folder is there mention of Foo_Foo. What am I doing wrong?
1
0
99
2w
Reply to Any FSKit sample available from Apple?
Thanks. It works after developer account is added into Xcode project
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to How can I use my sandbox account to test in-app purchases?
Hello - Please review this documentation with details for Sandbox testing in a TestFlight build of your app: https://developer.apple.com/documentation/storekit/testing-in-app-purchases-with-sandbox#Sign-in-to-your-Sandbox-Apple-Account-for-a-TestFlight-app Related documentation to review: Overview of testing in Sandbox Enabling developer mode on a device Testing at all stages of development with Xcode and the sandbox Testing subscriptions and in-app purchases in TestFlight Please let us know if you have any additional questions or need further assistance. Thank you.
Replies
Boosts
Views
Activity
2w
Reply to XCTest Bundle cannot access local network.
Xcode 26.2 + iPadOS 26.3.1 = broken Xcode 26.3 + iPados 26.2.1 = works Xcode 26.3 + iPadOS 26.3 = broken Xcode 26.3 + iPadOS 26.3.1 = broken
Replies
Boosts
Views
Activity
2w
Reply to XCTest Bundle cannot access local network.
The combinations we've confirmed are: Xcode 16.x + iPadOS 18.x.x = works Xcode 26.2 + iPadOS 18.x.x = works. Xcode 26.2 + iPadOS 26.2.1 = works. Xcode 26.2 + iPadOS 26.3 = broken. Have we tried Xcode 26.3? No - honestly I was neck deep in troubleshooting when Xcode 26.3 came out last week. And we're a med device company so we typically don't rush to update tools because we need to maintain specific development environments. I know you're thinking what could it hurt at this point? lol. I'll test that today.
Replies
Boosts
Views
Activity
2w
Reply to Any FSKit sample available from Apple?
[quote='878184022, peterho, /thread/817501?answerId=878184022#878184022, /profile/peterho'] And a kernel extension certificate is used to sign the passthrough file system extension. [/quote] I’m not sure how you came to that conclusion. There is such a thing as a KEXT-enabled code-signing identity [1], but that’s irrelevant to this discussion. [quote='878184022, peterho, /thread/817501?answerId=878184022#878184022, /profile/peterho'] Does it need to be signed? [/quote] Yes. FSKit modules must be signed with the com.apple.developer.fskit.fsmodule entitlement. That’s a restricted entitlement, which means it must be authorised by a provisioning profile [2] [3]. To create that profile, you’ll need to be a member of a paid team. Based on our records it looks like you are a member of a paid team. Given that, you should be able to get this working as follows: Sign into with your Apple Account in Xcode > Apple Accounts. In the sample code project, for each target, go to the Signing & Capabilities edit
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to Recording a Packet Trace
It seems to be QUIC explicitly. And it's not us using it but some dependency we include - and yes, I am aware of https://developer.apple.com/documentation/Xcode/verifying-the-origin-of-your-xcframeworks :)
Replies
Boosts
Views
Activity
2w
Reply to Sandboxed applications fail to mount NFS using NetFSMountURLSync
System version: 26.2 (25C56) Xcode version: Version 26.2 (17C52) My attempt to mount to the /Volumes directory was also denied due to permissions. Providing the user with a mount point also resulted in permission denial. detailed_log.log simple log : 默认 20:12:14.201225+0800 NetAuthSysAgent Process 54430 is sandboxed and is allowed to mount a shared volume because it has the proper permissions. 默认 20:12:14.201351+0800 NetAuthSysAgent Mount URL: request C78993FC-5F67-4D47-B394-23AEE1F33FF1 from MyNavm (54430) 默认 20:12:14.237651+0800 NetAuthSysAgent GetServerInfo serverParamsDict = { NoMountAuthentication = 1; ServerDisplayName = 192.168.139.236; SupportsGuest = 0; } 默认 20:12:14.266567+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.267956+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.269373+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.270843+0800 NetAuthSysAgent (31) /Applications/Mountain Duck.app 默认 20:12:14.271325+0800 NetAuthSys
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
Reply to Issues with diacritics in filename on iOS when the system main language is not English
Thanks for that info. Based on that, I created a small test project to exercise my normalisation theory: Using Xcode 26.3 on macOS 26.2, I created a new project. I added LSSupportsOpeningDocumentsInPlace and UIFileSharingEnabled to its Info.plist [1]. I wired up a button to my test code, which I’ve pasted in at the end of this reply. I ran the app on an iOS 26.2 device. I tapped my test button. It was able to create the files. I switched to the Files app. And navigated to On My iPhone > My App Name. I tapped test, then test dec (naïve), then test pre (naïve). The first two worked; the last one failed as you described. The difference between these file names is that the test dec (naïve) uses a decomposed ï (NFD) whereas test pre (naïve) uses a precomposed one (NFC). Clearly, that’s causing problems for Quick Look in the Files app and elsewhere. So, there are two things for you to do here: Please file a bug against iOS about this. It should be able to handle both normal forms equivalently. Once you’
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
2w
spctl --type install rejects notarized .pkg on macOS 26 Tahoe (26.3)
I'm distributing a macOS .pkg installer signed with Developer ID Installer and notarized via notarytool. On macOS 26.3 (Tahoe, Build 25D125), the package is rejected by Gatekeeper when downloaded from the internet. What works: pkgutil --check-signature → signed, Developer ID Installer, full chain (G2 intermediate + Apple Root CA) xcrun stapler validate → The validate action worked! xcrun notarytool info → status: Accepted The .app inside the .pkg passes spctl -a -vvv → accepted, source=Notarized Developer ID What fails: spctl -a -vvv --type install mypackage.pkg → rejected, origin=Developer ID Installer Raw assessment: assessment:remote = true, assessment:verdict = false Double-clicking the downloaded .pkg shows only Move to Trash / Done (no Open option) syspolicyd log: meetsDeveloperIDLegacyAllowedPolicy = 0 (expected, since the cert is new), but no notarized match is logged Certificate details: Developer ID Installer, issued Feb 28, 2026, valid until 2031 OID 1.2.840.113635.100.6.1.14 (Developer ID Install
Replies
5
Boosts
0
Views
753
Activity
2w
Subscription unavailable
When my app tries to access a subscription, StoreKit's products(for:) always returns zero results. Similarly, SubscriptionStoreView always shows Subscription Unavailable followed by The subscription is unavailable in the current storefront. The app is a watch-only app (no iPhone companion app). The app and the subscription product were each approved in App Store Connect over two weeks ago. The problem occurs when the app is installed from TestFlight, when the app is installed from the App Store (production), and when run in the Xcode debugger. The only time the app successfully accesses the subscription when simulating it in Xcode with a .storekit file. How should my app access the subscription? Repro: App Store bundle ID: com.toolsay.hoopref Phone app target (unused) bundle ID: com.toolsay.hoopref Watch app bundle ID: com.toolsay.hoopref.watchapp Subscription product ID: com.toolsay.hoopref.pro.annual Subscription availability: All countries and regions App Store listing let products = try
Replies
1
Boosts
0
Views
79
Activity
2w
Reply to XCTest Bundle cannot access local network.
For those reading along at home, I helped one of ADietz’s colleagues with this issue a few years back, so I have some inside knowledge. For example, I know that they filed a bug about this back then (FB12846267). I just checked on it, and there’s nothing helpful to share on that front. [quote='817792021, ADietz, /thread/817792, /profile/ADietz'] It’s clever and kludgey. [/quote] Yeah, and unfortunately it has come unstuck. That’s why I was hoping that we’d provide a real fix for this issue, but that hasn’t happened )-: I’d like to confirm that this is tied to the OS version rather than the Xcode version. If you use Xcode 26.3 to run this test on iOS 26.2 and 26.3, it works on 26.2 but fails on 26.3. Right? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
2w
Restrict app tp be installed on iPhone only
Hey everyone, I'm developing an iOS only app and want to make sure it can not be installed on iPads. Using Xcode 26, Targets/Appname/General/Supported Destination - I have iPhone only as destination and in the Info.plist I have this: UIDeviceFamily 1 UIRequiredDeviceCapabilities telephony Is there anything else need to do to make sure it can't be installed on iPads? Thanks in advance
Replies
2
Boosts
0
Views
54
Activity
2w
Request: Option to Position Coding Assistant on the Right Side in Xcode
Dear Xcode Team, Please consider adding an option to position the Coding Assistant on the right side of the editor. Currently, when the assistant panel is open, it makes it difficult to access the Project Navigator at the same time. Having the ability to move the Coding Assistant to the right side would allow developers to keep the Project Navigator visible while interacting with the assistant, improving workflow and efficiency. Thank you
Replies
1
Boosts
0
Views
72
Activity
2w
How to programmatically determine fixed CPU frequency for memory latency benchmarking on Apple Silicon?
Hi everyone, I am developing a benchmarking tool to measure memory latency (L1/L2/DRAM) on Apple Silicon. I am currently using Xcode Instruments (CPU Counters) to validate my results. In my latest run for a 128 MB buffer with random access, Instruments shows: Latency (cycles): ~259 cycles (derived from LDST_UNIT_OLD_L1D_CACHE_MISS / L1D_CACHE_MISS_LD). Manual Timer Result: ~80 ns. To correlate these two values, I need the exact CPU Frequency (GHz) at the time of the sample. My Questions: Is there a recommended way to programmatically fetch the current frequency of the Performance cores (p-cores) during a benchmark run? Does Apple provide a nominal frequency value for M-series chips that we should use for cycle-to-nanosecond conversions? In Instruments, is there a hidden counter or Average Frequency metric that I can enable to avoid manual math? Hardware/Software Environment: Tool: Instruments 26.3+ (CPU Counters Template). Chip: A19, iPhone 17 pro. OS: 26.3.
Replies
0
Boosts
0
Views
96
Activity
2w
Xcode 26 references a local package twice for test
My project uses about 10 local packages. When Xcode determins its dependencies graph it includes project Foo (a package) and project Foo_Foo (???). This is a no op for normal builds, but causes the Foo package to be linked twice for test builds which then fail due to duplicate symbols. Nowhere in my repository is Foo_Foo defined or reference. Nowhere in the .xcodeproj/ folder is there mention of Foo_Foo. What am I doing wrong?
Replies
1
Boosts
0
Views
99
Activity
2w