From 9be6de3491eff05e336ef5f57c51409b03e6c338 Mon Sep 17 00:00:00 2001 From: Sebastian Villena <97059974+ruisebas@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:17:49 -0500 Subject: [PATCH] chore: Fixing AWSLex.podspec --- AWSLex.podspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AWSLex.podspec b/AWSLex.podspec index 8fcdd44843c..d4e64d74b77 100644 --- a/AWSLex.podspec +++ b/AWSLex.podspec @@ -21,6 +21,9 @@ Pod::Spec.new do |s| s.resource_bundle = { 'AWSLex' => ['AWSLex/Media.xcassets', 'AWSLex/PrivacyInfo.xcprivacy'] } # Exclude arm64 when building for simulator on Xcode 12+ - s.pod_target_xcconfig = {'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'} + s.pod_target_xcconfig = { + 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64', + 'OTHER_LDFLAGS': '-ObjC -ld64' + } end