Skip to content

Commit

Permalink
fix: update codegen config (#409)
Browse files Browse the repository at this point in the history
* feat: update codeine config

* fix: update pod spec for new archictecture
  • Loading branch information
radko93 authored Nov 25, 2024
1 parent 689aee7 commit 36ef1a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,8 @@
]
},
"codegenConfig": {
"libraries": [
{
"name": "RNImageResizerSpec",
"type": "modules",
"jsSrcsDir": "src"
}
]
"name": "RNImageResizerSpec",
"type": "modules",
"jsSrcsDir": "src"
}
}
4 changes: 3 additions & 1 deletion react-native-image-resizer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm}"

s.dependency "React-Core"
s.ios.framework = 'AssetsLibrary', 'MobileCoreServices'

# Don't install the dependencies when we run `pod install` in the old architecture.
Expand All @@ -32,6 +31,9 @@ Pod::Spec.new do |s|
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
install_modules_dependencies(s)
else
s.dependency "React-Core"
end
end

0 comments on commit 36ef1a9

Please # to comment.