From 1d57ee3def07d9e3250400639370fefa01398c1a Mon Sep 17 00:00:00 2001 From: Tiago Daniel Jacobs Date: Tue, 30 Aug 2022 15:42:04 -0300 Subject: [PATCH] Fix the build on intel XCode --- ios/BigBlueButton Tablet.xcodeproj/project.pbxproj | 3 +++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ ios/Podfile | 8 ++++++++ ios/Podfile.lock | 2 +- 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ios/BigBlueButton Tablet.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/ios/BigBlueButton Tablet.xcodeproj/project.pbxproj b/ios/BigBlueButton Tablet.xcodeproj/project.pbxproj index 16c22ee..cdc8a46 100644 --- a/ios/BigBlueButton Tablet.xcodeproj/project.pbxproj +++ b/ios/BigBlueButton Tablet.xcodeproj/project.pbxproj @@ -635,6 +635,7 @@ CODE_SIGN_ENTITLEMENTS = "BigBlueButton Tablet.entitlements"; CURRENT_PROJECT_VERSION = 11; DEVELOPMENT_TEAM = N69T9W23TC; + ENABLE_BITCODE = NO; INFOPLIST_FILE = BigBlueButtonTablet/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = "BigBlueButton Tablet"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education"; @@ -677,6 +678,7 @@ DEVELOPMENT_TEAM = N69T9W23TC; GCC_C_LANGUAGE_STANDARD = gnu11; GENERATE_INFOPLIST_FILE = YES; + ENABLE_BITCODE = NO; INFOPLIST_FILE = "BigBlueButton Broadcast/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = "BigBlueButton Broadcast"; INFOPLIST_KEY_NSHumanReadableCopyright = ""; @@ -718,6 +720,7 @@ DEVELOPMENT_TEAM = N69T9W23TC; GCC_C_LANGUAGE_STANDARD = gnu11; GENERATE_INFOPLIST_FILE = YES; + ENABLE_BITCODE = NO; INFOPLIST_FILE = "BigBlueButton Broadcast/Info.plist"; INFOPLIST_KEY_CFBundleDisplayName = "BigBlueButton Broadcast"; INFOPLIST_KEY_NSHumanReadableCopyright = ""; diff --git a/ios/BigBlueButton Tablet.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/BigBlueButton Tablet.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/BigBlueButton Tablet.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Podfile b/ios/Podfile index b0eaefc..f23b96d 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -58,5 +58,13 @@ target 'BigBlueButton Tablet' do end end #end of https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1188774894 + + # https://stackoverflow.com/a/32685434 + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + config.build_settings['ENABLE_BITCODE'] = 'NO' + end + end + # end of https://stackoverflow.com/a/32685434 end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index ba9ff02..78cb03a 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -647,6 +647,6 @@ SPEC CHECKSUMS: Yoga: ff994563b2fd98c982ca58e8cd9db2cdaf4dda74 YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: 37d4e6383aefcfa4695e0b0da01d3ddf36182298 +PODFILE CHECKSUM: 60c0727fe96eefac3de04d7ac4413254c1f48c34 COCOAPODS: 1.11.3