NSApplicationServices is invalid when uploading a TestFlight build

Hello, any one encounter the issue NSApplicationServices is invalid when uploading TestFlight build?

We are facing an issue with our latest iOS build. For context, we are trying to add support for the apple watch connectivity with tvOS. After uploading our build, we get the following error:

Invalid Info.plist key. The key 'NSApplicationServices' in bundle myapp.app/Watch/watch.app is invalid.

However, the doc indicates that NSApplicationServices must be declared in the Info.plist file (source: https://developer.apple.com/documentation/devicediscoveryui/connecting_a_tvos_app_to_other_devices_over_the_local_network?changes=_1_7)


Dev environment:

  1. Xcode v14.0 (14A309) to dev and archive

  2. Deployment target: watchOS 6.0 & iOS 13.0

  3. Watch app project is separated as Watch App target and Watch App Extension target and not a watchOS-only app.

  4. Value of key NSApplicationServices in Watch App plist:

<key>NSApplicationServices</key>
	<dict>
		<key>Advertises</key>
		<array>
			<dict>
				<key>NSApplicationServiceIdentifier</key>
				<string>MyAppConnectId</string>
			</dict>
		</array>
	</dict>

We tried that create a new watch App with NSApplicationServices key in watch app plist, but it still can't work that getting the same error.

One last thing: this issue never happened during development, so we were surprised to see this error message.


FYI, the doc we are referring:

  1. https://developer.apple.com/documentation/devicediscoveryui/connecting_a_tvos_app_to_other_devices_over_the_local_network
  2. https://developer.apple.com/documentation/bundleresources/information_property_list/nsapplicationservices/

Any one who is facing the issue, pls comment the post/contact me, thanks in advance!

let myE_mail = "whailong" + "2010" + "@" + "g" + "ma" + "il." + "com"

This is an issue on Apple end, they fixed it yesterday.

NSApplicationServices is invalid when uploading a TestFlight build
 
 
Q