ghostery / user-agent-ios

Ghostery iOS Browser
https://apps.apple.com/us/app/ghostery-privacy-browser/id472789016
Mozilla Public License 2.0
73 stars 23 forks source link

Release build crash with Illegal Instruction: 4 #1205

Closed chrmod closed 3 years ago

chrmod commented 3 years ago

All Released build fail to compiled Shared framework. Swift compiler crashes with Illegal Instruction: 4.

chrmod commented 3 years ago

After investigation and following tips like this one https://stackoverflow.com/a/39642455 we've discovered that compiler crashes only -O swift code optimisation flag set.

This is a regression as it worked fine with older version of Swift (Xcode) and was reported to Swift issue tracker https://bugs.swift.org/browse/SR-14722