Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

Accesing Files in Thumbnail Extension and Quick Look Extension
I am developing Thumbnail Extension. To prepare a graphic (in .dylib) for file specified in URL.path I need to access second file, which has the same filename, but different extension. For example, I have "data" in file.*** and "colors" in file.yyy. Is it possible to read data from this second file while processing the first file in my extension? In my current implementation it sometimes works, but most of the time it doesn't work - it is not possible to read data from file.yyy when preparing thumbnail for file.***, causing exception in my .dylib routine. Is there some setting which would allow me to do this?
0
0
35
21h
Using .dylib in Quick Look Preview Extension target for macOS
I am developing "Thumbnail Extension" and "Quick Look Preview Extension" on Mac Apple M2 with Sonoma 14.5 These extension need 3rd party dynamic lib. (This .dylib I develop in Delphi FMX on Windows computer for macOS.ARM 64-bit architecture) I was able to drag & drop this .dylib to "Thumbnail Extension" target in XCode, "Embed & Sign" on "General" tab and then use dllopen/dlsym/dclose to use it in .swift code - and it works as expected, generating thumbnails for my custom extension files. However the same steps do not work for "Quick Look Preview Extension" target: The .dylib is drag & drop added to this target of my XCode project, "Embed & Sign" on "General" tab and build & run. I obtain "Previewer not found." dialog when SPACE-key viewing a file in Finder. (This happens even without calling dllopen/dlsym/dclose in my code.) After removing the .dylib from target "Quick Look Preview Extension" it works and shows my simple "generic hello world" graphic as Preview. I have checked the container of app bundle on disk to make sure that .dylib is on correct place, and it is: my.app/Contents/Plugins/Previewer.appex/Contents/Frameworks/libmydll.dylib The size of this .dylib is 13.5 MB The .appex and .dylib are both signed, using "Development" signing certficate. I am confused why this .dylib is working for "Thumbnail Extension" but not for "Quick Look Preview Extension". It seems to me that due to some reason system rejects to load this extension as soon as it contains .dylib, even without accessing it from my code.
1
0
44
1d
Sign in with Apple intermittent 400 invalid_request
Hello, We are currently facing an issue with Apple Sign In that only occurs very rarely, and that for some reason mainly affects the Apple Review team, as everyone in the company can register with their personal Apple Account, and we can see multiple users in production using Apple Login. The problem is that when our BackEnd tries to validate the information on https://appleid.apple.com/auth/token we receive a "{"error":"invalid_request"}". We have no idea what is causing this intermittent issue and we currently have no way to reproduce it. We have been loging both succesull request and failing request and all look very simmilar and we have no ideia what may be causing the 400 here is an example of a curl that generated the problem curl --location 'https://appleid.apple.com/auth/token' --header 'Accept: application/json' --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'client_id=----SECRET----'' --data-urlencode 'client_secret=----SECRET----' --data-urlencode 'grant_type=authorization_code' --data-urlencode 'code=----SECRET----'' --data-urlencode 'redirect_uri=----SECRET----'' Any ideia what may be causing this?
1
0
53
1d
Trouble downgrading to iOS 17 from 18 Developer Beta w/iCloud Save
Hey, I’m an iPhone user of nearly 4 months, and recently, I found out about the iOS 18 developer version. I wanted to try it, so I bought an iCloud subscription and backed up my phone. I downloaded the update overnight through the settings app, and when I woke, it prompted me to restart or along those lines, to which it showed the apple logo and a progress bar as per usual. I didn’t even notice a difference between 17 and 18 until I swiped down to get to the control panel, and instantly, I wanted to switch back. I could no longer see features like my over $300 AirPod’s volume decibel amount; something I use on a regular basis to make sure I’m not developing hearing loss. So, when I got home from school later that day, I looked at the official Apple guide to downgrading to a previous iCloud version. Following the featured steps, I factory reset the iPhone through the General > Transfer or Reset iPhone > Erase all content and settings. I made sure to skip the automatic backup this process created. Then, after it was finished resetting, I followed the standard iPhone setup process until it asked me if I had a backup. I clicked it, signed in with my Apple ID, then clicked “Show All Versions” (as to not backup with an iPhone 18 beta backup) and clicked on my backup from the night prior. Then, it went to the black screen with the Apple logo and a progress bar again, and a few minutes later, the phone booted up. It all seemed normal, up until I saw the iOS 18 control center. I did this whole process again just to make sure I didn’t accidentally mess the procedure up, but I got the same result. Can anyone help me with this? Thanks in advance, Gray (posting this here because usual apple forums remove anything mentioning developer things)
1
0
59
2d
Issue running app when SIP disabled.
I've been developing an MacOS app for a while and everything was going smoothly until one of the testers reported that the app was crashing on launch. After investigation, we discovered that he had System Integrity Protection disabled. I could reproduce the error by disabling SIP: Library not loaded: @rpath/myframework.framework/myframework Referenced from: <4C129258-1BF8-3D30-9AFE-BF4206D0A767> /Applications/MyApp.app/Contents/MacOS/MyApp Reason: , (security policy does not allow @ path expansion) (terminated at launch; ignore backtrace) The app launches normally if I reenable SIP. I can't find information about "security policy does not allow @ path expansion". I'll appreciate if someone can point me in the right direction.
2
0
94
2d
Xcode 16 Beta Unable to Complete a Commit in Git
Unlike Xcode 15 where it's easy in source control to type in a commit message and then do the actual commit in git, in Xcode 16 there doesn't seem to be anywhere to do this. Yes, in the beta I can do a menu select to go to 'commit changes...', and I found the new way to stage changes. So far so good. But where is the 'commit' button to complete a commit? Is anyone else finding this an issue?
1
0
56
2d
Official VSCode extension to support .pbxproj file type
Apple mentions that they are willing to support developers on various platforms. One of them is VS Code. I just wonder if Apple tries to give official support for Xcode project files like the extension below. https://marketplace.visualstudio.com/items?itemName=mariomatheu.syntax-project-pbxproj We can download and use this extension, yes but I just wonder if Apple considers to publish any extension like above on VSCode marketplace officially?
0
0
53
2d
Get Crash Reports for watchOS Apps
I hope I'm wrong on this one, but as far as I understand watchOS is not able to collect/ capture Mach Exceptions and Signals. Which is the majority of crashes happening on watchOS. I'm looking for a proper way to automatically receive crash reports from a watchOS app. If this truly is a system limitation there's no way any tool can workaround it. Does anyone know of a workaround or tool to automatically collect crashes on watchOS? (I'm aware that it's possible to do so manually)
1
0
80
3d
Problem with Utility screen?
The screen that displays wifi, bluetooth, airplane mode and other features. When I tried to add translate as a shortcut, it duplicated and won’t leave the screen. I have a screen shot and screen recording that I would like to add but am not sure how. I tried adding the picture and it has added this link. Any ideas how to get rid of these ghost images of shortcuts?
3
0
104
3d
TestFlight – can't add build to external group
Hi, I'm unable to add the 3rd build of my TestFlight app to any external testing group (but I can for an internal testing group). The 2nd build was successfully added to an external testing group, the 3rd build has the status "Ready to test", and I've expired all other builds. I've also completed the "What to test" section in English (U.K) and English (U.S). Any idea what I might be doing wrong? Thanks!
1
0
75
3d
API to get warranty details of Apple devices
I am reaching out to inquire if there is an available API that allows us to retrieve warranty details for Apple devices. Specifically, I'm looking for an automated method to access information such as warranty status, expiration date, and any coverage details associated with our Apple products. Could you please provide information on whether such an API exists? If it does, I would appreciate guidance on how we can access and use it. Any documentation or reference materials you can share would be highly beneficial. Thanks, Abhijith
1
0
65
3d
FinanceKit not an SDK option in Feedback Assistant
I just had an awesome lab for FinanceKit, and I have a few pieces of feedback to file, but I don't find FinanceKit as an SDK option in Feedback Assistant. I first went into "Developer Technologies & SDKs", and then selected 'iOS' as the platform, but 'FinanceKit' is not in the list 🤷‍♂️ I can select 'Something else not on this list', but I don't want the feedback to get lost! Please help!
2
0
94
3d