Closed ericbomgardner closed 2 months ago
Fixes https://github.com/ponnamkarthik/FlutterToast/issues/463
Prior to https://github.com/ponnamkarthik/FlutterToast/pull/405, this line matched the flutter plugin template
`s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }`
In #405, arm64 was added to EXCLUDED_ARCHS[sdk=iphonesimulator*] to work around dependencies missing arm64 slices for simulator, but that change is no longer necessary: https://github.com/CocoaPods/CocoaPods/issues/10104#issuecomment-704916617.
arm64
EXCLUDED_ARCHS[sdk=iphonesimulator*]
In #425, the line was changed to add VALID_ARCHS, which is a deprecated build setting (source).
VALID_ARCHS
Most other common flutter packages don't have VALID_ARCHS set in their podspec.
VALID_ARCHS is removed -- it's no longer necessary, and was breaking release builds (#463) for some users
Fixes https://github.com/ponnamkarthik/FlutterToast/issues/463
Background
Prior to https://github.com/ponnamkarthik/FlutterToast/pull/405, this line matched the flutter plugin template
In #405,
arm64
was added toEXCLUDED_ARCHS[sdk=iphonesimulator*]
to work around dependencies missingarm64
slices for simulator, but that change is no longer necessary: https://github.com/CocoaPods/CocoaPods/issues/10104#issuecomment-704916617.In #425, the line was changed to add
VALID_ARCHS
, which is a deprecated build setting (source).Most other common flutter packages don't have
VALID_ARCHS
set in their podspec.What changes in this PR
VALID_ARCHS
is removed -- it's no longer necessary, and was breaking release builds (#463) for some users