okta / okta-devices-swift

okta-devices-swift
https://github.com/okta/okta-devices-swift
Apache License 2.0
8 stars 1 forks source link

Cannot find 'UIDevice' in scope #168

Closed ebubekirsezer closed 10 months ago

ebubekirsezer commented 10 months ago

Describe the bug?

I added the SPM package of the okta-devices-swift in an empty project and when i run the app i am getting this error Cannot find 'UIDevice' in scope in OktaDeviceModelBuilder class line 135.

Screenshot 2023-12-12 at 10 49 24

What is expected to happen?

Class should be run without an error

What is the actual behavior?

Giving an error to import the UIKit

Reproduction Steps?

Adding the okta-devices-swift in an empty project and run

Additional Information?

No response

SDK Version(s)

1.1.1 & 1.1.0

Build Information

No response

moisesolmedo-okta commented 10 months ago

This has been fixed in 1.1.2 release.