Search results for

build disappears

50,283 results found

Post

Replies

Boosts

Views

Activity

App Intents with Custom Automation/Triggers
Currently, we are developing an all-in-one DualSense utility for macOS. We are exploring how to integrate shortcuts into our app. Our vision is to have the user use the native Shortcuts app to choose the controller buttons that should trigger the shortcut action, such as opening Steam, turning on audio haptics, and more. As we explore this approach, we want to see whether we need to build the UI in our app to set the triggers or can we do this inside of Shortcuts? Can button presses recorded by our app trigger shortcuts? Can those button inputs be customized inside of Shortcuts or should we develop it into our app? And if we have it in our app, can our app see, select, and trigger shortcuts?
0
0
48
1d
Reply to App Store submission validation failed: Missing info.plist value WKApplication
Thanks Ed, but I've just solved the problem. I'd inadvertently saved an archive from this App's build into the App's source directory. On deleting that extraneous archive, Validation then complained about Background Processing plist key (the app uses CoreData - CloudKit sync). Adding a plist entry fixed that error and now the app has passed validation and been uploaded - but doesn't yet appear in my iOS apps (for TestFlight testing).
1d
Cannot overwrite Swift package default traits in Xcode
I am using swift-subprocess, and need to disable the SubprocessSpan trait because Xcode 26.2 does not ship with a bundled version libswiftCompatibilitySpan.dylib, causing everything to crash built with Xcode that happens to use Span. However, I cannot disable that trait by doing any of the following things: .package( url: https://github.com/swiftlang/swift-subprocess.git, branch: main, traits: [] ), .package( url: https://github.com/swiftlang/swift-subprocess.git, branch: main, traits: [.trait(name: SubprocessFoundation)] ), Note that SubprocessSpan is default trait in subprocess: // Enable SubprocessFoundation by default var defaultTraits: Set = [SubprocessFoundation] #if compiler(>=6.2) // Enable SubprocessSpan when Span is available [except it is not] defaultTraits.insert(SubprocessSpan) #endif The package still builds with the SubprocessSpan enabled. This is not an issue with the subprocess package. According to this, I should use swift build on the command line, yet this isn't -- as
0
0
13
1d
Bug: Xcode 26.2 wants `ENABLE_DEBUG_DYLIB`: How do I enable that in `Package.swift`?
Xcode tells me Previewing in executable targets now requires a new build layout for unoptimized builds. Either set ENABLE_DEBUG_DYLIB to YES for this target, or break out your preview code into a separate framework with its own scheme. How do enable that in Package.swift. swiftSettings don't work (.define and unsafeFlags with -D ...). Creating a library product that the executable then depends on doesn't help either. I have two targets, one is an executable target. The #Preview macro is in the non-executable target.
1
0
15
1d
Reply to Installed Xcode - Canvas fails to boot
Thanks for the post. It seems like you're experiencing issues with Xcode 26.2 on macOS Sequoia. So the preview stops rendering anything in a simple Hello World app? Would you like to post the app here for developers to test and see how it behaves? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Verify that both your macOS and Xcode versions are fully updated. Since you're on Sequoia 15.7.3 and Xcode 26.2, check for any available updates for macOS that might address. I would recommend to move to macOS Tahoe. Sometimes, clearing derived data can resolve issues related to indexing and builds. You can do this by navigating to and deleting the contents. If the canvas is causing Xcode to hang, try disabling it temporarily. Open your project settings, navigate to the section, and uncheck “Live Views”. As a more drastic measure, consider completely uninstalling Xco
1d
Reply to VPN profile corruption
I have to say, I and everyone else in my team are very happy to see you analyse the dump of logs there. We had tried to read them many a times, but we did not manage to extract the insight you have. Thank you so much for the help. We will get rid of Go and it's weird stacks, but as per the docs (https://pkg.go.dev/os/signal#hdr-Non_Go_programs_that_call_Go_code) we might be installing some signal handlers, inadvertently. However, the original signal handlers should still be invoked, as pre the docs. For reference, we build the go library with buildmode c-archive. Even still, as per the docs, any time a signal is delivered, it should be handled the original signal handler, unless it was invoked on a Go routine. I would not be surprised if using Go in an iOS app was unsafe at any speed. So, something in your process is doing a synchronous blocking read on a pipe and that’s blocked indefinitely. And we can’t figure out what it is because the spindump isn’t showing the user-space component of the backtra
1d
controller.textDocumentProxy.documentContext not detecting pasted text in Gmail or Email apps
I found an issue related to Gmail and Email apps. When I try to fetch text using controller.textDocumentProxy.documentContext, it works fine every time in my original app and in the Messages app. However, in Gmail or Email apps, after pasting text, controller.textDocumentProxy.documentContext returns nil until the pasted text is edited. The same scenario works correctly in Messages and my original app. i'm trying it from my keyboard extension and my keyboard builded bases on KeyboardKit SDK when i jump to text Document Proxy it's referring me to UITextDocumentProxy
Topic: UI Frameworks SubTopic: UIKit
0
0
87
1d
Reality Composer Timeline unfinished
the timeline editor feels often unfinished. Setting the time cursor to a different time is often not reflected in the preview. You either have to click a clip or wait. sometimes the cursor even disappears, eg. when switching tabs to shadergraph Not being able to select and move multiple clips is missing. There is also no snapping to clips or time cursor as found in other tools. And then there is the timeline compile bug https://developer.apple.com/forums/thread/810868 The timeline as it is, is a good start but it definitely needs some more love to be on par with other commercial tools like Unity or After Effects.
1
0
148
1d
nonisolated Execution Differences Before and After Xcode 26.2
I have an older project that was created before Xcode 26.2. In Xcode versions prior to 26.2, there was no Swift Compiler – Concurrency build setting. With those older versions, the following behavior occurs: a nonisolated function executes off the main thread. class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() run() } private func run() { Task { await runInMainThread() } } func runInMainThread() async { print(>>>> IN runInMainThread(), Thread.isMainThread (Thread.isMainThread)) await runInBackgroundThread() } private nonisolated func runInBackgroundThread() async { print(>>>> IN runInBackgroundThread(), Thread.isMainThread (Thread.isMainThread)) } } Output: >>>> IN runInMainThread(), Thread.isMainThread true >>>> IN runInBackgroundThread(), Thread.isMainThread false However, starting with Xcode 26.2, Apple introduced the Swift Compiler – Concurrency settings. When running the same code with the default configurati
1
0
39
1d
Reply to Local Network permission appears to be ignored after reboot, even though it was granted
[quote='869942022, compiler_flags, /thread/792453?answerId=869942022#869942022, /profile/compiler_flags'] including on products that have menu bars. [/quote] OK. That’s something I should look at because: This isn’t expected behaviour. And it’s not the behaviour that most developers see. But you’re obviously seeing it consistently. And I’ve seen reports similar to this from other developers, so there’s clearly something missing somewhere. [quote='869942022, compiler_flags, /thread/792453?answerId=869942022#869942022, /profile/compiler_flags'] I use netcat to create an opening listening port on one and then copied the compiled version of NetworkIssueTest.app … [/quote] OK. I’d like to try this here in my office. I specifically want to try it with the exact binary that you compiled, but it’d be great if I had the source code to build that as well. Probably the best way to get that to me is to file a bug. That way you can attach all the necessary bits. And, honestly, your latest test should work, so it’
1d
Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }
Hello I am using 26.2 (25C56) on my m4 air. when I am working on a Flutter project suddenly my app crashed and after when I tried to build the application again this error occurs. How to fix it. ? Launching lib/main.dart on iPhone 16e in debug mode... Xcode build done. 2.4s Failed to build iOS app Uncategorized (Xcode): Unable to find a destination matching the provided destination specifier: { id:45967BD9-44E0-4D5D-8C43-C5437F48836A }Available destinations for the Runner scheme: { platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00008132-001E5102020B801C, name:My Mac } { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device } { platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device } Could not build the application for the simulator. Error launching application on iPhone 16e.
1
0
30
1d
Reply to Changing Dock Icon for my Qt app
It’s better to reply as a reply, rather than in the comments; see Quinn’s Top Ten DevForums Tips for this and other titbits. Thanks for those answers. My advice here is that you change tack. Rather than try to set this at runtime based on an environment variable, have your installer install an app with the right icon. That doesn’t mean that you need N installers for your N icons. There are a couple of ways that you can customise the icon on the fly. The first is to have a post-install script that applies a custom icon to your app. This has one key advantage: It’s easy to implement (-: Specifically, setting a custom icon doesn’t affect the app’s code signature. However, I’m not sure it’s actually the right option for you, because of the issues you raised in your other thread, Changing the menu bar display name. There’s no way to set a custom app name like this. Honestly, I can’t think of a good way to set the app name at all. macOS expects apps to be static artefacts. While you can change some of this stuff at
Topic: UI Frameworks SubTopic: General Tags:
2d
Reply to Content Filter Permission Prompt Not Appearing in TestFlight
[quote='872014022, lilan, /thread/773414?answerId=872014022#872014022, /profile/lilan'] Do you mean that I need to add that line on my entitlements? [/quote] I presume you’re referring to the get-task-allow entitlement. If so, then no, that’s not what I mean. That entitlement is managed by Xcode. It automatically adds it when you sign for development and omits it out when you sign for distribution. Let’s ignore development signing for the moment, because shipping apps are necessarily distribution signed. In that case, you have the three options outlined by TN3134: On supervised devices, the device manager can install a configuration profile that enables your content filter system wide. On managed devices, the device manager can use MDM to install a configuration profile that enables your content filter for specific managed apps, also installed by MDM. If you’re building a Screen Time app, your app can programmatically enable its content filter. This is subject to very specific criteria, outlined in t
2d