I noticed the same.
Post
Replies
Boosts
Views
Activity
In case of my standalone WatchOS app with access to Health Kit this helped (I learned it from the previous posts from fousa and Ryuuzaki in another thread): - https://developer.apple.com/forums/thread/122660
I added the keys "Privacy - Health Share Usage Description" and "Privacy - Health Update Usage Description" with some text as values in the file Info.plist in the folder [MyApp] WatchKit Extension.
Then I created another folder [MyApp] on the same level as the folder [MyApp] WatchKit Extension.
I copied the Info.plist file from the folder [MyApp] WatchKit Extension to the new folder [MyApp] and deleted all keys except the two mentioned above.
Then under Targets (you get there when you click on your project name in the Project Navigator on the top of the left side in Xcode), I clicked on the first target (MyApp) and under Packaging for the key "Info.plist File" I added the path to the new Info.plist file - [Myapp]/Info.plist
I cleaned the build folder and got an error when I tried to build again (under top menu Product - Build) - some new error:
(error: Multiple commands produce '[...]/Info.plist': [...]
I restarted XCode, cleaned the build folder again and clicked on Build again. This time I was asked if it was ok if something was cleaned and I accepted.
Then it worked.
Note: In the past, I also had the keys mentioned above in the Info.plist file in [MyApp] WatchKit App and as I remember it caused problems. So in that file I do not have these two keys.
In case of my standalone WatchOS app with access to Health Kit this helped (I learned it from the previous posts from fousa):
I added the keys "Privacy - Health Share Usage Description" and "Privacy - Health Update Usage Description" with some text as values in the file Info.plist in the folder [MyApp] WatchKit Extension.
Then I created another folder [MyApp] on the same level as the folder [MyApp] WatchKit Extension.
I copied the Info.plist file from the folder [MyApp] WatchKit Extension to the new folder [MyApp] and deleted all keys except the two mentioned above.
Then under Targets (you get there when you click on your project name in the Project Navigator on the top of the left side in Xcode), I clicked on the first target (MyApp) and under Packaging for the key "Info.plist File" I added the path to the new Info.plist file - [Myapp]/Info.plist
I cleaned the build folder and got an error when I tried to build again (under top menu Product - Build) - some new error:
(error: Multiple commands produce '[...]/Info.plist': [...]
I restarted XCode, cleaned the build folder again and clicked on Build again. This time I was asked if it was ok if something was cleaned and I accepted.
Then it worked.
Note: In the past, I also had the keys mentioned above in the Info.plist file in [MyApp] WatchKit App and as I remember it caused problems. So in that file I do not have these two keys anymore.