WilliamMaybe
Committed by David PHAM-VAN

[MOD]iOS Compatible

@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 - Improve PdfPreview widget 6 - Improve PdfPreview widget
7 - Fix Linux build on Debian 9 7 - Fix Linux build on Debian 9
8 - Added a boolean toggle to show/hide debug switch 8 - Added a boolean toggle to show/hide debug switch
  9 +- Fix iOS build when not using use_framework!
9 10
10 ## 5.2.1 11 ## 5.2.1
11 12
@@ -14,7 +14,11 @@ @@ -14,7 +14,11 @@
14 * limitations under the License. 14 * limitations under the License.
15 */ 15 */
16 16
  17 +#if __has_include(<printing/printing-Swift.h>)
17 #import <printing/printing-Swift.h> 18 #import <printing/printing-Swift.h>
  19 +#else
  20 +#import "printing-Swift.h"
  21 +#endif
18 22
19 // Dart:ffi API 23 // Dart:ffi API
20 24