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

fix(ios): Add Codable folder to podspec source_files #7131

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

jcesarmobile
Copy link
Member

No description provided.

@giralte-ionic giralte-ionic merged commit 04d1d55 into main Dec 14, 2023
7 checks passed
@giralte-ionic giralte-ionic deleted the fix-podspec branch December 14, 2023 15:54
@@ -16,8 +16,8 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '13.0'
s.authors = { 'Ionic Team' => '[email protected]' }
s.source = { git: 'https://github.com/ionic-team/capacitor.git', tag: package['version'] }
s.source_files = "#{prefix}Capacitor/Capacitor/*.{swift,h,m}", "#{prefix}Capacitor/Capacitor/Plugins/*.{swift,h,m}",
"#{prefix}Capacitor/Capacitor/Plugins/**/*.{swift,h,m}"
s.source_files = "#{prefix}Capacitor/Capacitor/*.{swift,h,m}", "#{prefix}Capacitor/Capacitor/Codable/*.{swift,h,m}",
Copy link
Contributor

@Steven0351 Steven0351 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is late, but why don't we just make this:

s.source_files = "#{prefix}Capacitor/Capacitor/**/*.{swift,h,m}"

This should recursively include all files under capacitor and we wouldn't have to keep adding this anytime we decide to add a folder for organization purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

4 participants