vfont icon indicating copy to clipboard operation
vfont copied to clipboard

Cannot find type 'Font' in scope

Open appfrilans opened this issue 3 years ago • 9 comments

I get the following errror when exporting my app:

Cannot find type 'Font' in scope

On this row:

public extension Font {

in VFont.swift

Any ideas?

appfrilans avatar Jul 04 '22 15:07 appfrilans

Hello! Thank you for the issue. Could you please tell me the iOS version? And what package manager did you use?

dufflink avatar Jul 11 '22 09:07 dufflink

Hi,

I used SPM and latest iOS version (15.5)

Regards, Jonas

11 juli 2022 kl. 11:26 skrev Maxim Skorynin @.***>:

 Hello! Thank you for the issue. Could you please tell me the iOS version? And what package manager did you use?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

appfrilans avatar Jul 11 '22 09:07 appfrilans

I've just created a new iOS project to test it. Works fine 🧐

Could you please kindly compare the attached zip file with your project? test-vfont.zip

dufflink avatar Jul 11 '22 09:07 dufflink

@appfrilans Let me please know if it doesn't help 🙏

dufflink avatar Jul 14 '22 08:07 dufflink

Testing your project and it seems to be working fine. Even with Catalyst. Will do some research and get back to you. Thanks!

appfrilans avatar Aug 11 '22 15:08 appfrilans

Now it just works! Not sure what I did to make it work in my own project...

appfrilans avatar Aug 12 '22 08:08 appfrilans

I take that back. Did not try exporting. Can even reproduce it with your test-project. Just click "Any iOS device (arm64)" as target and then Product > Archive and it will give you that error.

appfrilans avatar Aug 26 '22 16:08 appfrilans

You are right! I faced the same error when tried to Archive my project. I'll fix it as soon as possible

dufflink avatar Sep 20 '22 08:09 dufflink

@appfrilans Something strange happened. I installed Xcode 14 and now I can't repeat the previous scenario. 'Product > Archive' works. I tried to launch the same process in Xcode 13 and now it works too. Could you please try to repeat the actions?

dufflink avatar Sep 22 '22 10:09 dufflink