```ruby
require "json"

json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys

Pod::Spec.new do |s|
  s.name = package[:name]
  s.version = package[:version]
  s.license = { type: "MIT" }
  s.homepage = "https://github.com/SudoPlz/react-native-amplitude-analytics"
  s.authors = package[:author][:name]
  s.summary = package[:description]
  s.source = { git: package[:repository][:url] }
  s.source_files = "ios/*.{h,m}"
  s.platform = :ios, "8.0"

  s.dependency "React"
  
  s.dependency "Amplitude-iOS", "~> 3.14.1"
end
```

Upgrade Amplitude version to 4.0.4 in podspec
user
```ruby
require "json"

json = File.read(File.join(__dir__, "package.json"))
package = JSON.parse(json).deep_symbolize_keys

Pod::Spec.new do |s|
  s.name = package[:name]
  s.version = package[:version]
  s.license = { type: "MIT" }
  s.homepage = "https://github.com/SudoPlz/react-native-amplitude-analytics"
  s.authors = package[:author][:name]
  s.summary = package[:description]
  s.source = { git: package[:repository][:url] }
  s.source_files = "ios/*.{h,m}"
  s.platform = :ios, "8.0"

  s.dependency "React"
  
  s.dependency "Amplitude-iOS", "~> 4.0.4"
end
```
assistant