Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Reply to Programmatic IP Discovery for VZVirtualMachine in an App Store Sandbox
never mind i managed to get the sample code from apple container github repository. now i can reserve a pool of ip address and assign ip address to guest from that. thanks for the heads up. it seem to be that VZVmnetNetworkDeviceAttachment is only avaialble for mac os 26 how can accomplist this with 14 and 15. any idea? And aslo after doing this i would like to do the port forwarding. Any idea how can i accomplish this.
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Just a quick follow-up to my previous post with a new discovery that unfortunately invalidates my daemon caching/quarantine theory. It turns out the temporary Bundle ID test (.test) was a false positive. Because the temporary ID wasn't linked to our production backend services and entitlements (like RevenueCat, CloudKit, etc.), the extension crashed immediately upon launch, throwing a Public XPC connection invalidated error. Because the XPC connection died so early in the lifecycle, liveactivitiesd simply never reached the stage where it attempts to resolve the asset provider. So, the No asset provider error didn't disappear because a cache was cleared; it disappeared because the process didn't survive long enough to trigger it. We are officially back to square one. To rule out a few other obscure Xcode build traps, I have also double-checked the following: Info.plist Generation: Ensured Generate Info.plist File is not overwriting our manual NSSupportsLiveActivities flag. The flag is 100% making it i
3w
Reply to MatchMaker VC not showing existing matches after upgrade.
Code-level support finally responded with a very generic request for a reduced project to duplicate problem. Apparently, they did not read that the problem was only for a particular user after they upgraded, so reproducing the error only works if they can log into GameCenter as that particular user. Recompiled using XCode 26.4 and the problem appears to go away.
3w
Reply to `sysextd` rejects new `NEFilterDataProvider` activation with "no policy" on macOS 26 — despite valid Developer ID + notarization
I'm hitting the identical issue with a NEPacketTunnelProvider system extension on macOS 26.2 (25C56), Apple M1 Pro, Xcode 26.4. Developer ID signed, app in /Applications, no quarantine, no MDM. Context: I'm building a WireGuard-based VPN client. The app was previously working as an app extension (.appex with packet-tunnel-provider entitlement). I migrated to the system extension model for Developer ID distribution — .systemextension bundle in Contents/Library/SystemExtensions/, CFBundlePackageType SYSX, Mach-O MH_EXECUTE, NEProviderClasses in Info.plist, systemextensionsctl developer on. I've verified: App runs from /Applications (confirmed via ps aux) No com.apple.quarantine xattr Developer ID Application signing on both app and extension, same certificate, same team (verified via codesign -dvvv) Correct entitlements: com.apple.developer.system-extension.install on host app, packet-tunnel-provider-systemextension on both embedded.provisionprofile present in both app and extension PkgInfo contains SY
4w
"Upload for App Store Connect" not getting past "Preparing to upload"
For the past couple of days having a problem with Xcode 26.4. When I try to upload an archive to App Store Connect, it gets stuck on Uploading. I see the progress bar about 70% full, and a Preparing to upload xxxx.ipa label below. Letting it sit overnight, restarting Xcode, machine, etc. and the same result. Anybody else seeing?
7
0
326
4w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Hi Albert, Thank you so much for the detailed response and the excellent pointers! I deeply appreciate you taking the time to look into this. I went through your suggestions step-by-step: Embedded Content & Code Signing: I verified that the Widget Extension is correctly listed under Frameworks, Libraries, and Embedded Content. By inspecting the compiled app container, I confirmed the .appex is successfully sitting inside the PlugIns folder. Push Notifications Capability: Great catch. I added the Push Notifications capability to the main app target. Unfortunately, the behavior remained the same. 4KB Limit: For testing, I am using an absolute minimal payload (just a single short string and an integer) and a barebones Text(Test) UI, so we are well under the limit. However, we ran some aggressive isolation tests over the weekend and discovered something fascinating that points to a completely different root cause. Here is what we found: Completely New Minimal App: We created a brand new, minimal iOS project a
4w
Reply to Understanding SwiftUI toolbars
Here is the SidebarView toolbar from the app that behaves. .toolbar { ToolbarItemGroup(placement: .automatic) { displayModeToggle sortMenu } } Here is the main content toolbar from the app that behaves. @ToolbarContentBuilder private var windowToolbarContent: some ToolbarContent { if selectedPhoto != nil { ToolbarItem(placement: .navigation) { toolbarTitleCapsule } } ToolbarItemGroup(placement: .primaryAction) { lockToggleButton removeLockButton if selectedPhoto == nil, !showingSlideshow, !(collectionManager.isSelectedCollectionPasswordProtected && collectionManager.isLocked), !filteredPhotos.isEmpty { Button { detailPhotoID = filteredPhotos.first?.id showingSlideshow = true } label: { Label(Slideshow, systemImage: play.fill) } } } } Here is the Sidebar toolbar from the app that misbehaves. .toolbar { ToolbarItemGroup(placement: .automatic) { sortMenu } } Here is the main content toolbar from the app that misbehaves. @ToolbarContentBuilder private var windowToolbarContent: some ToolbarContent { Toolba
Topic: UI Frameworks SubTopic: SwiftUI
4w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Thanks for the post. This is very interesting. Since the Live Activity works perfectly on the Simulator but fails on a physical device with the error No asset provider bundle ID provided and entitlement warnings, this heavily points to a Code Signing / Provisioning Profile mismatch in my modest opinion. The error No asset provider bundle ID provided often means liveactivitiesd cannot trace the extension back to its host app to fetch the required assets (like the App Icon). Go to your Main App Target in Xcode and select the General tab. Scroll down to Frameworks, Libraries, and Embedded Content and make sure your Widget Extension is listed here. If it is missing, the physical device won't install the extension properly alongside the app. It should be set to Embed Without Signing? Because the error explicitly mentions is not entitled to specify a scene target, your provisioning profile might be missing the implicit entitlements required. Ensure your App ID has the correct capabilities enabled. If you a
4w
Reply to NSWritingToolsCoordinator issue with text replacement
I've tried the sample code with the following steps and don't see the issue: Build and launch the sample code on my macOS 26.4.1 (25E253) with Xcode 26.4 (17E192). Select all the text and click the toolbar item on the top-right corner to show the Writing Tools UI. Click Professional to show the Writing Tools bar; observe that writingToolsCoordinator(_:replace:in:proposedText:reason:animationParameters:completion:) is called several times while the text is updated. Click Done and observe that writingToolsCoordinator(_:replace:in:proposedText:reason:animationParameters:completion:) is called again. So everything seems to work as expected for me. I don't see a “Replace” button in the Writing Tools UI. I don't quite remember if that was an element in an earlier version, but maybe you can check with the latest macOS version if you see the same thing, as described above? Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: AppKit Tags:
4w
Xcode 26 with simulator 16 ?
mac mini xcode 26.4, but the simulator version is 16. how can i update the simulator to version 26?
Replies
2
Boosts
0
Views
136
Activity
3w
Reply to Programmatic IP Discovery for VZVirtualMachine in an App Store Sandbox
never mind i managed to get the sample code from apple container github repository. now i can reserve a pool of ip address and assign ip address to guest from that. thanks for the heads up. it seem to be that VZVmnetNetworkDeviceAttachment is only avaialble for mac os 26 how can accomplist this with 14 and 15. any idea? And aslo after doing this i would like to do the port forwarding. Any idea how can i accomplish this.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
3w
Reply to Can’t paste into Simulator after updating to Xcode 26.4
I tried dropping back to Xcode 26.3, but it doesn't work there either. Perhaps the bug was actually introduced with a recent MacOS update?
Replies
Boosts
Views
Activity
3w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Just a quick follow-up to my previous post with a new discovery that unfortunately invalidates my daemon caching/quarantine theory. It turns out the temporary Bundle ID test (.test) was a false positive. Because the temporary ID wasn't linked to our production backend services and entitlements (like RevenueCat, CloudKit, etc.), the extension crashed immediately upon launch, throwing a Public XPC connection invalidated error. Because the XPC connection died so early in the lifecycle, liveactivitiesd simply never reached the stage where it attempts to resolve the asset provider. So, the No asset provider error didn't disappear because a cache was cleared; it disappeared because the process didn't survive long enough to trigger it. We are officially back to square one. To rule out a few other obscure Xcode build traps, I have also double-checked the following: Info.plist Generation: Ensured Generate Info.plist File is not overwriting our manual NSSupportsLiveActivities flag. The flag is 100% making it i
Replies
Boosts
Views
Activity
3w
Reply to Xcode Cloud Start Condition: Don't run on Github draft PRs
My current workflow is: Create draft PR Assign github copilot to review Resolve any copilot comments Set PR to ready If there's a lot of back & forth before all comments are resolved, it's just wasted time running the workflow which will either be cancelled or run again when PR is ready.
Replies
Boosts
Views
Activity
3w
Reply to MatchMaker VC not showing existing matches after upgrade.
Code-level support finally responded with a very generic request for a reduced project to duplicate problem. Apparently, they did not read that the problem was only for a particular user after they upgraded, so reproducing the error only works if they can log into GameCenter as that particular user. Recompiled using XCode 26.4 and the problem appears to go away.
Replies
Boosts
Views
Activity
3w
Xcode 26.4 Simulator Won't Load Game Center Data
For apps that support Game Center, calling presentViewController on a GKGameCenterViewController yields no data for leaderboards or achievements, regardless of which iOS version you're simulating (works fine on device, but doesn't work in simulator).
Replies
0
Boosts
0
Views
176
Activity
3w
Reply to `sysextd` rejects new `NEFilterDataProvider` activation with "no policy" on macOS 26 — despite valid Developer ID + notarization
I'm hitting the identical issue with a NEPacketTunnelProvider system extension on macOS 26.2 (25C56), Apple M1 Pro, Xcode 26.4. Developer ID signed, app in /Applications, no quarantine, no MDM. Context: I'm building a WireGuard-based VPN client. The app was previously working as an app extension (.appex with packet-tunnel-provider entitlement). I migrated to the system extension model for Developer ID distribution — .systemextension bundle in Contents/Library/SystemExtensions/, CFBundlePackageType SYSX, Mach-O MH_EXECUTE, NEProviderClasses in Info.plist, systemextensionsctl developer on. I've verified: App runs from /Applications (confirmed via ps aux) No com.apple.quarantine xattr Developer ID Application signing on both app and extension, same certificate, same team (verified via codesign -dvvv) Correct entitlements: com.apple.developer.system-extension.install on host app, packet-tunnel-provider-systemextension on both embedded.provisionprofile present in both app and extension PkgInfo contains SY
Replies
Boosts
Views
Activity
4w
Reply to "Upload for App Store Connect" not getting past "Preparing to upload"
Hey im having the same issues.. Says uploading and then gets stuck on sending analysis to App Store Connect. macOS 26.3.1a Xcode 26.4
Replies
Boosts
Views
Activity
4w
"Upload for App Store Connect" not getting past "Preparing to upload"
For the past couple of days having a problem with Xcode 26.4. When I try to upload an archive to App Store Connect, it gets stuck on Uploading. I see the progress bar about 70% full, and a Preparing to upload xxxx.ipa label below. Letting it sit overnight, restarting Xcode, machine, etc. and the same result. Anybody else seeing?
Replies
7
Boosts
0
Views
326
Activity
4w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Hi Albert, Thank you so much for the detailed response and the excellent pointers! I deeply appreciate you taking the time to look into this. I went through your suggestions step-by-step: Embedded Content & Code Signing: I verified that the Widget Extension is correctly listed under Frameworks, Libraries, and Embedded Content. By inspecting the compiled app container, I confirmed the .appex is successfully sitting inside the PlugIns folder. Push Notifications Capability: Great catch. I added the Push Notifications capability to the main app target. Unfortunately, the behavior remained the same. 4KB Limit: For testing, I am using an absolute minimal payload (just a single short string and an integer) and a barebones Text(Test) UI, so we are well under the limit. However, we ran some aggressive isolation tests over the weekend and discovered something fascinating that points to a completely different root cause. Here is what we found: Completely New Minimal App: We created a brand new, minimal iOS project a
Replies
Boosts
Views
Activity
4w
Reply to Understanding SwiftUI toolbars
So could you post complete code so that we can test on our own ? Which version of Xcode ? Is it on simulator or device ? In this case, which OS version ?
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
4w
Reply to Understanding SwiftUI toolbars
Here is the SidebarView toolbar from the app that behaves. .toolbar { ToolbarItemGroup(placement: .automatic) { displayModeToggle sortMenu } } Here is the main content toolbar from the app that behaves. @ToolbarContentBuilder private var windowToolbarContent: some ToolbarContent { if selectedPhoto != nil { ToolbarItem(placement: .navigation) { toolbarTitleCapsule } } ToolbarItemGroup(placement: .primaryAction) { lockToggleButton removeLockButton if selectedPhoto == nil, !showingSlideshow, !(collectionManager.isSelectedCollectionPasswordProtected && collectionManager.isLocked), !filteredPhotos.isEmpty { Button { detailPhotoID = filteredPhotos.first?.id showingSlideshow = true } label: { Label(Slideshow, systemImage: play.fill) } } } } Here is the Sidebar toolbar from the app that misbehaves. .toolbar { ToolbarItemGroup(placement: .automatic) { sortMenu } } Here is the main content toolbar from the app that misbehaves. @ToolbarContentBuilder private var windowToolbarContent: some ToolbarContent { Toolba
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
4w
Reply to Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Thanks for the post. This is very interesting. Since the Live Activity works perfectly on the Simulator but fails on a physical device with the error No asset provider bundle ID provided and entitlement warnings, this heavily points to a Code Signing / Provisioning Profile mismatch in my modest opinion. The error No asset provider bundle ID provided often means liveactivitiesd cannot trace the extension back to its host app to fetch the required assets (like the App Icon). Go to your Main App Target in Xcode and select the General tab. Scroll down to Frameworks, Libraries, and Embedded Content and make sure your Widget Extension is listed here. If it is missing, the physical device won't install the extension properly alongside the app. It should be set to Embed Without Signing? Because the error explicitly mentions is not entitled to specify a scene target, your provisioning profile might be missing the implicit entitlements required. Ensure your App ID has the correct capabilities enabled. If you a
Replies
Boosts
Views
Activity
4w
Reply to NSWritingToolsCoordinator issue with text replacement
I've tried the sample code with the following steps and don't see the issue: Build and launch the sample code on my macOS 26.4.1 (25E253) with Xcode 26.4 (17E192). Select all the text and click the toolbar item on the top-right corner to show the Writing Tools UI. Click Professional to show the Writing Tools bar; observe that writingToolsCoordinator(_:replace:in:proposedText:reason:animationParameters:completion:) is called several times while the text is updated. Click Done and observe that writingToolsCoordinator(_:replace:in:proposedText:reason:animationParameters:completion:) is called again. So everything seems to work as expected for me. I don't see a “Replace” button in the Writing Tools UI. I don't quite remember if that was an element in an earlier version, but maybe you can check with the latest macOS version if you see the same thing, as described above? Best, —— Ziqiao Chen  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
4w