Posts

Sort by:
Post not yet marked as solved
0 Replies
5 Views
Obviously I am a developer, I was also one back in the day with Borland when they came out with great alternatives to Microsoft! Back then we had two people in a garage trying to develop a tinkerer version of this revolutionary small version of a device to rival the big bucks vaz and huge mainframes. Prts were cheap, we didn’t have disk drives, just tapes. And in concert with someone with Apple in charlotte We d v loped a contacts database to be saved on tape. Then later with Borland I met with a developer to install the correct hp laser jet driver to print. I was main online Compuserve to support a programmable word processor which had its own language. then the Internet came, RjJ Reynolds donated multimultiple lIBM IPCs to our ham club, Grinos came out in C, so I modified it for packet radio across th the repeaters in NC. So I left law school and went working on an Apple //e at a local retailer. I’d replace power supplies and graphics chips for 16 and 64 k computers, occasionally the accountant who needed amore screen. All great but bills were just bareable at that income level. Like the Raspberry Pi’s of today (which I just created. again unfortunately my MacBook Pro 16” display developed a screen went south but plugging in an hdmi to close monitor works, almost. So I call Apple support send me to Greensboro Apple Genius Bar because I have AppleCare, but she continently forg ts to write that in her notes. So when I’m at the store, the do find an issue with my brand new iPhone 15 with AppleCare but I have no proof so they will fix my MacBook Pro. My main development machine. I just published a new apple book last month on it. im 66 now in impermanent housing trying to make myself worthwhile to the community, yet I can’t. I can at best submit a formal complaint to Apple and “hope it gets to the right channels” just like when the first Apple Music rollout deleted 4000 songs because they weren’t in iTunes Match. Apple sent two puzzled techs out for Pinkerton had thousands of followers, but not me. I got from executive support “ we don’t need user input”. And it’s now true: woz is gone, all feedback goes to a robot and the live people ”forget to write down crucial info”. so it all boils down to how will I learn swift with Xcode and use the 15 to upload to the Vision Pro (when I can afford it) when even the newest Mac beta was too big to fit on my MacBook Pro with moving files to the cloud.
Posted
by
Post not yet marked as solved
0 Replies
3 Views
While this isn't an issue directly related with programming, I would like to share my frustration with Apple Care and their knowledge of how App Store and third-party apps work. Perhaps someone at Apple can do something about it. Every now and then a user of one of my apps contacts me asking why they get an error when downloading or updating the app in the App Store ("Unable to Download App. “App” could not be installed. Please try again later."). I tell them that third-party developers have no power over the App Store or its download/update process, and this is an issue they have to solve with Apple Care. But when they contact Apple Care, they are told that since it's an issue with a third-party app, they have to contact the app developer. Sometimes the user is more inclined to believe what Apple Care tells them and they get angry at me. In any case, I feel helpless and frustrated, because I would love to help them, but have no means of doing so. There is something about the concept of App Store that makes some users believe that third-party developers have more power than they actually have: sometimes, for example, users contact me directly, or even leave reviews on the App Store, asking for a refund, which of course only Apple can do. Have you had a similar experience? Can some engineer at Apple instruct Apple Care that third-party developers cannot help with App Store download/update issues, so that App Store users don't get mad at the app developers for not being able to install/update their app?
Posted
by
Post not yet marked as solved
0 Replies
22 Views
I am using MusicKit ApplicationMusicPlayer to play music in my app. Everything works fine as long as I'm not playing large playlists that contain hundreds of songs. When I to play collection of songs that is larger than around 300 I'm always getting the error message saying: "Prepare to play failed" UserInfo={NSDebugDescription=Prepare to play failed, NSUnderlyingError=0x121d42dc0 {Error Domain=MPMusicPlayerControllerErrorDomain Code=9 "Remote call timed out" UserInfo={NSDebugDescription=Remote call timed out}}})) It doesn't matter if songs are downloaded to the device or not. I am aware that there is another initializer for player's queue that accepts Playlist instances but in my app users can choose to sort playlist tracks in different order than the default and that makes using that initializer not feasible for me. I tried everything I could think of, I tried to fall back on MPMusicPlayerController and pass array of MPMusicPlayerPlayParameters to it but the result was the same. typealias QueueEntry = ApplicationMusicPlayer.Queue.Entry let player = ApplicationMusicPlayer.shared let entries: [QueueEntry] = tracks .compactMap { guard let song = $0 as? Song else { return nil } return QueueEntry(song) } Task(priority: .high) { [player] in do { player.queue = .init(entries, startingAt: nil) try await player.play() // prepareToPlay failed } catch { print(error) } }
Posted
by
Post not yet marked as solved
0 Replies
29 Views
Please take a look at the following simple SwiftUI View: struct ContentView: View { var body: some View { ForEach(1...1, id: \.self) { i in subview(i) } } func subview(_ i: Int) -> some View { print("creating subview \(i)") return Text("Hello, world!") } } When this View is displayed, all subviews are created twice, as the print statements show. (Unfortunately the Apple Developer Forums UI does not let me attach my sample Xcode project.) This happens on macOS 14.4.1. Am I doing something wrong or is this a SwiftUI bug? (In a real-world application the View creation can be expensive…)
Posted
by
rx8
Post not yet marked as solved
0 Replies
3 Views
Hi Apple Dev Support team, We have been applied for our kext on the middle of March, but we have still heard nothing from our dashboard. The purpose of our kext is to provide an implementation of a local file system, which may help our users install/format and use a certain file system (namely the NTFS file system) through our desktop app. Because our application has been submitted for more than 2 months without feedback, so we are writing to ask if you can help us check the application progress? When will it get passing through and if there is anything else we need to provide you with? Thanks for your kind help in advance.
Posted
by
Post not yet marked as solved
0 Replies
28 Views
Our app exports a number of file types in info.plist. For each of these file types, we export various possible file name extensions. For example, for one of our file types, we specify the possible extensions ".data", ".fitdat", and ".profitdata". In the settings of our app, we allow the user to select their preferred extension to be used, i.e. the extension to be used when, e.g., saving a document with "Save As..." panel without explicitly specifying the extension. For this, we override NSDocument's fileNameExtensionForType:saveOperation to return the presently preferred extension. This has stopped working, probably starting from macOS 14. If the user does not specify the extension in the NSSavePanel, it's always the first extension (".data") that gets added to the file name. I guess it's a consequence of the introduction of UTType, which has its own preferredFilenameExtension, which in turn probably just grabs the first extension we specify in our info.plist Any advice how to resolve this? Is there any way to override NSSavePanel's selection of extension if the user does not specify one? Thanks for any advice in advance Kurt
Posted
by
Post not yet marked as solved
0 Replies
3 Views
Hi, I developped an app which is an alcohol level calculator (cf image for few screens). I did lots of modification to the app is accepted, but none works. I also asked to the verification team, but they can't help me more. However similar app already exists like https://apps.apple.com/fr/app/alcootel-by-maaf/id6444157056 or https://apps.apple.com/fr/app/%C3%A9thylom%C3%A8tre/id688242393. I even copy the description of the first app. So, could you help me about what I can change in order to the app is validated, or do the new rules make my app "out of the Apple laws". Thank you
Posted
by
Post not yet marked as solved
0 Replies
29 Views
I have tried to insert 1L key-values into the user defaults. It is working fine until 50k key-values. After some time, am getting Not updating lastKnownShmemState in CFPrefsPlistSource<0x2825b0c60> (Domain: peformance_validator, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: No) also, key-values are not updating in the plist as well. peformance_validator is my user defaults group name. How can I solve this ?
Posted
by
Post not yet marked as solved
0 Replies
3 Views
So, a bit of a complex situation. My device is an iPhone 15 Pro. Basically, this person is a contact on my phone, and she has blocked my phone number. However, my Apple ID email is not blocked. When I text this number on my iPad from the Apple ID, the message delivers and is Read. All normal so far. My question here is: On my iPhone 15, when I select "START NEW CONVERSATION FROM" and enable my Apple ID .. Will iMessage merge the prior text conversation initiated using my phone number (which is now blocked), or how will it handle these 2 threads (one from my phone number, the other the Apple ID)? She won't unblock, but she responds to my Apple ID email on iMessages. My goal here is to be able to receive and respond using my Apple ID on my phone, but I have a prior text conversation with this Contact on my Phone. Thanks!
Posted
by
Post not yet marked as solved
1 Replies
52 Views
NSString *jsonString = @"{\"key1\":\"value1\",\"key2\":\"value2\",\"key3\":\"value3\",\"key4\":\"value4\"}"; NSString *jsonString2 = @"{\"key2\":\"value2\",\"key1\":\"value1\",\"key4\":\"value4\",\"key3\":\"value3\"}"; NSData *jsonData = [jsonString dataUsingEncoding:NSUTF8StringEncoding]; NSData *jsonData2 = [jsonString2 dataUsingEncoding:NSUTF8StringEncoding]; NSDictionary *dict1 = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingMutableContainers error:nil]; NSDictionary *dict2 = [NSJSONSerialization JSONObjectWithData:jsonData2 options:NSJSONReadingMutableContainers error:nil]; The expected results are: dict1:key1,key2,key3,key4 dict2:key2,key1,key4,key3 Is there any way to make that happen?
Posted
by
Post not yet marked as solved
0 Replies
43 Views
Hi, My application doesn't start playback anymore after signing it with entitlements. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.files.user-selected.read-only</key> <true/> <key>com.apple.security.device.audio-input</key> <true/> <key>com.apple.security.device.microphone</key> <true/> <key>com.apple.security.assets.music.read-write</key> <true/> <key>com.apple.security.network.server</key> <true/> </dict> </plist> regards, Joël
Posted
by
Post not yet marked as solved
0 Replies
39 Views
Hi All, I have a strange issue. I am using enableBackgroundDelivery for updating user step count in background mode using health kit. It works fine when I execute the app by pressing 'Run' in xcode. But the code is not triggering when I am directly launching it on my device. I have tried many different things but cannot figure out the issue from 2 days 😭. I would really appreciate any suggestions. Thanks
Posted
by
Post not yet marked as solved
0 Replies
32 Views
I have old ScreenCaptureKit sample downloaded on Oct 2022. That sample worked on Oct 2022. But it does not work on Apr 2024 on Sonoma 14.4.1 M1 MacBook. It only shows black screen. I also download updated ScreenCaptureKit sample and test it. It works on Sonoma 14.4.1 M1 MacBook. I noticed latest sample have SCContentSharingPicker and other changes. I have my screen capture application based on old ScreenCaptureKit sample. My app only shows black screen. Do I have to add SCContentSharingPicker and SCContentSharingPickerObserver on my application for capturing screen on Sonoma? Old way of screen capture without SCContentSharingPicker is not supported anymore on Sonoma?
Posted
by
Post not yet marked as solved
0 Replies
48 Views
I'm using CoreData+CloudKit. It works fine in development, so I deployed to production. But I cannot see the data in CloudKit DataBase in a testflight version. I don't know where I missed. Can I just run in Release mode to check it works?
Posted
by
Post not yet marked as solved
0 Replies
51 Views
I am currently writing an app that is about writing stories. As of now, it is fairly simple: ContentView is your "Collection" of stories. PopupView is when you click on a button in ContentView. In popup view you enter the story title. Once you do that, you are brought to a blank page which is StoryView, where the NavigationTitle is what your story title is. Once I finish the story and leave the page / StoryView, it is still there, but once I close the app on my phone and reopen it, the story is gone and is not saved. I am a relatively new developer, so ive been relying on ChatGPT and Google Gemini for the saving parts of this, but it rarely works, and the furthest ive gotten with it is that it saves the story title but doesn't save the content of the story. I have a feeling that the AI is overdoing it as well. If anyone could help, please do so. Ive been trying to fix this for days. If you need me to provide any code, I am happy to do so. [Edited by Moderator]
Posted
by
Post marked as solved
1 Replies
56 Views
I have a two-view app where the main view is a procedural animation and a secondary view controls settings for the animation. I want to use Play/Pause to toggle between the views, but can't figure out how to do this. Ideally the main view does not have any visible control and the whole screen can be dedicated to the animation view. Attaching onPlayPauseCommand to the main view does not work. I've also tried managing focus using onFocus without success. I'm open to other ways to toggle between the main and settings views, it's just that Play/Pause seems the most intuitive.
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all