metaplex-foundation / metaplex-ios

Metaplex Mobile IOS SDK
23 stars 21 forks source link

Error when creating NFT: "'CreateNftInput' initializer is inaccessible due to 'internal' protection level" #71

Open damlaHolo opened 1 year ago

damlaHolo commented 1 year ago

I'm trying to create an NFT using the function: metaplex.nft.createNft

I am attempting to create an input parameter of the type: CreateNftInput

However, when I try to initialise it, I get the error:

"'CreateNftInput' initializer is inaccessible due to 'internal' protection level"

The object "public struct CreateNftInput " doesn't seem to have a public initializer? What am I doing wrong?

ajamaica commented 1 year ago

Looking at it. I was on Parenting holiday sorry for the delay