1) The situation in general:
1A) I begun USB-DExt project for Mac & iPADsOS>=17.
1B) I started-from scratch with
DriverKitSampleApp
1C) For these two different targets (Mac,iPAD; using IDE XCode15.0), I couldn't find another way to build the sample project from Apple, beside this: now I have two handmade sets of ini-profiles and two respective "command-files".
2) My current palliative solution comprises of two specific ~"command-files" (each one runs in a directory with specific DriverKitSampleApp.entitlements,project.pbxproj)_ :
2A) my current file "cpy.command" for target "MAC"
## Destination "Mac"
## DriverKitSampleApp.entitlements: "com.apple.developer.driverkit.userclient-access"
## item0: "com.ry.dexsample1.driver"
## Build Settings "DriverKitSampleApp":Signing:Code Signing Identity:"Sign to Run Locally"
## "NullDriver":Signing:Code Signing Identity:"Sign to Run Locally"
## "NullDriver":"AD_HOC_CODE_SIGNING_ALLOWED=YES"
cp DriverKitSampleApp.entitlements ../DriverKitSampleApp
cp project.pbxproj ../RyDExtSmpl1.xcodeproj
2B) my current file ~"cpy.command" for target "iPAD"
## Destination "iPAD"
## Build Settings "DriverKitSampleApp":Signing:Code Signing Identity:"Apple Development"
## "NullDriver":Signing:Code Signing Identity:"Apple Development"
## "NullDriver":"AD_HOC_CODE_SIGNING_ALLOWED=NO"
cp DriverKitSampleApp.entitlements ../DriverKitSampleApp
cp project.pbxproj ../RyDExtSmpl1.xcodeproj
2C) This state is inconvenient (predicting that I will switch between MAC and iPAD dozens thousands of times when debugging this project)
3) The question
3A) I need to build the Apple's sample project "DriverKitSampleApp" just selecting one of two possible targets (Mac,iPad) in XCode-IDE.
3B) Option1: what developer(or team's entitlements) do I need for "3A"?
3C) Option2: what adjustments of project's configuration files do I need for "3A"? .
Topic:
Code Signing
SubTopic:
General