No such Module Found on line -> "import Cryptokit"

I have used Apple API - Apple CryptoKit | Apple Developer Documentation in my project .

While Archieving the Project , I gives out an error ,And build Fails .

The Same Project works well in Xcode 12_4 . Only after I updated my Xcode to Xcode13. This Error Started Occurring .

Xcode12_4 - Catalina Mac Xcode 13 - BigSur Mac.

Whether It may be due to Bigsur ? Does Any other reproduces this Error?

Can Anyone Help me in this?

While Archieving the Project , I gives out an error ,And build Fails Only after I updated my Xcode to Xcode13. This Error Started Occurring . Whether It may be due to Bigsur ? Does Any other reproduces this Error?

Strange, I tried this on Big Sur 11.5.2 with Xcode 13 and was not able to reproduce this. I also tried it on Monterey Beta 9 with Xcode 13 and it worked well there too.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

I tested with Xcode 13 and BigSur. No error with import CryptoKit. I also tested in playground, no problem either.

Do you get any completion proposal when you start typing import Cr…. ? If not that may mean you had an Xcode installation problem.

Xcode12_4 - Catalina Mac Xcode 13 - BigSur Mac.

What do you mean here ? Did it work in 12.4 ? Which exact version of Xcode 13 are you using ?

Could you show the full beginning of your file (before line 13) ?

No such Module Found on line -> "import Cryptokit"
 
 
Q