1
0
mirror of https://github.com/GitJournal/GitJournal.git synced 2025-07-11 13:03:34 +08:00

ios: Enable flutter_email_sender

It needed the SWIFT_VERSION variable to be set, and for it to be set to
a version that exists on my system. I'm pasting the error over here so
maybe I google search will help a lost soul in the future -

`flutter_email_sender` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

https://github.com/sidlatau/flutter_email_sender/issues/8
This commit is contained in:
Vishesh Handa
2019-05-20 20:43:25 +02:00
parent b07df91aa0
commit e543e976ea
3 changed files with 12 additions and 2 deletions

@ -66,7 +66,7 @@ post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['SWIFT_VERSION'] = '3.2'
config.build_settings['SWIFT_VERSION'] = '5.0'
end
end
end

@ -36,6 +36,8 @@ PODS:
- Crashlytics
- Fabric
- Flutter
- flutter_email_sender (0.0.1):
- Flutter
- GoogleAppMeasurement (6.0.0):
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
- GoogleUtilities/MethodSwizzler (~> 6.0)
@ -81,6 +83,7 @@ DEPENDENCIES:
- firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
- Flutter (from `.symlinks/flutter/ios`)
- flutter_crashlytics (from `.symlinks/plugins/flutter_crashlytics/ios`)
- flutter_email_sender (from `.symlinks/plugins/flutter_email_sender/ios`)
- launch_review (from `.symlinks/plugins/launch_review/ios`)
- package_info (from `.symlinks/plugins/package_info/ios`)
- share (from `.symlinks/plugins/share/ios`)
@ -108,6 +111,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/flutter/ios"
flutter_crashlytics:
:path: ".symlinks/plugins/flutter_crashlytics/ios"
flutter_email_sender:
:path: ".symlinks/plugins/flutter_email_sender/ios"
launch_review:
:path: ".symlinks/plugins/launch_review/ios"
package_info:
@ -130,6 +135,7 @@ SPEC CHECKSUMS:
FirebaseInstanceID: 0e0348a3c00a734fa376a070f5ad4533ad975cb5
Flutter: 58dd7d1b27887414a370fcccb9e645c08ffd7a6a
flutter_crashlytics: 7b5bba7233066381c8e18343435342ba05f3053c
flutter_email_sender: f787522d0e82f50e5766c1213dbffff22fdcf009
GoogleAppMeasurement: 7f028ea162b72c8f326daec74afc95d94f7a47d6
GoogleUtilities: 84df567c76ca84f67b7bb40e769fdd4acc746a10
launch_review: 75d5a956ba8eaa493e9c9d4bf4c05e505e8d5ed0
@ -139,6 +145,6 @@ SPEC CHECKSUMS:
shared_preferences: 1feebfa37bb57264736e16865e7ffae7fc99b523
url_launcher: 0067ddb8f10d36786672aa0722a21717dba3a298
PODFILE CHECKSUM: c7ea44de13b9d22541bedd655230401732eff1bd
PODFILE CHECKSUM: c389cfdb8cb9f50beaf2214b6dc7de542e4bc41b
COCOAPODS: 1.6.1

@ -288,6 +288,7 @@
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
"${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework",
"${BUILT_PRODUCTS_DIR}/device_info/device_info.framework",
"${BUILT_PRODUCTS_DIR}/flutter_email_sender/flutter_email_sender.framework",
"${BUILT_PRODUCTS_DIR}/launch_review/launch_review.framework",
"${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework",
"${BUILT_PRODUCTS_DIR}/package_info/package_info.framework",
@ -302,6 +303,7 @@
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/device_info.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_email_sender.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/launch_review.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/package_info.framework",
@ -471,6 +473,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
@ -495,6 +498,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = io.gitjournal.gitjournal;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;