Search results for

“xcode github”

95,421 results found

Post

Replies

Boosts

Views

Activity

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
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
RealityKit animation with bindTarget: .opacity doesn't work
I want to fade objects in and out, and while setting an entity's OpacityComponent works, animating it doesn't seem to do anything. In the following code the second sphere should fade out, but it keeps its initial opacity. On the other hand, the animation that changes its transform works. What am I doing wrong? class ViewController: NSViewController { override func loadView() { let arView = ARView(frame: NSScreen.main!.frame) let anchor = AnchorEntity(.world(transform: matrix_identity_float4x4)) arView.scene.addAnchor(anchor) let sphere = ModelEntity(mesh: .generateSphere(radius: 0.5)) anchor.addChild(sphere) sphere.components.set(OpacityComponent(opacity: 0.1)) let sphere2 = ModelEntity(mesh: .generateSphere(radius: 0.5)) sphere2.position = .init(x: 0.2, y: 0, z: 0) anchor.addChild(sphere2) sphere2.components.set(OpacityComponent(opacity: 0.1)) sphere.playAnimation(try! AnimationResource.makeActionAnimation(for: FromToByAction(to: 0, timing: .linear), duration: 1, bindTarget: .opacity)) sphe
4
0
390
2w
Push notifications not delivered over Wi-Fi with includeAllNetworks = true regardless of excludeAPNS setting
We have a VPN app that uses NEPacketTunnelProvider with includeAllNetworks = true. We've encountered an issue where push notifications are not delivered over Wi-Fi while the tunnel is active in a pre-MFA quarantine state (tunnel is up but traffic is blocked on server side), regardless of whether excludeAPNS is set to true or false. Observed behavior Wi-Fi excludeAPNS = true - Notifications not delivered Wi-Fi excludeAPNS = false - Notifications not delivered Cellular excludeAPNS = true - Notifications delivered Cellular excludeAPNS = false - Notifications not delivered On cellular, the behavior matches our expectations: setting excludeAPNS = true allows APNS traffic to bypass the tunnel and notifications arrive; setting it to false routes APNS through the tunnel and notifications are blocked (as expected for a non-forwarding tunnel). On Wi-Fi, notifications fail to deliver in both cases. Our question Is this expected behavior when includeAllNetworks is enabled on Wi-Fi, or is this a known issue / bug with APN
5
0
237
2w
Xcode 26 failed in the real-device debugging process
Development environment: MacBook pro Apple M1 macOS Tahoe 26.2 (25C56) Xcode 26.x iPhone 6 Plus / iOS 12.4.4 Exception description: After I upgraded to Xcode 26, my iPhone 6 Plus had a system version of 12.4.4. I was unable to perform real-device debugging, whether for existing projects or new ones. The error message from Xcode was as follows: Could not launch “xxx” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: Cannot launch '/private/var/containers/Bundle/Application/A44062C1-32F5-4346-B13C-FC3F39EAF7A1/xxx.app': Unspecified Even though I have already added device support for the iOS 12.4 Has Xcode 26 stopped supporting the debugging of any devices running iOS 12 system?
3
0
244
2w
XCode 26 build app run iOS12.5 device crash
undle/Application/D1E61F20-B0C9-4B21-8152-E4ABFA0979F2/YTVIP.app': Unspecified User Info: { DVTErrorCreationDateKey = 2026-03-04 03:05:58 +0000; DVTRadarComponentKey = 855031; IDERunOperationFailingWorker = DBGLLDBLauncher; RawUnderlyingErrorMessage = Cannot launch '/private/var/containers/Bundle/Application/D1E61F20-B0C9-4B21-8152-E4ABFA0979F2/YTVIP.app': Unspecified; } Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { device_identifier = d13ba5c93db94daa55ae177b1822998b675939a8; device_model = iPhone7,2; device_osBuild = 12.5.3 (16H41); device_osBuild_monotonic = 1607004100; device_os_variant = 1; device_platform = com.apple.platform.iphoneos; device_platform_family = 2; device_reality = 1; device_thinningType = iPhone7,2; device_transport = 1; launchSession_schemeCommand = Run; launchSession_schemeCommand_enum = 1; launchSession_targetArch = arm64; launchSession_targetArch_enum = 6; operation_duration_ms = 12938; operation_errorCode = 3; operation_errorDomain = IDEDebugSessionErrorDomain; oper
1
0
97
2w
Apple-hosted managed asset pack not found on macOS
Hi all, I have set up a trivial test project to try Apple-hosted background assets following the instructions in the three articles at https://developer.apple.com/documentation/backgroundassets. When I run the local mock server with xcrun ba-serve and set the URL override in Settings as described in the Testing asset packs locally article, I am able to download a test pack on my iOS devices. On the Mac that I use to run the mock server, however, the same call to AssetPackManager.shared.assetPack(withID: TestAssetPack) that works on iOS always reports The asset pack with the ID “TestAssetPack” couldn’t be looked up: No asset pack with the ID “TestAssetPack” was found. even when not running the mock server, which led me to believe that it may not be hitting it at all. In fact, the macOS app will download asset packs uploaded to App Store Connect even when running the local server and setting the xcrun ba-serve url-override to the exact same string as in Settings on iOS. My initial suspicion was that something i
12
0
575
2w
Reply to Is it possible to download or copy the iOS SDK for Xcode 26.1 using command-line tools? If so, how?
The SDKs for all of Apple's platforms are included in the main Xcode XIP image. By SDK here, I mean the textual files for the API interfaces, like header files and other supporting content. You can see them all if you peak inside the Xcode bundle under Xcode.app/Contents/Developer/Platforms/.platform/Developer/SDKs. What you need to download isn't the SDK, it's the platform support components, which includes the simulator. While you always have the textual SDKs, you can't run a build without installing the platform support components, as they are used during the build process. So while you aren't downloading installing the textual part of the SDK content, the large extra component download enables builds using that SDK. You found the right documentation article, and you want a command like this: xcodebuild -downloadPlatform iOS -exportPath ~/Downloads That will give you a DMG file, which you can then also install through the command line over night in your data center with: xcodebuild -impor
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
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
RealityKit animation with bindTarget: .opacity doesn't work
I want to fade objects in and out, and while setting an entity's OpacityComponent works, animating it doesn't seem to do anything. In the following code the second sphere should fade out, but it keeps its initial opacity. On the other hand, the animation that changes its transform works. What am I doing wrong? class ViewController: NSViewController { override func loadView() { let arView = ARView(frame: NSScreen.main!.frame) let anchor = AnchorEntity(.world(transform: matrix_identity_float4x4)) arView.scene.addAnchor(anchor) let sphere = ModelEntity(mesh: .generateSphere(radius: 0.5)) anchor.addChild(sphere) sphere.components.set(OpacityComponent(opacity: 0.1)) let sphere2 = ModelEntity(mesh: .generateSphere(radius: 0.5)) sphere2.position = .init(x: 0.2, y: 0, z: 0) anchor.addChild(sphere2) sphere2.components.set(OpacityComponent(opacity: 0.1)) sphere.playAnimation(try! AnimationResource.makeActionAnimation(for: FromToByAction(to: 0, timing: .linear), duration: 1, bindTarget: .opacity)) sphe
Replies
4
Boosts
0
Views
390
Activity
2w
Push notifications not delivered over Wi-Fi with includeAllNetworks = true regardless of excludeAPNS setting
We have a VPN app that uses NEPacketTunnelProvider with includeAllNetworks = true. We've encountered an issue where push notifications are not delivered over Wi-Fi while the tunnel is active in a pre-MFA quarantine state (tunnel is up but traffic is blocked on server side), regardless of whether excludeAPNS is set to true or false. Observed behavior Wi-Fi excludeAPNS = true - Notifications not delivered Wi-Fi excludeAPNS = false - Notifications not delivered Cellular excludeAPNS = true - Notifications delivered Cellular excludeAPNS = false - Notifications not delivered On cellular, the behavior matches our expectations: setting excludeAPNS = true allows APNS traffic to bypass the tunnel and notifications arrive; setting it to false routes APNS through the tunnel and notifications are blocked (as expected for a non-forwarding tunnel). On Wi-Fi, notifications fail to deliver in both cases. Our question Is this expected behavior when includeAllNetworks is enabled on Wi-Fi, or is this a known issue / bug with APN
Replies
5
Boosts
0
Views
237
Activity
2w
Family Controls Works in Xcode Physical Device, But does not work in Testflight
I have gotten all necessary entitlements for all my extensions,
Replies
1
Boosts
0
Views
134
Activity
2w
Xcode 26 failed in the real-device debugging process
Development environment: MacBook pro Apple M1 macOS Tahoe 26.2 (25C56) Xcode 26.x iPhone 6 Plus / iOS 12.4.4 Exception description: After I upgraded to Xcode 26, my iPhone 6 Plus had a system version of 12.4.4. I was unable to perform real-device debugging, whether for existing projects or new ones. The error message from Xcode was as follows: Could not launch “xxx” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: Cannot launch '/private/var/containers/Bundle/Application/A44062C1-32F5-4346-B13C-FC3F39EAF7A1/xxx.app': Unspecified Even though I have already added device support for the iOS 12.4 Has Xcode 26 stopped supporting the debugging of any devices running iOS 12 system?
Replies
3
Boosts
0
Views
244
Activity
2w
Reply to Xcode 26 failed in the real-device debugging process
iOS 12 is no longer supported for debugging with Xcode 26. There is no supported path for using iOS 12 in on-device development workflows in Xcode 26.
Replies
Boosts
Views
Activity
2w
XCode 26 build app run iOS12.5 device crash
undle/Application/D1E61F20-B0C9-4B21-8152-E4ABFA0979F2/YTVIP.app': Unspecified User Info: { DVTErrorCreationDateKey = 2026-03-04 03:05:58 +0000; DVTRadarComponentKey = 855031; IDERunOperationFailingWorker = DBGLLDBLauncher; RawUnderlyingErrorMessage = Cannot launch '/private/var/containers/Bundle/Application/D1E61F20-B0C9-4B21-8152-E4ABFA0979F2/YTVIP.app': Unspecified; } Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { device_identifier = d13ba5c93db94daa55ae177b1822998b675939a8; device_model = iPhone7,2; device_osBuild = 12.5.3 (16H41); device_osBuild_monotonic = 1607004100; device_os_variant = 1; device_platform = com.apple.platform.iphoneos; device_platform_family = 2; device_reality = 1; device_thinningType = iPhone7,2; device_transport = 1; launchSession_schemeCommand = Run; launchSession_schemeCommand_enum = 1; launchSession_targetArch = arm64; launchSession_targetArch_enum = 6; operation_duration_ms = 12938; operation_errorCode = 3; operation_errorDomain = IDEDebugSessionErrorDomain; oper
Replies
1
Boosts
0
Views
97
Activity
2w
Reply to XCode 26 build app run iOS12.5 device crash
Per the Xcode 26.3 Release Notes, Xcode 26.3 supports on-device debugging in iOS 15 and later. iOS 12 is no longer supported target for running your app with the debugger attached.
Replies
Boosts
Views
Activity
2w
Apple-hosted managed asset pack not found on macOS
Hi all, I have set up a trivial test project to try Apple-hosted background assets following the instructions in the three articles at https://developer.apple.com/documentation/backgroundassets. When I run the local mock server with xcrun ba-serve and set the URL override in Settings as described in the Testing asset packs locally article, I am able to download a test pack on my iOS devices. On the Mac that I use to run the mock server, however, the same call to AssetPackManager.shared.assetPack(withID: TestAssetPack) that works on iOS always reports The asset pack with the ID “TestAssetPack” couldn’t be looked up: No asset pack with the ID “TestAssetPack” was found. even when not running the mock server, which led me to believe that it may not be hitting it at all. In fact, the macOS app will download asset packs uploaded to App Store Connect even when running the local server and setting the xcrun ba-serve url-override to the exact same string as in Settings on iOS. My initial suspicion was that something i
Replies
12
Boosts
0
Views
575
Activity
2w
Reply to Is it possible to download or copy the iOS SDK for Xcode 26.1 using command-line tools? If so, how?
The SDKs for all of Apple's platforms are included in the main Xcode XIP image. By SDK here, I mean the textual files for the API interfaces, like header files and other supporting content. You can see them all if you peak inside the Xcode bundle under Xcode.app/Contents/Developer/Platforms/.platform/Developer/SDKs. What you need to download isn't the SDK, it's the platform support components, which includes the simulator. While you always have the textual SDKs, you can't run a build without installing the platform support components, as they are used during the build process. So while you aren't downloading installing the textual part of the SDK content, the large extra component download enables builds using that SDK. You found the right documentation article, and you want a command like this: xcodebuild -downloadPlatform iOS -exportPath ~/Downloads That will give you a DMG file, which you can then also install through the command line over night in your data center with: xcodebuild -impor
Replies
Boosts
Views
Activity
2w
Reply to Xcode 26 Kills Productivity by Making Global the State of Inspectors Pane
I've just received a notification that this issue has been addressed in Xcode 26.3, which introduced a setting to enable individual width for navigators/inspectors in window tabs. It's great that the Xcode team listens to our feedback.
Replies
Boosts
Views
Activity
2w