Search results for

dsym file

77,682 results found

Post

Replies

Boosts

Views

Activity

Reply to Any (developer) option to override log quarantine?
Well, that was fun. Lemme start with some disclaimers. It’s impossible to talk about logging at this level without discussing implementation details, that is, information about how the system works today but which isn’t considered API. This stuff has changed in the past and could easily change again in the future. Don’t build knowledge of this into a product that you ship to a wide range of users. Also, the limits imposed by the system log are not arbitrary. They represent a trade-off between convenience — when debugging problems that come in from the field, more logging is always better — and cost. There are three specific costs of concern: Logging consumes CPU cycles, which leaves less available for real computation and also takes energy. Persistent logging consumes I/O bandwidth and even more energy. Persistent logging can contribute to SSD wear. The system log is a shared resource and it’s important to Apple that it remain useful for debugging a wide range of problems. I touch on this in Your Friend the S
Topic: App & System Services SubTopic: Core OS Tags:
3w
tensorflow-metal error
I'm using python 3.9.6, tensorflow 2.20.0, tensorflow-metal 1.2.0, and when I try to run import tensorflow as tf It gives Traceback (most recent call last): File /Users/haoduoyu/Code/demo.py, line 1, in import tensorflow as tf File /Users/haoduoyu/Code/test/lib/python3.9/site-packages/tensorflow/__init__.py, line 438, in _ll.load_library(_plugin_dir) File /Users/haoduoyu/Code/test/lib/python3.9/site-packages/tensorflow/python/framework/load_library.py, line 151, in load_library py_tf.TF_LoadLibrary(lib) tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/haoduoyu/Code/test/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib, 0x0006): Library not loaded: @rpath/_pywrap_tensorflow_internal.so Referenced from: <8B62586B-B082-3113-93AB-FD766A9960AE> /Users/haoduoyu/Code/test/lib/python3.9/site-packages/tensorflow-plugins/libmetal_plugin.dylib Reason: tried: '/Users/haoduoyu/Code/test/lib/python3.9/site-packages/tensorflow-plugins/../_solib_darwi
3
0
1.3k
3w
Reply to SpriteKit scene used as SCNView.overlaySKScene crashes due to SKShapeNode
Ok, so just to make things clear, is it expected that whenever I want to change the SpriteKit scene and also avoid concurrently accessing objects that may be changed in the current thread, I have to queue the SpriteKit changes by capturing all the needed state? It's just surprising to me that this is needed when SpriteKit is used as an overlay in SceneKit, but when running SpriteKit alone, it doesn't seem to be needed. I filed at least one feedback recently about crashes happening only when SpriteKit is used as SCNView.overlaySKScene. Is it expected that one has to use this... boilerplate code when embedded in SceneKit? Couldn't one do without it by simply overlaying a SkView on top of SCNView? class SceneController { private var shapeNode: SKShapeNode! func main() { let shapePath = CGPath(rect: CGRect(x: 0, y: 0, width: 10, height: 10), transform: nil) GameViewController.shared.updateSpriteKit { [shapeNode, shapePath] in shapeNode!.path = shapePath shapeNode!.fillColor = .systemRed } } } class GameV
Topic: Graphics & Games SubTopic: SpriteKit Tags:
3w
Reply to Trailing closure passed to parameter of type 'Int' that does not accept a closure
import SwiftUI struct DocumentTemplatesView: View { @StateObject private var documentService = DocumentService.shared @State private var selectedCategory: DocumentCategory? @State private var selectedTemplate: DocumentTemplate? @State private var searchText = var body: some View { NavigationView { VStack(spacing: 0) { // Search Bar HStack { Image(systemName: magnifyingglass) .foregroundColor(.secondary) TextField(搜索模板, text: $searchText) if !searchText.isEmpty { Button(action: { searchText = }) { Image(systemName: xmark.circle.fill) .foregroundColor(.secondary) } } } .padding() .background(Color(.systemBackground)) // Templates List if documentService.isLoading && documentService.categories.isEmpty { ProgressView(加载中...) .frame(maxWidth: .infinity, maxHeight: .infinity) } else if documentService.categories.isEmpty { VStack(spacing: 20) { Image(systemName: doc.text) .font(.system(size: 60)) .foregroundColor(.gray) Text(暂无文书模板) .font(.headline) .foregroundColor(.gray) Button(重新加载) { Task { @MainActor
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3w
Reply to URL(fileURLWithPath:) behavior change in iOS 26 - Tilde (~) in filename causes unexpected path resolution
@DTS Engineer Thanks a lot for you suggestions. The one thing that would definitely be better is a deletingPathExtension property on String, hence my suggestion that you file an ER for that. here is the case id for above request. FB21796995 ( Add path component properties to Swift String (ex: deletingPathExtension, lastPathComponent, pathExtension))
Topic: App & System Services SubTopic: General Tags:
3w
Reply to NETransparentProxyProvider frequent tunnel churn during Dark Wake cycles on macOS.
[quote='814079021, sdavda, /thread/814079, /profile/sdavda'] the Network Extension process is suspended [/quote] This comment suggests that you have misunderstood how sleep works on our platforms. When the system sleeps, the main CPU [1] stops running, meaning that all code on the device stops executing [2]. Now, on iOS and its child platforms we will suspend an app’s process when the app moves to the background. That mechanism is completely different from system sleep, and it doesn’t exist on macOS. [quote='814079021, sdavda, /thread/814079, /profile/sdavda'] Is it possible to suppress the sleep and wake callback methods of NETransparentProxyProvider when the device is performing a maintenance/Dark Wake … ? [/quote] Not directly. [quote='814079021, sdavda, /thread/814079, /profile/sdavda'] Is it possible to prevent the NETransparentProxyProvider process from being suspended during sleep … ? [/quote] That question doesn’t make sense given the design that I’ve outlined above. [quote='814079021, sdavda, /thread
3w
Reply to Support for Additional Key Exchange Groups (SecP256r1MLKEM768 and SecP384r1MLKEM1024) on iOS 26 for WKWebView and NSURLSession
[quote='814148021, mmeera, /thread/814148, /profile/mmeera'] Is there any way to enable these key exchange groups on iOS 26? [/quote] For you to enable them? No. If you’d like to see Apple support these cyphersuites, I encourage you to file an enhancement request for that, making sure to explain why these specific ones are important to your setup. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
3w
Reply to Having trouble catching a 'redirect' with URLSessionDownloadDelegate
Consider the tiny test program at the end of this post. For context, https://apple.com redirects to https://www.apple.com, so this exercises the redirect case. When I run it on my Mac (Xcode 26.2 on macOS 26.2) I see this: will run task will redirect did run task, status: 200, downloaded: file:///…/CFNetworkDownload_WvKFij.tmp That is, it fetches apple.com, which redirects to www.apple.com, that’s reported to the delegate, and then it continues the download. IMPORTANT This uses a standard session. If you’re using a background session, the system doesn’t call this delegate method. We even mention that in the docs (-: Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com import Foundation final class Delegate: NSObject, URLSessionDownloadDelegate { func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest? { print(will redirect) r
3w
Xcode 26: `IDERunDestination: Supported platforms for the buildables in the current scheme is empty` repeatedly logged when running tests from `.xctestrun` file
We are seeing repeated occurrences of the following log line in test runs triggered via .xctestrun files on iOS 26: IDERunDestination: Supported platforms for the buildables in the current scheme is empty. This line is printed n number of times after a test fails, significantly increasing test execution duration (2–3 minutes extra in some cases). The issue does not occur when tests are built and run together from Xcode directly — it’s specific to .xctestrun-based executions using xcodebuild test-without-building. Steps to Reproduce: Use Xcode 26 to build a sample XCTest target (we used a simple UI test project). Locate the generated .xctestrun file under DerivedData/.../Build/Products/.... Run tests using: xcodebuild -xctestrun /path/to/sample.xctestrun -destination id= test-without-building Observe the logs during test failure. Observed Behavior: The log line IDERunDestination: Supported platforms for the buildables in the current scheme is empty appears multiple times. The test cleanup a
1
0
312
3w
XCode26.2 ld: Assertion failed: ((ct == Atom::ContentType::objcConst) || (ct == Atom::ContentType::objcData) || (ct == Atom::ContentType::constData) || (ct == Atom::ContentType::constText)), function ObjCClassReadOnlyDataRef, file Atom.cpp, line 329
Dear Apple engineers: My previous project was successfully compiled using Xcode 16.2. Now, I need to adapt it to Xcode 26. I know that the linker in Xcode 26 has undergone significant changes. So, in the 'Other Linker Flags' configuration of the Build Settings in the project engineering of Xcode 26.2, I deleted '-ld64' and added '-Xlinker -dead_strip -Xlinker -dead_strip -allow_dead_duplicates' to adapt to the new linker of Xcode 26. After the modification, when I compiled my project engineering using Xcode 26.2 compiler, I encountered a new linker error. The error log is attached. Regarding this error, how should we solve it? Thank you. XCode26.2BuildErrorLog.txt
3
0
175
3w
Reply to watchOS architecture requirements
I'd just double-check what that column represents — I presume the first column is the compressed app size and the second column is the uncompressed app size, but the labels at the top that are likely scrolled out of view should tell you. If the label says installed size, then that is the uncompressed size and what the app takes up on disk after installation. If that's correct where your arrows are highlighting the uncompressed app size, then yes, your watchOS app is meeting the size limit noted by Maximum build file sizes. — Ed Ford,  DTS Engineer
3w
Reply to what does the "ageGates" parameter do..?
Thanks for taking the time to post your question here. What API are you talking about? You have file under Declared Age, so is in the DeclaredAgeRange? I would expand the question to provide more information about the method you are calling. Provide more details: Expanding on your post to include any code snippets, steps you've already taken to troubleshoot, and the expected/actual outcomes would be very helpful. Be specific about your technology stack: Clearly state the programming languages, frameworks, or tools you are using. Check for duplicates: Before posting, make sure your question hasn't been asked before. You can use the search bar to find similar threads. I'm sure someone in the community will be able to help once you have a chance to update your post. Thanks Albert Pascual
  Worldwide Developer Relations.
Topic: App & System Services SubTopic: General Tags:
3w
Driver Activation failure error code 9. Maybe Entitlements? Please help
This is my first driver and I have had the devil of a time trying to find any information to help me with this. I beg help with this, since I cannot find any tutorials that will get me over this problem. I am attempting to write a bridging driver for an older UPS that only communicates via RPC-over-USB rather than the HID Power Device class the OS requires. I have written the basic framework for the driver (details below) and am calling OSSystemExtensionRequest.submitRequest with a request object created by OSSystemExtensionRequest.activationRequest, but the didFailWithError callback is called with OSSystemExtensionErrorDomain of a value of 9, which appears to be a general failure to activate the driver. I can find no other information on how to address this issue, but I presume the issue is one of entitlements in either the entitlements file or Info.plist. I will have more code-based details below. For testing context, I am testing this on a 2021 iMac (M1) running Sequoia 15.7, and this iMac is on M
2
0
152
3w
Appkit without storyboards XCode 26.2
I’m running macOS 15.7 with Xcode 26.2, and I’m trying to learn the basics of AppKit. I’m fully aware that AppKit is considered a legacy / “old” technology and that Apple clearly does not promote it out of the box anymore. This is especially visible in recent versions of Xcode, where you can no longer create a macOS App template without Storyboards or SwiftUI. That said, AppKit is still widely used under the hood, so I think it’s reasonable to at least understand its fundamentals. Here’s the problem I’m facing. I create a standard macOS App project using the Xcode template (AppKit App Delegate). Then I: delete Main.storyboard remove all storyboard references from Info.plist try to create the window manually in applicationDidFinishLaunching At this point, the project builds, but the app either: does not show any window, or behaves as if it were not a proper GUI app While debugging, it looks like Xcode / Swift is treating my target more like a dylib / wrapper than a normal .app bundle (at least judging by runti
2
0
134
3w