Hi
I'm wondering how to signing profile in Xcode 14 and install successfully on any other macOS 13 without install any profile or entitlements .
Does Beta version in macOS require develop profile to test until formal OS version release? Before formal OS version , I can't signing in app with distribute profile?
thanks
Post
Replies
Boosts
Views
Activity
Thanks for your replay
The trusted execution system does not change behaviour between beta and final OS releases.
When I sign in with distribution profile in signing & capabilities, Xcode 14 Beta will tell me the error code that "Xcode 14 and later requires a DriverKit development profile enabled for iOS and macOS. Visit the developer website to create or download a DriverKit profile." .
I have no idea how to deal with it because that profile works in Xcode 13 macOS 12 ,and the Apple documents are nothing relevant with that.
If nothing wrong between signing and profile, could it possible to a bug in Xcode14 Beta 3 or macOS 13 Beta.
thanks
@eskimo Thanks for your reply
I think the problem here is that you’re building to within a directory on your desktop. The desktop is protected by MAC, and that can cause all sorts of weird problems. Move your build directory somewhere that’s not MAC protected. I usually do this sort of work in a new directory that I create within my home directory.
For more info about MAC, see On File System Permissions.
If you want to maintain easy access to that directory, create an alias on your desktop that points to that directory.
I have totally no idea which directory is not protected by MAC, I've tried so many directory such like ~/Application and search apple document to realize that where is the best directory to place whole project.
Cloud you please tell me where can place whole project to archive successfully?
And, I also tried another ways to archive my project to distribute. I use two types of "xcodebuild" command to archive project but both of them have a similar problem.
There are two type of commands below:
xcodebuild -project USBApp.xcodeproj -scheme AX88179 -archivePath "AX88179.xcarchive" DWARF_DSYM_FOLDER_PATH="build" -targetgeneral/platform=macos archive
xcodebuild -alltargets archive
error code is :
"SetOwnerAndGroup root:wheel /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext (in target 'AX88179' from project 'USBApp')
cd /Users/asix/Desktop/Dext2.2.0commandtest
/usr/sbin/chown -RH root:wheel /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext
chown: /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext/com.asix.development.driverkit: Operation not permitted
chown: /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext/embedded.provisionprofile: Operation not permitted
chown: /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext/Info.plist: Operation not permitted
chown: /Users/asix/Desktop/Dext2.2.0commandtest/Build/Intermediates.noindex/ArchiveIntermediates/AX88179/IntermediateBuildFilesPath/UninstalledProducts/driverkit/com.asix.development.driverkit.dext: Operation not permitted
Command SetOwnerAndGroup failed with a nonzero exit code
** ARCHIVE FAILED **"
error code is:
"Create build description
Command failed with a nonzero exit code
error: unexpected service error: build aborted due to an internal error: unable to write manifest to '/Users/asix/Desktop/Dext2.2.0commandtest/build/XCBuildData/d004680d06c003af166da503c1228bc3.xcbuilddata/manifest.json': mkdir(/Users/asix/Desktop/Dext2.2.0commandtest/build/XCBuildData/d004680d06c003af166da503c1228bc3.xcbuilddata, S_IRWXU | S_IRWXG | S_IRWXO): Permission denied (13)
** ARCHIVE FAILED **"
If I add "sudo" into the top of both of command above, It'll show "note: Building targets in dependency order
/Users/asix/Desktop/Dext2.2.0commandtest/USBApp.xcodeproj: error: No profile for team '5RHFAZ9D4P' matching 'Development Driverkit profile' found: Xcode couldn't find any provisioning profiles matching '5RHFAZ9D4P/Development Driverkit profile'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'AX88179' from project 'USBApp')
/Users/asix/Desktop/Dext2.2.0commandtest/USBApp.xcodeproj: error: No profile for team '5RHFAZ9D4P' matching 'Development product' found: Xcode couldn't find any provisioning profiles matching '5RHFAZ9D4P/Development product'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the Signing & Capabilities tab of the target editor. (in target 'USBApp' from project 'USBApp')
** ARCHIVE FAILED **" error code .
The error code above, could you please tell me as detail as you can that how to solve those problem no matter use Xcode IDE or Commands?
I tried so many ways passing the archive process.....
According to the "Simplify distribution in Xcode and Xcode Cloud" introduction video, distribute Driverkit application needs to use Profile type "Development" to config "signing & capability" and pass the archive to notarize project to organizer, later to distribute.
Do I have any misunderstanding of the process to distribute the Driverkit application?
I really needs some specific methods or suggestions to distribute my Driverkit application.
It's fine to tell me another brand new distribute process detail if totally misunderstanding the whole process.
Thanks for your help
Sincerely.
self solved
I created new app different app ID when requested system-extension entitlements. So I match the app ID and array key and values with profile of automatic mode. and then I can running my app.
Hi, could you please tell me more informations about how to slove this question?
I added "com.apple.developer.driverkit.transport.pci" into .entitlements file under the Entitlements File Key and showed "Unsatisfied entitlements: com.apple.developer.driverkit.transport.pci" error code after run the driver.
Then, I tried to add "DriverKit PCI" into it, and log showed the " Unsatisfied entitlements:DriverKit PCI"
Last, I added "IOPCIPrimaryMatch"into Info.plist file under the Information Property List -> IOKitPersonakities Dictionary but it can't identify the device via IOPCIPrimaryMatch value.
Hi, I'm facing the same problem, do you have any suggestions to solve this problem?
Thanks a lot
Hi @eskimo ,
I've read all of the post of this problem and no any idea to solve it.
what are those error log and errorcode mean? I can't find any answer exactly in apple document, so stop posting the useless documents and links of Forums post.
" 2023-11-01 16:38:49.218376+0800 0x5ed4 Error 0x0 139 0 kernelmanagerd: DextRecord ( path: /Library/SystemExtensions/108CB18F-44D3-4CDE-A38D-C665BF4473D0/bundleID; isBeingReplaced: false ) was cleaned up from DextRecordTable but was not found in manager to complete cleanup"
" Error 0x0 1171 0 sysextd: no extensions found that are terminating for upgrade via delegate with identifier com.asix.dext.pciedevice"
"Error 0x0 139 0 kernelmanagerd: Error occurred while handling request DextUpdateNotification(arguments: Optional(["CFBundleIdentifier": com.asix.dext.pciedevice, "kOSBundleDextUniqueIdentifier": <b706b870 6e3f583d 5cfa6ae1 504adebd 4dcb54b7 a32c286f df042ab6 60d398bc>])): SysExtensionWaitForTerminationError: Could not communicate with sysextd to continueCleanupForDextUpgrade Error Domain=OSSystemExtensionErrorDomain Code=4 "(null)""
I've searched about the SystemExtension and checked, none of them used in my application, so how this error mean and how to solve it???
why ivars->PCIDevice->Open(this,0) excuse failed and show"kernel: DK: IOUserServer(BundleID-0x1000009af)::terminate(AxPCIeEth-0x1000009af) server exit before start(),and Open()'s return value is " 0xe00002d8". What is "0xe0002d8" exactly mean in this function?
5.2023-07-31 13:43:47.031012+0800 0x1d41ce Error 0x0 12158 0 taskgated-helper: (ConfigurationProfiles) [com.apple.ManagedClient:ProvisioningProfiles] com.asix.dext.pciedevice: Unsatisfied entitlements: com.apple.developer.driverkit.transport.pci
6.2023-07-31 13:43:47.031048+0800 0x1d41ce Error 0x0 12158 0 taskgated-helper: (ConfigurationProfiles) [com.apple.ManagedClient:ProvisioningProfiles] Disallowing: com.asix.dext.pciedevice
7.2023-07-31 13:43:47.062775+0800 0x1d436e Error 0x0 103 0 kernelmanagerd: Error occurred while handling request "DextLaunch(arguments: Optional(["Check In Token": 12087, "kOSBundleDextUniqueIdentifier": <04642bc8 90788071 c2a02259 c624ba81 3bebbf55 f9f2db7e f9fbbdd5 1f2ed99d>, "Driver Extension Server Tag": 4294982732, "DriverKit Reslide Shared Cache": 0, "Driver Extension Server Name": com.asix.dext.pciedevice, "CFBundleIdentifier": com.asix.dext.pciedevice]))": Error Domain=NSPOSIXErrorDomain Code=8 "Exec format error"
what the meaning of those error message and how to do to avoid showing those error?
If you can explain it very clearly, I'll very appreciate it.
thanks
the file below are my entitlement & plist setting.
Info_plist.txt
AxPCIeEth_entitlements.txt