Post

Replies

Boosts

Views

Activity

Reply to How to setup this two entitlements on Xcode
Hi Willy! So these are the steps you have to do: Open your Xcode project. In the Project Navigator, select the target for your project. Navigate to the "Signing & Capabilities" tab. Look for the "Capabilities" section and expand it. Click on the "+" button to add a new capability. In the search bar, type Background Modes and select it from the options. This will enable the com.apple.runningboard.assertions.webkit entitlement. Next, click on the "+" button again to add another capability. In the search bar, type App Sandbox and select it from the options. This will enable the com.apple.multitasking.systemmappassertions entitlement. Xcode will automatically add these capabilities to your entitlements file and enable them for your app. (If needed, you can further customize the entitlements by expanding the added capabilities and adjusting their options.) I hope my explanation helps you set up the entitlements in Xcode successfully. If you have any more questions, feel free to ask:)
Jun ’23
Reply to How to setup this two entitlements on Xcode
Hi again, so if you are unable to add the "App Sandbox" capability in Xcode, you can add the "Background Modes" capability instead. Enable the "Audio, AirPlay, and Picture in Picture" option within the "Background Modes" capability to grant the necessary entitlement for "com.apple.multitasking.systemappassertions" (make sure to follow Apple's guidelines for using background modes and entitlements).
Jun ’23
Reply to how to attribute bind with switch and bulb on home app
I suppose the problem maybe whether the light bulb is certified, I mean otherwise it may have compatibility issues. Add the light switch to the Home app - ensure it supports HomeKit. Anyway try creating a scene or automation in the Home app to bind the light switch and bulb together, and set the trigger as the light switch being turned on or off. Then just set the action as controlling the state of the light bulb.
Jul ’23