Posts

Post not yet marked as solved
0 Replies
649 Views
I would like to resample input hardware samples to the sample rate required by my app's codec settings while using kAudioUnitSubType_VoiceProcessingIO. I have some questions if is it possible to do this without instantiating the separate converter unit since according to the docs IO unit has its own converters. So: can I do this kind of resampling by just setting a custom sample rate using the stream format property of the output scope of the input element? will this somehow affect the echo cancellation? should I reconfigure IO if the input hardware sample rate changes? will it work in the same way on iOS and macOS?
Posted
by kosger.
Last updated
.
Post not yet marked as solved
0 Replies
641 Views
After updating XCode to 12.4 XCodeServer CI does not work because of nginx failure: nginx: [emerg] open() "/Library/Developer/XcodeServer/Certificates/xcsnginx.pass" failed (13: Permission denied) in /Library/Developer/XcodeServer/CurrentXcodeSymlink/Contents/Developer/usr/share/xcs/xcsnginx/xcsnginx.conf:39 Reinstalling all the tools did not help. PS: Sorry. But, please, do not delete this question again.
Posted
by kosger.
Last updated
.
Post not yet marked as solved
5 Replies
2.2k Views
I created a macOS project using XCode 11.5 on macOS 10.15.5. Before that I created an App Store app record with macOS support. When I archive this app and validate it the validation fails with messages: App Store Connect Operation Error Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, key 'com.apple.security.files.user-selected.read-only' in 'io.my.My.pkg/Payload/My.app/Contents/MacOS/My' is not supported. App Store Connect Operation Error Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, key 'com.apple.security.app-sandbox' in 'io.my.My.pkg/Payload/My.app/Contents/MacOS/My' is not supported. Here is the entitlements: <?xml version="1.0" encoding="UTF-8"?> <!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/> </dict> </plist> I can not find any information about this issue and since the App Store is required the app sandbox I also can not turn it off.
Posted
by kosger.
Last updated
.
Post marked as solved
2 Replies
1.5k Views
When the loaded page in WKWebView (iOS app) has a web form to add files and the user taps on it the user will see a system ActionSheet with options:Take photo or videoPhoto LibraryBrowseTo use the first one it is required to add Camera and Microphome usage description permissions. It is easy to find it out because the app crashes without usage descriptions in the project info.plist but as a developer I am not using the UIImagePickerController directlyTo use the second option it seems the developer has to add photo library usage description - NSPhotoLibraryUsageDescription. But according to this documentation https://developer.apple.com/documentation/photokit/requesting_authorization_to_access_photos it is not required. And the app does not have any crashes (but this document tells that it should crash https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/plist/info/NSPhotoLibraryUsageDescription). This option does not produces the alert about photo library access, and on top of that the developer does not use any photo frameworks or UIImagePickerControllerTo use third option it seems the developer should setup UISupportsDocumentBrowser key but the app does not use UIDocumentBrowserViewController directly. Probably I have to make my own alert according to iCloud Design Guide. Also there some entitlements to use iCloudWhile the first option is required to create some usage descriptions the two others don't and it is not clear how the security policy for apps is working at all. There is no any consistency. Also the WKWebView documetation does not describe this case at all. It produces a lot of questions. At least I have to ask about it according to this document https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resourcesBut the main question is what usage description keys should I as a developer put inside my application info.plist so I will provide the best experience for app's user and not be rejected in app review process while use WKWebView to load any website with form containing files input fields?Thanks a lot
Posted
by kosger.
Last updated
.