I suggest adding the swift framework library with the ios.add_libs build 
hint.

On Friday, December 4, 2020 at 3:52:21 PM UTC+2 [email protected] wrote:

> Hi , 
> I have this problem with a build project . 
> with i importing the static lib in native Interface :
>
>
> ld: warning: Could not find or use auto-linked library 'swiftCoreMedia'
> ld: warning: Could not find or use auto-linked library 'swiftCoreImage'
> ld: warning: Could not find or use auto-linked library 
> 'swiftCompatibilityDynamicReplacements'
> ld: warning: Could not find or use auto-linked library 'swiftsimd'
> ld: warning: Could not find or use auto-linked library 
> 'swiftCompatibility51'
> ld: warning: Could not find or use auto-linked library 'swiftFoundation'
> ld: warning: Could not find or use auto-linked library 'swiftCoreAudio'
> ld: warning: Could not find or use auto-linked library 
> 'swiftCoreFoundation'
> ld: warning: Could not find or use auto-linked library 
> 'swiftCompatibility50'
> ld: warning: Could not find or use auto-linked library 
> 'swiftUniformTypeIdentifiers'
> ld: warning: Could not find or use auto-linked library 'swiftCoreMIDI'
> ld: warning: Could not find or use auto-linked framework 
> 'UniformTypeIdentifiers'
> Undefined symbols for architecture arm64:
>   "type metadata accessor for Swift.FloatingPointRoundingRule", referenced 
> from:
>       (extension in SkyIdSDK):__C.UIImage.rotate(radians: Swift.Float) -> 
> __C.UIImage? in libSkyIdSDK.a(UIImageUtil.o)
>   "enum case for 
> Swift.FloatingPointRoundingRule.toNearestOrEven(Swift.FloatingPointRoundingRule.Type)
>  
> -> Swift.FloatingPointRoundingRule", referenced from:
>       (extension in SkyIdSDK):__C.UIImage.rotate(radians: Swift.Float) -> 
> __C.UIImage? in libSkyIdSDK.a(UIImageUtil.o)
>   "enum case for 
> Swift.FloatingPointRoundingRule.towardZero(Swift.FloatingPointRoundingRule.Type)
>  
> -> Swift.FloatingPointRoundingRule", referenced from:
>       (extension in SkyIdSDK):__C.UIImage.rotate(radians: Swift.Float) -> 
> __C.UIImage? in libSkyIdSDK.a(UIImageUtil.o)
>   "Swift.FloatingPointSign.rawValue.getter : Swift.Int", referenced from:
>       (extension in SkyIdSDK):__C.UIImage.rotate(radians: Swift.Float) -> 
> __C.UIImage? in libSkyIdSDK.a(UIImageUtil.o)
>   "Swift.Double.init(Swift.Float) -> Swift.Double", referenced from:
>       (extension in SkyIdSDK):__C.UIImage.rotate(radians: Swift.Float) -> 
> __C.UIImage? in libSkyIdSDK.a(UIImageUtil.o)
>   "protocol conformance descriptor for Swift.String.UnicodeScalarView : 
> Swift.Collection in Swift", referenced from:
>       lazy protocol witness table accessor for type 
> Swift.String.UnicodeScalarView and conformance 
> Swift.String.UnicodeScalarView : Swift.Collection in Swift in 
> libSkyIdSDK.a(MRZField.o)
>   "Swift.Character.unicodeScalars.getter : 
> Swift.String.UnicodeScalarView", referenced from:
>       static SkyIdSDK.MRZField.isValueValid(_: Swift.String, checkDigit: 
> Swift.String) -> Swift.Bool in libSkyIdSDK.a(MRZField.o)
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/cb119b97-02d1-4cb9-a47a-0755b3330e09n%40googlegroups.com.

Reply via email to