Search results for

“xcode github”

96,036 results found

Post

Replies

Boosts

Views

Activity

Apple Watch Missing Developer Mode Option
I have an iPhone 14 running iOS 16.1 and my series 5 watch running watchOS 9.1. I was able to turn on Developer Mode on the phone by going to Settings--> Privacy & Security --> Developer Mode. On the watch however (I'm doing this directly on the watch and not on the watch app on the phone) once I'm in Privacy & Security, there is no option to select Developer Mode. How do I get my watch in Developer Mode in order to get a successful build in xCode?
43
0
25k
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:
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
Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Hello community, I am implementing a Live Activity for my existing App Store app. The Live Activity works perfectly on the iOS Simulator, but it completely fails to appear on the physical device's lock screen. When I call Activity.request, it succeeds and returns a valid Activity ID, but the physical device's console immediately outputs the following errors from liveactivitiesd: liveactivitiesd is not entitled to specify a scene target. Defaulting containingProcess target to liveactivitiesd No asset provider bundle ID provided I have spent days debugging this and have tried every known workaround. Here is the comprehensive list of what I have already verified and attempted: Environment: Xcode: 16.4 iOS Device: iPhone 13 mini, iOS 26.3.1 macOS: Sequoia 15.6 What I have verified/tried (to avoid duplicate suggestions): NSSupportsLiveActivities: It is set to YES in the main app's Info.plist. I also tried adding it to the Widget Extension's Info.plist just in case. App Icons: The main app has a valid AppI
3
0
234
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.
4w
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
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
After loading my custom model - unsupportedTokenizer error
In Oct25, using mlx_lm.lora I created an adapter and a fused model uploaded to Huggingface. I was able to incorporate this model into my SwiftUI app using the mlx package. MLX-libraries 2.25.8. My base LLM was mlx-community/Mistral-7B-Instruct-v0.3-4bit. Looking at LLMModelFactory.swift the current version 2.29.1 the only changes are the addition of a few models. The earlier model was called: pharmpk/pk-mistral-7b-v0.3-4bit The new model is called: pharmpk/pk-mistral-2026-03-29 The base model (mlx-community/Mistral-7B-Instruct-v0.3-4bit.) must still be available. Could the error 'unsupportedTokenizer' be related to changes in the mlx package? I noticed mention of splitting the package into two parts but don't see anything at github. Feeling rather lost. Does anone have any thoguths and/or suggestions. Thanks, David
3
0
443
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 Apple Watch Missing Developer Mode Option
In case anyone else has the issue with the Apple Watch not showing, I went through everything above but finally saw in Xcode...settings...apple account that I had to log into to the apple portal to accept the new terms. Once I did that it seemed to work.
Replies
Boosts
Views
Activity
3w
Apple Watch Missing Developer Mode Option
I have an iPhone 14 running iOS 16.1 and my series 5 watch running watchOS 9.1. I was able to turn on Developer Mode on the phone by going to Settings--> Privacy & Security --> Developer Mode. On the watch however (I'm doing this directly on the watch and not on the watch app on the phone) once I'm in Privacy & Security, there is no option to select Developer Mode. How do I get my watch in Developer Mode in order to get a successful build in xCode?
Replies
43
Boosts
0
Views
25k
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
Live Activity works perfectly on Simulator but fails on physical device: "No asset provider bundle ID provided"
Hello community, I am implementing a Live Activity for my existing App Store app. The Live Activity works perfectly on the iOS Simulator, but it completely fails to appear on the physical device's lock screen. When I call Activity.request, it succeeds and returns a valid Activity ID, but the physical device's console immediately outputs the following errors from liveactivitiesd: liveactivitiesd is not entitled to specify a scene target. Defaulting containingProcess target to liveactivitiesd No asset provider bundle ID provided I have spent days debugging this and have tried every known workaround. Here is the comprehensive list of what I have already verified and attempted: Environment: Xcode: 16.4 iOS Device: iPhone 13 mini, iOS 26.3.1 macOS: Sequoia 15.6 What I have verified/tried (to avoid duplicate suggestions): NSSupportsLiveActivities: It is set to YES in the main app's Info.plist. I also tried adding it to the Widget Extension's Info.plist just in case. App Icons: The main app has a valid AppI
Replies
3
Boosts
0
Views
234
Activity
3w
Xcode Cloud Start Condition: Don't run on Github draft PRs
I've configured a workflow to run through tests when a PR is changed. https://developer.apple.com/documentation/xcode/configuring-start-conditions Is it possible to configure it so that the tests don't run while it's a draft PR and to only run it once it's moved to ready for review?
Replies
1
Boosts
0
Views
679
Activity
4w
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
4w
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
4w
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
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
After loading my custom model - unsupportedTokenizer error
In Oct25, using mlx_lm.lora I created an adapter and a fused model uploaded to Huggingface. I was able to incorporate this model into my SwiftUI app using the mlx package. MLX-libraries 2.25.8. My base LLM was mlx-community/Mistral-7B-Instruct-v0.3-4bit. Looking at LLMModelFactory.swift the current version 2.29.1 the only changes are the addition of a few models. The earlier model was called: pharmpk/pk-mistral-7b-v0.3-4bit The new model is called: pharmpk/pk-mistral-2026-03-29 The base model (mlx-community/Mistral-7B-Instruct-v0.3-4bit.) must still be available. Could the error 'unsupportedTokenizer' be related to changes in the mlx package? I noticed mention of splitting the package into two parts but don't see anything at github. Feeling rather lost. Does anone have any thoguths and/or suggestions. Thanks, David
Replies
3
Boosts
0
Views
443
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