Connect with Apple engineers to discuss the latest Apple technologies announced at WWDC21.

Posts under WWDC21 tag

73 Posts

Post

Replies

Boosts

Views

Activity

Doesn't work the Conntected Home Over IP Support class
let setupManager = HMAccessorySetupManager() let homeTopology = HMCHIPServiceTopology(homes: homes) setupManager.addAndSetUpAccessories(for: homeTopology, completionHandler: { error in if let error = error { print(error) } }) when calling the function 'setupManager.addAndSetUpAccessories(for: homeTopology)', an error log occurs. Error Domain=HMErrorDomain Code=48 "Operation is not supported." UserInfo={NSLocalizedDescription=Operation is not supported.} Any ideas what could cause this? Is this function not working yet because it is currently beta? Or, did i use the function wrong?
3
0
1.5k
Aug ’21
Draw on Numbers
Hy! Hope you are all doing well. I saw video of Inspecting, Modifying, and Constructing PencilKit Drawings. This video clear my all concepts. But I've one issue I want to draw on numbers like alphabets but there is no numbers file. In this code only uppercase and lowercase drawing file but these files not open. Firstly kindly tell me how to open this file and how to draw on numbers like alphabets. Your solutions are appreciation for me. I am waiting for your solution. Thanks.
0
0
716
Aug ’21
should I wait for the new macbook?
I have been planning to buy a Macbook air in august. But recently, I found out that the new Macbook Air M2 is coming out on the first half of 2022. should I wait for the new macbook or should I buy one now? (I use notebook on a daily basis. I currently have one now)
1
0
498
Aug ’21
How to test Billing Retry subscriptions case in Sanbox or Xcode Environment?
We have a case to show users a message that their subscription was in Billing Retry. But we were unable to test it in Sandbox Environment. In the Sandbox environment, we were enabled interrupted purchase after initial purchase but that's not working as expected. In Xcode environment tried interrupted purchase and fail transactions with error. But Nothing works for renewal transactions. These all are working as expected only for the Initial purchase. Please provide a proper way to test the Billing Retry case.
1
0
1.3k
Jul ’21
Does currentEntitlement will contain a Billing Retry Subscription?
We have a case to show users a message that their subscription was in Billing Retry. Current Entitlements documentation says only active subscription transactions will be returned. Our doubt is whether the current entitlements will also provide billing retry subscriptions. If not what is the best way to get the billing retry subscriptions?
0
0
800
Jul ’21
Help with iOS 15 UIButton?
I am trying to construct a button using the new iOS15 button API. (Xcode 13ß3, UIKit & Storyboards) The button has a title (aligned .leading) and an image (aligned .trailing). The button has the following layout constraints: a fixed leading constraint (to a label that provides prompt text) a center-vertically constraint (to that same label) a trailing constraint ( >= a margin value) What I’m trying to accomplish is that the button should adjust its width based on the title content, not wrapping until the width causes the trailing constraint to be violated. What actually happens is the the button’s text wraps. It acts as if it prefers wrapping to changing its size. There are mentions in the documentation about disabling text wrapping for the button, but the obvious things, such as button.titleLabel?.lineBreakMode = .byTruncatingMiddle don’t work. Has anyone whose tried working with iOS 15 buttons have any suggestions?
0
0
2.3k
Jul ’21
NSExtensionPointIdentifier for DeviceActivityMonitor Extension
We're implementing a DeviceActivityMonitor for the new Screentime APIs, since there is no preset extension of this type, we have created an empty one. However it is not being launched since we don't have a matching NSExtensionPointIdentifier for Screen time or DeviceActivityMonitor. What is the NSExtensionPointIdentifier for this type of extension?
2
0
1.5k
Jul ’21
Xcode 12.5 with macOS 12 Build Failing
Creating a new project with macOS 12 beta and using xCode 12.5, after building the project a build error shows up: Encountered an error communicating with IBAgent-iOS Log: Details:  Failed to attach to IBAgent-iOS with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS (6234) failed to launch and exited with status 11, NSUnderlyingError=0x7f97e39e0160 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to launch IBAgent-iOS via CoreSimulator spawn" UserInfo={NSLocalizedDescription=Failed to launch IBAgent-iOS via CoreSimulator spawn, NSUnderlyingError=0x7f97e39fdca0 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to handshake with platform tool" UserInfo={NSLocalizedFailureReason=Failed to open connection over FIFOs with platform tool, NSLocalizedDescription=Failed to handshake with platform tool, NSUnderlyingError=0x7f97e39fdc70 {Error Domain=com.apple.InterfaceBuilder Code=-1 "" UserInfo=0x7f97e39c5ee0 (not displayed)}}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.} Object:   <IBCocoaTouchToolManager> Tried: Clean derived data folder. Delete CoreSimulator folder from Library Restart Clean Build Nothing helps, the brand new project just fails to build.
1
0
1.5k
Jul ’21
Xcode 13 crashes on export localization: Unable to find the blueprint
I can't export localizations from my Xcode 13 project. This seems to be an issue when I have Swift Packages in my project. I get this error when I try to export: Unable to find the blueprint for localization export: MySwiftPackage. I submitted a crash report to Apple but wondering if anyone else is experiencing this and if there's a workaround for this?
6
0
3.1k
Jul ’21
Siri On-device AI in Korea_korean Can I possible
In Korea, I heard that this new feature, Siri On Device (AI), does not support Korean. I would like to send a suggestion in hopes that the Siri on-device function will be supported in Korea as well. Thanks for reading this long post and I hope you have a nice day
Replies
0
Boosts
0
Views
563
Activity
Aug ’21
iOS 15 New Location APIs
The latest betas have new API in Core Location around "location pushes" including: CLLocationManager.startMonitoringLocationPushes CLLocationManager.stopMonitoringLocationPushes protocol CLLocationPushServiceExtension CLLocationPushServiceError Does anyone know what these are for? I couldn't find anything in the WWDC sessions, or general web searches.
Replies
1
Boosts
0
Views
1.2k
Activity
Aug ’21
Doesn't work the Conntected Home Over IP Support class
let setupManager = HMAccessorySetupManager() let homeTopology = HMCHIPServiceTopology(homes: homes) setupManager.addAndSetUpAccessories(for: homeTopology, completionHandler: { error in if let error = error { print(error) } }) when calling the function 'setupManager.addAndSetUpAccessories(for: homeTopology)', an error log occurs. Error Domain=HMErrorDomain Code=48 "Operation is not supported." UserInfo={NSLocalizedDescription=Operation is not supported.} Any ideas what could cause this? Is this function not working yet because it is currently beta? Or, did i use the function wrong?
Replies
3
Boosts
0
Views
1.5k
Activity
Aug ’21
Draw on Numbers
Hy! Hope you are all doing well. I saw video of Inspecting, Modifying, and Constructing PencilKit Drawings. This video clear my all concepts. But I've one issue I want to draw on numbers like alphabets but there is no numbers file. In this code only uppercase and lowercase drawing file but these files not open. Firstly kindly tell me how to open this file and how to draw on numbers like alphabets. Your solutions are appreciation for me. I am waiting for your solution. Thanks.
Replies
0
Boosts
0
Views
716
Activity
Aug ’21
should I wait for the new macbook?
I have been planning to buy a Macbook air in august. But recently, I found out that the new Macbook Air M2 is coming out on the first half of 2022. should I wait for the new macbook or should I buy one now? (I use notebook on a daily basis. I currently have one now)
Replies
1
Boosts
0
Views
498
Activity
Aug ’21
[Suggestion for Safari iOS 15] - Need to improve the address bar
Check the screenshot attached. That area is being used for different scenarios like: modals, navbars, etc. If you plan to add it, you need to improve your positions, for example this modal have these css properties: bottom: 0; position: fixed So if you are showing the address bar, you need to improve your position: 0 ABOVE the address bar, not behind it.
Replies
6
Boosts
0
Views
6.7k
Activity
Aug ’21
How to test Billing Retry subscriptions case in Sanbox or Xcode Environment?
We have a case to show users a message that their subscription was in Billing Retry. But we were unable to test it in Sandbox Environment. In the Sandbox environment, we were enabled interrupted purchase after initial purchase but that's not working as expected. In Xcode environment tried interrupted purchase and fail transactions with error. But Nothing works for renewal transactions. These all are working as expected only for the Initial purchase. Please provide a proper way to test the Billing Retry case.
Replies
1
Boosts
0
Views
1.3k
Activity
Jul ’21
Does currentEntitlement will contain a Billing Retry Subscription?
We have a case to show users a message that their subscription was in Billing Retry. Current Entitlements documentation says only active subscription transactions will be returned. Our doubt is whether the current entitlements will also provide billing retry subscriptions. If not what is the best way to get the billing retry subscriptions?
Replies
0
Boosts
0
Views
800
Activity
Jul ’21
Help with iOS 15 UIButton?
I am trying to construct a button using the new iOS15 button API. (Xcode 13ß3, UIKit & Storyboards) The button has a title (aligned .leading) and an image (aligned .trailing). The button has the following layout constraints: a fixed leading constraint (to a label that provides prompt text) a center-vertically constraint (to that same label) a trailing constraint ( >= a margin value) What I’m trying to accomplish is that the button should adjust its width based on the title content, not wrapping until the width causes the trailing constraint to be violated. What actually happens is the the button’s text wraps. It acts as if it prefers wrapping to changing its size. There are mentions in the documentation about disabling text wrapping for the button, but the obvious things, such as button.titleLabel?.lineBreakMode = .byTruncatingMiddle don’t work. Has anyone whose tried working with iOS 15 buttons have any suggestions?
Replies
0
Boosts
0
Views
2.3k
Activity
Jul ’21
Motion Capture improvements for devices before A14
WWDC21 announces the support of more body poses and gestures for processor A14. Furthermore rotations are more accurate and you can track these movements from a larger distance. But what are the improvements for devices with processor A12 or A13? Do they also benefit from any improvements when using ARKit 5 and iOS 15?
Replies
1
Boosts
0
Views
863
Activity
Jul ’21
NSExtensionPointIdentifier for DeviceActivityMonitor Extension
We're implementing a DeviceActivityMonitor for the new Screentime APIs, since there is no preset extension of this type, we have created an empty one. However it is not being launched since we don't have a matching NSExtensionPointIdentifier for Screen time or DeviceActivityMonitor. What is the NSExtensionPointIdentifier for this type of extension?
Replies
2
Boosts
0
Views
1.5k
Activity
Jul ’21
Xcode 12.5 with macOS 12 Build Failing
Creating a new project with macOS 12 beta and using xCode 12.5, after building the project a build error shows up: Encountered an error communicating with IBAgent-iOS Log: Details:  Failed to attach to IBAgent-iOS with error: Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS (6234) failed to launch and exited with status 11, NSUnderlyingError=0x7f97e39e0160 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to launch IBAgent-iOS via CoreSimulator spawn" UserInfo={NSLocalizedDescription=Failed to launch IBAgent-iOS via CoreSimulator spawn, NSUnderlyingError=0x7f97e39fdca0 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to handshake with platform tool" UserInfo={NSLocalizedFailureReason=Failed to open connection over FIFOs with platform tool, NSLocalizedDescription=Failed to handshake with platform tool, NSUnderlyingError=0x7f97e39fdc70 {Error Domain=com.apple.InterfaceBuilder Code=-1 "" UserInfo=0x7f97e39c5ee0 (not displayed)}}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.} Object:   <IBCocoaTouchToolManager> Tried: Clean derived data folder. Delete CoreSimulator folder from Library Restart Clean Build Nothing helps, the brand new project just fails to build.
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’21
Xcode 13 crashes on export localization: Unable to find the blueprint
I can't export localizations from my Xcode 13 project. This seems to be an issue when I have Swift Packages in my project. I get this error when I try to export: Unable to find the blueprint for localization export: MySwiftPackage. I submitted a crash report to Apple but wondering if anyone else is experiencing this and if there's a workaround for this?
Replies
6
Boosts
0
Views
3.1k
Activity
Jul ’21