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

Post

Replies

Boosts

Views

Activity

Continuity for Development Use
Continuity is a very useful feature across Apple devices. Recently, I’d like to integrate continuity into my app by invoking sketch from the app. I couldn’t find an API for this, nor can I can find the program invoked when I right click on finder and try to add a drawing from my iPad. My two questions are: Is the feature officially supported for development use? In general, is it possible to trace what programs are called when I invoke a feature through the MacOS GUI?
0
0
111
1w
Using MacBook Pro to Program in R
I am trying to learn how to program in R and would like to download a version of the program so that I can use it after my class is over and I lose access to my lab version of R. I went to https://cran.r-project.org/mirrors.html and selected a link in my country and downloaded the arm64.pkg for the most current version, but when I click the installer it tells me that the version cannot be installed on 'this computer'. I have Sonoma 14.5, so I believe it should be able to download. I have the RStudio downloaded as well so I have something to view once I can get the R program up and running. Does anyone know how to get the R program installed on a mac running on Sonoma 14.5?
1
0
100
1w
Previewing your app’s interface in Xcode
// // ContentView.swift // HardApp // // Created by Besleaga Alexandru Marian on 14.06.2024. // import SwiftUI struct ContentView: View { var body: some View { VStack { Image(systemName: "globe") .imageScale(.large) .foregroundColor(.accentColor) Text("Hello, world!") } .padding() } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } // A SwiftUI preview. #Preview { Use of unknown directive '#Preview' // The view to preview. } I'm trying to learn Xcode and got stuck on these error that I receive when trying to apply the macro #Preview, how can declare the directive so I can use it in my own code for the preview it offers ? Kind Regards
1
0
103
1w
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
88
1w
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
144
1w
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
1
105
1w
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
92
1w
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)
2
0
168
1w
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
129
1w
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
125
1w
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
2
0
114
1w
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
148
1w
iPhone Mirroring API
I'm super excited about the announcement of iPhone Mirroring on macOS. Will there be a way to communicate with a connected device throughout an API? E.g., will we developers get a way to write automation or interact with the connected device via code?
6
0
228
2w