Search results for

smb big sur

11,793 results found

Post

Replies

Boosts

Views

Activity

Finder File Previews lock files on SMB shares
I've developed a new Quicklook data-based preview extension for a custom file type that generates an image preview of the file. I previously used a Quick Look generator plug-in but support for it was deprecated and now removed in macOS Sequoia. My app opens files using a open(url.path, O_RDWR | O_NONBLOCK | O_EXLOCK) call. The locking flags are used to prevent other clients from writing the file if it's already open. I discovered that when Finder is showing the “large” file previews (such as when in column or gallery modes) from a SMB share, the open call fails with EWOULDBLOCK as if the file is locked. It does work just fine on local files. Opening with O_SHLOCK also has the issue. Surprisingly it does work just fine for previews that return Plain Text data instead of Image data. Using the lsof command, it seems like the Quicklook process has some kind of lock on the file. This is the output of the lsof command: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE QuickLook 48487 XXXX txt REG 1,15 12500061
8
0
720
Dec ’24
Is it possible to publish an article on this forum?
Hello, forum admins. Thank you for your work in maintaining the forum in an active working condition. I have a question for you. Is it possible here, on the forum, not only to ask questions and get answers, but also to conduct technical discussions on current programming issues? For example, I would like to publish an article on design programming patterns and hear the opinions of other programmers working in this direction. I know that there are resources where we can publish articles. But here is the most big and active community of programmers using Apple technologies and it would be great to have the opportunity to publish articles here and organize thematic discussions. Best regards, John
4
0
715
Dec ’24
Reply to Add/Remove ReferenceObject after ARSession is started in visionOS
My usecase is user has a big scene including some areas(like a house with different room, or a room has different tables), each area has some objects need to tracking. If user walk from one area to another I want to switch to the objects that should be tracking. So should I load all RefereneceObjects at the begining? I still use hand tracking and world tracking for other function. If I stop ARSession to update ReferenceObjects for ObjectTrackingProvider, other tracking providers will also restart, this may affect user experience. And is there a method to fix this problem? Thanks @Vision Pro Engineer
Topic: Spatial Computing SubTopic: ARKit Tags:
Dec ’24
Unstable `archive` for `Debug` configuration (ld: file cannot be open()ed, errno=2)
We have a relatively big iOS-only project with around 80 build targets from swift packages (local features and external project dependencies) and Xcode 15.4 (originally, migrated to 16.0). Project compiles and runs great, but xcodebuild archive will fail 4 out of 5 tries with this: ld: file cannot be open()ed, errno=2 path=/opt/builds/fLLyxmhG/0/myapp/Build/Intermediates.noindex/ArchiveIntermediates/myapp (Development Flow)/BuildProductsPath/Debug-iphonesimulator/Account.o in '/opt/builds/fLLyxmhG/0/myapp/Build/Intermediates.noindex/ArchiveIntermediates/myapp (Development Flow)/BuildProductsPath/Debug-iphonesimulator/Account.o' Where Account.o is an end product of one of our feature packages linking to an .app itself. This error is not tied to this concrete package/product (which should be compiling almost last relative to build graph) and could appear mid-build in between our service layer packages. It seems (and is approved by Xcode timeline for .app archive log) that module dependency is compiled
0
0
426
Dec ’24
Reply to Notifications on iOS sourced from a machine on an offline local network
It is a data processing device for media files. It is designed to be used on location or on set for video productions. In these locations there may or may not be internet. Examples: iPad Pro, USB ethernet directly connected Macbook, using TBT4 networking iPhone, using Wi-Fi network served from our device Networking allows control of the device and serving of files over SMB which can be mounted on the apple device
Dec ’24
Inference with non-square Images
I'm trying to set up Facebook AI's Segment Anything MLModel to compare its performance and efficacy on-device against the Vision library's Foreground Instance Mask Request. The Vision request accepts any reasonably-sized image for processing, and then has a method to produce an output at the same resolution as the input image. Conversely, the MLModel for Segment Anything accepts a 1024x1024 image for inference and outputs a 1024x1024 image for output. What is the best way to work with non-square images, such as 4:3 camera photos? I can basically think of 3 methods for accomplishing this: Scale the image to 1024x1024, ignoring aspect ratio, then inversely scale the output back to the original size. However, I have a big concern that squashing the content will result in poor inference results. Scale the image, preserving its aspect ratio so its minimum dimension is 1024, then run the model multiple times on a sliding 1024x1024 window and then aggregating the results. My main concern here is the complex
0
0
420
Dec ’24
Reply to Does fcntl () or something else support 'File Descriptor' specific (& not process specific) byte-range advisory lock with support for shared/exclusive locking in macOS (& also iOS)?
Unfortunately, fcntl() OFD locks on macOS appear to always return -1 errno=EOPNOTSUPP (45) when the file to be locked in a network (SMB) share. This errno value is not documented on the man page for this use. POSIX (non-OFD) fcntl() locks on network (SMB) shared file work (return 0, no error), but then of course, we suffer the POSIX lock semantics. Anyone have a solution?
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’24
New application certificate fails to codesign binary file with error: "Warning: unable to build chain to self-signed root for signer <certificate> <filepath>: errSecInternalComponent"
Platforms: Ventura and Big Sur Steps to Reproduce: Create new application and installer CSRs with keypairs Generate new certificates in Apple web portal Repackage certificates as .p12 using exported private keys since they are not referenced in keychain app by default. Import certificates into MacOS Keychain Set certificate access to Always Trust for all certificate uses Sign binary fails using codesign --force --sign Sign installer package succeeds using productsign --sign Additional Info: The private keys ware initially not recognized by the Keychain application resulting a certificate without a private key leaf beneath them. To resolve it I exported the private key and repackaged certificate as a .p12 file. Both certificates appear good when evaluated for code signing The installer certificate shows an intermediate and root while the application certificate does not Repackaging as .p12 with expected intermediate and root did not resolve the issue Installing all available intermediates an
1
0
793
Dec ’24
unidentified developer error on macOS 11 (Big Sur)
[Not sure if this is the best sub-forum - please move or suggest where I can move to a better forum if needed!] I am supplying some .dylibs (Universal) to a client - they were build on macOS 13 (Ventura), using Xcode 14.2. macOS deployment target was set everywhere to macOS 10.11. The client built their own wrapper app, and are successfully running it everywhere - except on an Intel Mac running macOS 11 (Big Sur). They get the error dialog at startup: demoapp cannot be opened because it is from an unidentified developer. However, it does work correctly (no 'unidentified developer' error) in macOS 12 (Monterey) and newer OS versions, both on Intel and ARM. I do not have that old of a Mac to test on. I also explained that macOS 11 is no longer supported by Apple, but they do need to support it for a little while longer. I'm not sure what to suggest or have them check - or is this expected, and if so, why?
1
0
273
Dec ’24
Reply to Fails while establishing a VPN tunnel
Some more information on the topic. Here are the logs from the Console app for a successful sequence: default 12:17:49.259885+0200 kernel if_updown: utun12 is not attached default 12:17:49.259927+0200 kernel utun12: attached with 0 suspended link-layer multicast membership(s) default 12:17:49.259933+0200 kernel ifnet_attach: Waiting for all kernel threads created for interface utun12 to get scheduled at least once. default 12:17:49.259941+0200 kernel ifnet_attach: All kernel threads created for interface utun12 have been scheduled at least once. Proceeding. default 12:17:49.260128+0200 nesessionmanager getsockopt(UTUN_OPT_IFNAME) returned virtual interface name utun12 default 12:17:49.260163+0200 airportd Driver Discovery: _interfaceAdded: utun12 added. default 12:17:49.260186+0200 nesessionmanager Created a new NEVirtualInterface utun12 (7A0B6CE9-D92F-49F7-B9B7-2B4713D78034) default 12:17:49.261063+0200 kernel utun12: is now delegating en0 (type 0x6, family 2, sub-family 3) default 12:17:49.261166+0200 com.
Dec ’24
Emoji Keyboard size is large after updating to iOS 18.1
Emoji keyboard are way too big after updating to IOS 18.1 so anoying to use emojis now. I really don't like using emojis anymore. I really hope they are going to fix this quickly. I use my phone for work and pleasure. I don't needing my heart to be bigger or different colors to every reaction. Please bring back the smaller emoji keyboard or add a setting to switch it back. This is really annoying.
Topic: Design SubTopic: General Tags:
2
0
1.5k
Dec ’24
MAJOR UNNOTICED Issues with the photos app
I am an artist (singer songwriter) and I use the Photos app to manage albums related to my various creative projects. And these are some BIG issues that i am SURPRISED never came into the account or maybe were overlooked - Missing Search Bar When Adding Photos to Albums: Why there is no search bar when adding a photo to a bag of hundred of albums? (Artists like me like to organise things into different albums and folders) I can no longer search for albums by name after ios 18 update, which was previously very helpful in quickly locating them. Albums can be arranged & moved in the same folder but there is no way to move albums between DIFFERENT FOLDERS and the only wat is to create a new album in that folder and select and transfer everything and delete that old album.
1
0
588
Dec ’24