Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 6c07223

Browse files
committed
Fixing Podspec for Swift consumption
1 parent 20cfb9a commit 6c07223

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

CodePush.podspec

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
Pod::Spec.new do |s|
22

3-
s.name = 'CodePush'
4-
s.version = '1.7.3-beta'
5-
s.summary = 'React Native plugin for the CodePush service'
6-
s.author = 'Microsoft Corporation'
7-
s.license = 'MIT'
8-
s.homepage = 'http://microsoft.github.io/code-push/'
9-
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}" }
10-
s.platform = :ios, '7.0'
11-
s.source_files = '*.{h,m}', 'SSZipArchive/*.{h,m}', 'SSZipArchive/aes/*.{h,c}', 'SSZipArchive/minizip/*.{h,c}'
12-
s.preserve_paths = '*.js'
13-
s.library = 'z'
3+
s.name = 'CodePush'
4+
s.version = '1.7.4-beta'
5+
s.summary = 'React Native plugin for the CodePush service'
6+
s.author = 'Microsoft Corporation'
7+
s.license = 'MIT'
8+
s.homepage = 'http://microsoft.github.io/code-push/'
9+
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}" }
10+
s.platform = :ios, '7.0'
11+
s.source_files = 'ios/CodePush/*.{h,m}', 'ios/CodePush/SSZipArchive/*.{h,m}', 'ios/CodePush/SSZipArchive/aes/*.{h,c}', 'ios/CodePush/SSZipArchive/minizip/*.{h,c}'
12+
s.public_header_files = 'ios/CodePush/CodePush.h'
13+
s.preserve_paths = '*.js'
14+
s.library = 'z'
1415
s.dependency 'React'
1516

16-
end
17+
end

ios/CodePush/CodePush.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#import "RCTBridgeModule.h"
1+
#import <Foundation/Foundation.h>
22

3-
@interface CodePush : NSObject <RCTBridgeModule>
3+
@interface CodePush : NSObject
44

55
+ (NSURL *)binaryBundleURL;
66
/*

ios/CodePush/CodePush.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
#import "CodePush.h"
88

9+
@interface CodePush () <RCTBridgeModule>
10+
@end
11+
912
@implementation CodePush {
1013
BOOL _hasResumeListener;
1114
BOOL _isFirstRunAfterUpdate;

0 commit comments

Comments
 (0)