Requested but did not find extension point with identifier

Hello!

Developing application with NetworkExtension. Got this errors:

2023-07-04 09:11:11.963 embeddedBinaryValidationUtility[1384:20739] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2023-07-04 09:11:11.964 embeddedBinaryValidationUtility[1384:20739] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
warning: The CFBundleVersion of an app extension (null) must match that of its containing parent app ('0.1').

What does it mean? What is missed by me? My Info.plist or Extension.entitlements contain:

<?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.developer.networking.networkextension</key>
	<array>
		<string>content-filter-provider</string>
		<string>packet-tunnel-provider</string>
	</array>
	<key>com.apple.security.app-sandbox</key>
	<true/>
</dict>
</plist>

and

<key>NSExtension</key>
	<dict>
		<key>NSExtensionPointIdentifier</key>
		<string>com.apple.networkextension.packet-tunnel</string>
		<key>NSExtensionPrincipalClass</key>
		<string>$(PRODUCT_MODULE_NAME).AppProxyProvider</string>
	</dict>

When trying to run application have this error:

What is missing?

Replies

>> Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
warning: The CFBundleVersion of an app extension (null) must match that of its containing parent app ('0.1').

This one solved. There need to be added into extension Info.plist:

<key>CFBundleVersion</key>
<string>${A_PROJECT_VERSION}</string>
<key>CFBundleShortVersionString</key>
<string>${A_PROJECT_VERSION}</string>

The code sample is here

Continue reserching other troubles.