Posts

Post marked as solved
1 Replies
1.1k Views
I'm developing an iPhone application and want to playback and record sound from the bottom speaker and microphone without any embedded audio processing. If I use the following code, the sound comes from the top speaker. If I also add "try playbackSession.setCategory(AVAudioSession.Category.multiRoute)" then the sound comes from both the top and bottom speaker. If I use any other setMode than measurement, then there is an embedded audio processing that I want to avoid. playbackSession = AVAudioSession.sharedInstance() do { try playbackSession.overrideOutputAudioPort(AVAudioSession.PortOverride.speaker)       try playbackSession.setMode(AVAudioSession.Mode.measurement))         } catch {print("Playing over the device's speakers failed")         }
Posted Last updated
.
Post not yet marked as solved
0 Replies
1.4k Views
I keep getting the following message when I upload our app for testing to testflight."ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required.".We have added two NSLocationAlwaysUsageDescription strings to our info.plists (one for the mobile app and one for the apple watchkit extension, but the warning is still present when upploading.Do we also have to check with all third party applications and their Purpose String that our app is using or do we only have to add the strings to our "own" code?RegardsFredrik
Posted Last updated
.