TigaseSwift fails to compile on XCode 9.3 (#27)
Andrzej Wójcik (Tigase) opened 7 years ago

After the update of XCode to version 9.3, TigaseSwift fails to compile (lining issue). For an unknown reason, it does not work with Swift toolchain provided with XCode but works fine with toolchain from swift.org.

Andrzej Wójcik (Tigase) commented 7 years ago

For some reason in iOS 11.3 and macOS 10.13.4 library for ZLIB compression has changed names of method parameters used for compression. Those methods and parameters were hardcoded as when we developed ZLIB compression support for TigaseSwift there was no other way. Now, it is possible to use ZLIB from the same library using the module which can be easily imported, so I've switched to that to solve this issue and whats more it will throw compilation issues when Apple will change parameter names - it will mark lines which needs to be fixed, instead of throwing linking error and not letting developers know what is the real cause of the issue.

Andrzej Wójcik (Tigase) commented 7 years ago

Now all works fine. Closing issue.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
6994
Version
Version 1.0 Beta1
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#27
Please wait...
Page is in error, reload to recover