Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing VALID_ARCHS from pod_target_xcconfig in iOS podspec #505

Merged
merged 1 commit into from Apr 23, 2024

Conversation

ericbomgardner
Copy link
Contributor

Fixes #463

Background

Prior to #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: CocoaPods/CocoaPods#10104 (comment).

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

@ponnamkarthik ponnamkarthik merged commit 2d872eb into ponnamkarthik:master Apr 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xcode14 bulid error
2 participants