Skip to content

Commit 3d61e75

Browse files
committed
fix(capacitor-ios): rename podspec to match npm package name
Capacitor CLI derives the pod name from the npm package name: capacitor-plugin-cdv-purchase → CapacitorPluginCdvPurchase. The podspec was named CapacitorPluginPurchase, causing "No podspec found" during pod install.
1 parent ed5bf81 commit 3d61e75

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

capacitor/CapacitorPluginPurchase.podspec renamed to capacitor/CapacitorPluginCdvPurchase.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require 'json'
33
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
44

55
Pod::Spec.new do |s|
6-
s.name = 'CapacitorPluginPurchase'
6+
s.name = 'CapacitorPluginCdvPurchase'
77
s.version = package['version']
88
s.summary = package['description']
99
s.license = package['license']

capacitor/ios/CapacitorPluginPurchase.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require 'json'
33
package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
44

55
Pod::Spec.new do |s|
6-
s.name = 'CapacitorPluginPurchase'
6+
s.name = 'CapacitorPluginCdvPurchase'
77
s.version = package['version']
88
s.summary = package['description']
99
s.license = package['license']

0 commit comments

Comments
 (0)