Post

Replies

Boosts

Views

Activity

Reply to Alert structure and playing sound
There is effectively a problem, no sound. I tested with to different calls: func playInputClick() { var filePath: String? filePath = Bundle.main.path(forResource: "ButtonTap", ofType: "wav") let fileURL = URL(fileURLWithPath: filePath!) var soundID:SystemSoundID = 0 AudioServicesCreateSystemSoundID(fileURL as CFURL, &soundID) AudioServicesPlaySystemSound(soundID) } func playSound() { let alertSoundPath = URL(fileURLWithPath: Bundle.main.path(forResource: "ButtonTap", ofType: "wav")!) // Bundle.main.url(forResource: "classicAlarm", withExtension: "mp3")! do { let audioPlayer = try AVAudioPlayer(contentsOf: alertSoundPath) audioPlayer.play() } catch { // appData.logger.debug("Error playing sound: \(alertSoundPath)") } }: playSound does not work, while playInputClick() does. So, I would change your playSound as follows: func playSound() { let alertSoundPath = Bundle.main.path(forResource: "classicAlarm", ofType: "mp3")! let alertSoundURL = URL(fileURLWithPath: alertSoundPath) var soundID:SystemSoundID = 0 AudioServicesCreateSystemSoundID(alertSoundURL as CFURL, &soundID) AudioServicesPlaySystemSound(soundID) } In my tests, func are outside ContentView. I moved playSound inside ContentView and got the runtime error (but some sound): Modifying state during view update, this will cause undefined behavior. So, please, show complete code so that we can reproduce (as well as the resources).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’25
Reply to In Review for 35 days!
I noticed that cancelling a submission is rarely a good idea. Just as if the app falls at the end of the list of apps to review. I just prefer to let submission complete and resubmit immediately if a new build is needed. This being said, 35 days is abnormal. Did you try to contact support and ask for a phone contact ?
Apr ’25
Reply to App Stuck in "Waiting For Review," for 2 weeks+ unhelpful support.
I had to cancel and resubmit my app a few times That's effectively a bad idea. I've noticed that it may create issues, with endless waiting for review (I don't know the reason why, but it seems so). Waiting for 1 day for review is not abnormal (even though it is often much faster). What category of app is it ? Did you try to ask support contact by phone ? It is usually very efficient.
Apr ’25
Reply to How can this be resolved - load_eligibility_plist: Failed to open //private/var/db/os_eligibility/eligibility.plist: Operation not permitted(1)
Problem could be that you have multiple constraints for UILayoutGuide:0x3030f0c40'UIViewSafeAreaLayoutGuide'.centerY (related to each button), creating inconsistency when you move buttons as the position of others have not yet changed. Where (in which func) do you change the constraints ? Do you call viewWillNeedLayout after change ? Could you post a minimal code example of the issue ? Why do you constrain to UIViewSafeAreaLayoutGuide and not simply to safeArea center ? PS: another solution would be to duplicate (or triplicate) the buttons and change their isHidden property as needed.
Topic: Design SubTopic: General
Apr ’25
Reply to Issue with calculating the distance between two points on a map
You should either declare from and to in: an init() - just declare type in the general declaration and set value in init in .onAppear as a modifier of the VStack But there are many errors in the code that you have to correct first: you call distance in the distance func. That will cause infinite loop return from.distance(from: to) You need to set values of parameters, let distanceFrom = from.distance(from: to) such as let distanceFrom = from.distance(from: from, to: to) from is a CLLocationCoordinate2D But distance is defined for CLLocation only…
Apr ’25
Reply to Alert structure and playing sound
There is effectively a problem, no sound. I tested with to different calls: func playInputClick() { var filePath: String? filePath = Bundle.main.path(forResource: "ButtonTap", ofType: "wav") let fileURL = URL(fileURLWithPath: filePath!) var soundID:SystemSoundID = 0 AudioServicesCreateSystemSoundID(fileURL as CFURL, &soundID) AudioServicesPlaySystemSound(soundID) } func playSound() { let alertSoundPath = URL(fileURLWithPath: Bundle.main.path(forResource: "ButtonTap", ofType: "wav")!) // Bundle.main.url(forResource: "classicAlarm", withExtension: "mp3")! do { let audioPlayer = try AVAudioPlayer(contentsOf: alertSoundPath) audioPlayer.play() } catch { // appData.logger.debug("Error playing sound: \(alertSoundPath)") } }: playSound does not work, while playInputClick() does. So, I would change your playSound as follows: func playSound() { let alertSoundPath = Bundle.main.path(forResource: "classicAlarm", ofType: "mp3")! let alertSoundURL = URL(fileURLWithPath: alertSoundPath) var soundID:SystemSoundID = 0 AudioServicesCreateSystemSoundID(alertSoundURL as CFURL, &soundID) AudioServicesPlaySystemSound(soundID) } In my tests, func are outside ContentView. I moved playSound inside ContentView and got the runtime error (but some sound): Modifying state during view update, this will cause undefined behavior. So, please, show complete code so that we can reproduce (as well as the resources).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to Help - Action needed: Provide banking details in App Store Connect
Welcome to the forum. It depends what bank account information you have provided. Some info is probably missing, but impossible to tell from your post.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Unable to continue issue in apple developer application
Welcome to the forum. But, as you don't even explain what the issue is, it means you don't expect any answer from the forum. So that's pretty useless post, just creating noise in the forum. You'd better contact Apple Support and explain what is the issue.
Replies
Boosts
Views
Activity
Apr ’25
Reply to unable to optimize App for iPad
Could you show some code, specially the main file.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’25
Reply to In Review for 35 days!
I noticed that cancelling a submission is rarely a good idea. Just as if the app falls at the end of the list of apps to review. I just prefer to let submission complete and resubmit immediately if a new build is needed. This being said, 35 days is abnormal. Did you try to contact support and ask for a phone contact ?
Replies
Boosts
Views
Activity
Apr ’25
Reply to App Stuck in "Waiting For Review," for 2 weeks+ unhelpful support.
I had to cancel and resubmit my app a few times That's effectively a bad idea. I've noticed that it may create issues, with endless waiting for review (I don't know the reason why, but it seems so). Waiting for 1 day for review is not abnormal (even though it is often much faster). What category of app is it ? Did you try to ask support contact by phone ? It is usually very efficient.
Replies
Boosts
Views
Activity
Apr ’25
Reply to App Stuck in "Waiting for Review" for Over 2 Weeks
Just submitted 2 apps (updates). The first went into review after about 12 hours, the second in less than 1 hour. So no issue here. From what you explain, it seems so, but are you sure you "fully" submitted ? There are 2 steps: send for submission submit to review team (the submission button title changes after first step).
Replies
Boosts
Views
Activity
Apr ’25
Reply to Contact owner of app?
Surprisingly, as app appears available in Europe, the submitter has (legally) to publish a contact mail and phone. There is apparently none of those on the AppStore. You could try to contact Apple Support to get some advice on how to proceed.
Replies
Boosts
Views
Activity
Apr ’25
Reply to How can this be resolved - load_eligibility_plist: Failed to open //private/var/db/os_eligibility/eligibility.plist: Operation not permitted(1)
Problem could be that you have multiple constraints for UILayoutGuide:0x3030f0c40'UIViewSafeAreaLayoutGuide'.centerY (related to each button), creating inconsistency when you move buttons as the position of others have not yet changed. Where (in which func) do you change the constraints ? Do you call viewWillNeedLayout after change ? Could you post a minimal code example of the issue ? Why do you constrain to UIViewSafeAreaLayoutGuide and not simply to safeArea center ? PS: another solution would be to duplicate (or triplicate) the buttons and change their isHidden property as needed.
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Apr ’25
Reply to Change username
You could also try to contact support directly: https://developer.apple.com/contact/
Replies
Boosts
Views
Activity
Apr ’25
Reply to Change username
You should avoid duplicate posts. Maybe it was just accidental.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Change username
Which user name ? On the forum ? If so, AFAIK, only a moderator can do it. You should wait for a moderator to contact you.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Guideline 2.1 - Performance - App Completeness
Inspect your code. What should happen when subscription is complete ? How should you exit out of the page ? Analyse in detail what could cause exit not to occur.
Replies
Boosts
Views
Activity
Apr ’25
Reply to What is the longest amount of time that your app has been in the "Waiting for review" status? Do you have any tips or strategies to reduce wait times for app reviews?
24 hours is not a big deal. As long as it is not more than 3 days, you should not worry.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Issue with calculating the distance between two points on a map
You should either declare from and to in: an init() - just declare type in the general declaration and set value in init in .onAppear as a modifier of the VStack But there are many errors in the code that you have to correct first: you call distance in the distance func. That will cause infinite loop return from.distance(from: to) You need to set values of parameters, let distanceFrom = from.distance(from: to) such as let distanceFrom = from.distance(from: from, to: to) from is a CLLocationCoordinate2D But distance is defined for CLLocation only…
Replies
Boosts
Views
Activity
Apr ’25