Jump to content
Joe Sansalone

mismatch? SDK 15.2, iOS device 15.3

Recommended Posts

Hi,

 

Would a mismatch of SDK (15.2) to device (15.3) possibly cause

something not to work?

 

When I test an app on the iPhone, everything works except audio doesn't play.

And the code to make audio play worked on previous iOS.

I checked over and over and the code is correct.

 

Could the SDK/device iOS version mismatch be the problem?

(15.2 SDK vs 15.3 device)

 

Joe

Share this post


Link to post
2 hours ago, Joe Sansalone said:

And the code to make audio play worked on previous iOS.

Which version of iOS? Do you have a test project that reproduces the problem?

2 hours ago, Joe Sansalone said:

Could the SDK/device iOS version mismatch be the problem?

In this case, it's unlikely. I'm working with iOS SDK 15.0 on 15.3 devices, including playing audio. 

I know this sounds a bit bone-headed, but also check that your mute button is not switched. I've actually done that myself 🙂

Share this post


Link to post

It worked on iOS 10, iOS 9.

 

Yeah I checked that the mute button is not switched. (it's not bone-headed to suggest that, as I TOO have done things like that lol)

 

I can reproduce the "no audio" problem on my iPhone 12 (iOS 15.3).  

I'm going to TRY running something in Xcode that is very similar and see what happens.

 

I'll update asap.

 

NOTE:  I'm using AVAudioSession and Audio Unit (Output, RemoteIO) - i.e. using AudioToolBox

Edited by Joe Sansalone
forgot something
  • Like 1

Share this post


Link to post

Tested an Xcode project that generates tones in the same way that my Delphi app does.

Works on my iPhone 12 via Xcode (audio is heard).

 

BUT Delphi app doesn't work on device.

Share this post


Link to post

You might have to file a report in QP. I suggest fixing the test project, though - I had to scrap the dpr/dproj and start a new one.

Share this post


Link to post

I did file a report in QP.

I downloaded the zipped test project and it opens fine in Delphi IDE and builds.

 

I'm running Delphi 11 on Windows 11 ARM via Parallels on macOS (ARM).

 

What error did you get?  

 

 

Share this post


Link to post
5 hours ago, Joe Sansalone said:

I downloaded the zipped test project and it opens fine in Delphi IDE and builds.

Yes, it opens fine, but it has a bunch of references to icon files (for example) that are missing, and I had problems with provisioning (sorry, I did not note down the error messages). Rather than attempt to resolve the issues, I recreated the project.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×