From 4bbbe035e6ae20f7df52d53e61a14cb811eddb35 Mon Sep 17 00:00:00 2001 From: nrubin29 Date: Mon, 29 Nov 2021 01:22:41 -0500 Subject: [PATCH] [iOS] Set `ENABLE_BITCODE` to `NO` to resolve potential build issues. --- CHANGELOG.md | 4 ++++ example/ios/Podfile.lock | 2 +- ios/flutter_acrcloud.podspec | 2 +- pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3244cf..e2a2c13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.5 + +* [iOS] Set `ENABLE_BITCODE` to `NO` to resolve potential build issues. + ## 0.1.4 * Updated ACRCloud SDK to v1.6.2.1 diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index b6aa44f..811d820 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -15,7 +15,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - flutter_acrcloud: e14db5dc29b45fa29428d1c4ef7696c3f5cb60f8 + flutter_acrcloud: 8dc6ee574321bc08390c1e79900aad5ef683248d PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c diff --git a/ios/flutter_acrcloud.podspec b/ios/flutter_acrcloud.podspec index b36e07b..e6c24b8 100644 --- a/ios/flutter_acrcloud.podspec +++ b/ios/flutter_acrcloud.podspec @@ -22,6 +22,6 @@ A Flutter plugin for the ACRCloud music recognition API s.library = 'stdc++' # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. - s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } + s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64', 'ENABLE_BITCODE' => 'NO' } s.swift_version = '5.0' end diff --git a/pubspec.yaml b/pubspec.yaml index 76b3719..7d7f4b8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_acrcloud description: A Flutter plugin for the ACRCloud music recognition API. This plugin provides a simple interface for using ACRCloud to recognize music from the device's microphone -version: 0.1.4 +version: 0.1.5 homepage: https://github.com/nrubin29/flutter_acrcloud environment: