kext for x86_64 + arm64e change into only x86_64 after codesign.

I have a kext in app, and I can run it well on Xcode, but I cannot successfully run kextload command after archive. According to the error message, I then use "lipo -archs" to check kext archs, I found some strange things.

Checkout the result of app in Xcode product directory:

The result of app in Archive directory:

Is there a way to resolve this issue? Where might the mistake be? Or Can I just copy app and code sign, notarize the app, then provide it for others to use?

Answered by DTS Engineer in 801673022

It’s probably best if we centralise this discussion on your other thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It’s probably best if we centralise this discussion on your other thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

kext for x86_64 + arm64e change into only x86_64 after codesign.
 
 
Q