Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
disable bitcode for pods deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Steiner committed May 19, 2021
1 parent e1fe9f0 commit 3253c5a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,6 @@ jobs:

- name: Build iOS library ${{ matrix.target }}
working-directory: ./xayn-ai-ffi-c
env:
RUSTFLAGS: -Cdebuginfo=0
run: cargo lipo --targets ${{ matrix.target }}

- name: Prepare lib for upload
Expand Down Expand Up @@ -668,10 +666,6 @@ jobs:
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get install libclang-10-dev

# - name: Set XCode version to 12.2
# if: matrix.os == 'macos-10.15'
# run: sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer

- name: Download ${{ needs.build-linux-lib.outputs.cache-key }} artifacts
uses: actions/download-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion bindings/dart/example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<string>12.1</string>
</dict>
</plist>
3 changes: 3 additions & 0 deletions bindings/dart/example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
2 changes: 1 addition & 1 deletion bindings/dart/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ SPEC CHECKSUMS:
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
xayn_ai_ffi_dart: 286b391bc1afb0c5b9c3d3e15cf1a54df623ffda

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
PODFILE CHECKSUM: 96a0047845f962487b194a3aa86ff7b33aa09ba1

COCOAPODS: 1.10.1
8 changes: 3 additions & 5 deletions bindings/dart/example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -419,7 +419,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -469,7 +469,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand All @@ -487,7 +487,6 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 57SDG79Y54;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -510,7 +509,6 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = 57SDG79Y54;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down

0 comments on commit 3253c5a

Please sign in to comment.