SearchTextField icon indicating copy to clipboard operation
SearchTextField copied to clipboard

Error During Archive

Open zuil7 opened this issue 7 years ago • 2 comments

Hi,

Encountered issue during archive. It won't proceed. I set swift language version to Swift 4.1 . Hope you have fixed on this issue.

:0: error: fatal error encountered while reading from module 'SearchTextField'; please file a bug report with your project and the crash log :0: note: compiling as Swift 3.3.2, with 'SearchTextField' built as Swift 4.1.2 (this is supported but may expose additional compiler issues)

*** DESERIALIZATION FAILURE (please include this section in any bug report) *** declaration is not a nominal type Cross-reference to module 'Foundation' ... NSAttributedStringKey

zuil7 avatar Sep 12 '18 03:09 zuil7

I have the same problem

Gidrek avatar Oct 09 '18 02:10 Gidrek

I finally could be the archive from Xcode. The issues here can be for two reasons.

The first one is that you are using Swift 3 to compile and you are using a recent version of TextSearchField

captura de pantalla 2018-10-10 21 42 00

In this case, you need to install 'SearchTextField', '1.1.8'

Or you can change to another Swift version

captura de pantalla 2018-10-10 21 42 05

But maybe you need to upgrade all your code to 4.0 or 4.2 version of Swift

Gidrek avatar Oct 11 '18 02:10 Gidrek