Posts

Post not yet marked as solved
0 Replies
403 Views
Since macOS 12, AHRegisterHelpBook() and friends as declared in AppleHelp.h doesn't work anymore. This is an old API but have worked fine up until now. Is this a bug? What's the modern alternative for Help in a macOS app?
Posted
by florom.
Last updated
.
Post not yet marked as solved
9 Replies
7.3k Views
I have ticked the "Auto-Renew Membership" check box but every time I log in to iTunes Connect, I'm greated with:Renew Your Apple Developer Program MembershipIf you do not renew your membership before Sep 28, 2016, your apps will no longer be available on the App Store.Previously I paid every year but this time I selected "Auto-Renew Membership".Should I be worried about the message?Thanks
Posted
by florom.
Last updated
.
Post not yet marked as solved
4 Replies
4.9k Views
Using Version 10.1 (10B61)Most of the time Xcode are unable to downlaod crash reports using the Organizer Crashes view.Top left has a warning sign, clicking on that displays a message:"Unable to download crash information.""An error occurred preventing Xcode from downloading updated crash information. An unexpected error occurred communicating with Apple. Please try again later."I check every day, mostly it doesn't work, then suddenly it works for a couple of days, especially if I check late in the evening Swedish time.I'm quite sure this isn't related to any problem at my end. This problem has existed for years.Summary: Sometimes it works, mostly not.Is there anything I can do to make it work?
Posted
by florom.
Last updated
.
Post not yet marked as solved
0 Replies
547 Views
Is there a way to play streaming Apple Music songs on macOS?I've checked every possible framework/API but I can't find any info about it.On iOS MPMusicPlayerController works fine to play streaming Apple Music songs.One would think that would be possible on macOS as well, or?Thanks for any info!
Posted
by florom.
Last updated
.
Post not yet marked as solved
0 Replies
2k Views
I'm using AUGraph to set up my playback engine. I know AUGraph is marked with API_TO_BE_DEPRECATED in favor of AVAudioEnginebut it works perfect for my needs and has for many years.My player (as most players) may play audio in the background and a new song will be played when the previous ends.This works fine if both songs are using kAudioUnitSubType_RemoteIO for playback (setup using an AUGraph)meaning that tearing down and setting up a new audo output works also when the app is backgrounded.However AUGraphInitialize() fails when the app is backgrounded if the previous song was played using MPMusicPlayerController.So the switch from MPMusicPlayerController to kAudioUnitSubType_RemoteIO makes it fail.Fails with '!int' error: AUGraphInitialize() failed. ('!int' == 560557684)[aurioc] AURemoteIO.cpp:1086:Initialize: failed: 560557684 (enable 2, outf< 2 ch, 44100 Hz, Int16, inter> inf< 2 ch, 0 Hz, Float32, non-inter>)This problem only occur if the app is backgrounded, else it works fine.According to the thread belowhttps://forums.developer.apple.com/thread/38917it's not always possible to initialize an kAudioUnitSubType_RemoteIO when the app is backgrounded.One suggestion is to use AVAudioSessionCategoryOptionMixWithOthers which makes it work also when backgrounded but it's not any good solution.It would be nice if any of the Apple audio engineers could explain if there is a way to make this work?Would a change AVAudioEngine make it work (I guess not since it's probably still using kAudioUnitSubType_RemoteIO under the hood).I need to use MPMusicPlayerController since some files are DRM protected and for other files I need to use kAudioUnitSubType_RemoteIOto be able to process the audio samples.Not having this working when the app is backgrounded makes for a very bad user experience.
Posted
by florom.
Last updated
.
Post not yet marked as solved
0 Replies
1.3k Views
My app got rejected for the following reason:"Guideline 5.1.1 - Legal - Privacy - Data Collection and StorageWe noticed that your app requests the user’s consent to access their media library but does not clarify the use of the media library in the applicable purpose string."The "NSAppleMusicUsageDescription" or "Privacy - Media Library Usage Description" in my info.plist file is:"\"My app name\" needs access in order to load songs from your Music Library."My app is an audio player that can import songs from the users music library, or directly play the songs if the user is an "Apple Music" subscriber.In iTunes Connect I have submitted an appeal to the "App Review Board" but haven't got any reply so far.What's wrong with my description?From the "Human Interface Guidelines"https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/requesting-permission/"Explain why your app needs the information. Provide custom text (known as a purpose string or usage description string) for display in the system's permission request alert, and include an example. Keep the text short and specific, use sentence case, and be polite so people don't feel pressured."Isn't this what my message does? If not, what should the description say?I have had the same description for at least three years and have released about 50 updates without any complaints.This update is a critical update that fixes a crash introduced when updating for iOS 13. My users are not happy.Why complain for that description when it's a critical update.Any advice how I should change the description so my app will be approved?
Posted
by florom.
Last updated
.