Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ReactNativeCmp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Pod::Spec.new do |s|
s.license = package["license"]
s.authors = package["author"]

s.static_framework = true

s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/SourcePointUSA/react-native-sourcepoint-cmp.git", :tag => "#{s.version}" }

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ SPEC CHECKSUMS:
ReactAppDependencyProvider: 04d5eb15eb46be6720e17a4a7fa92940a776e584
ReactCodegen: c63eda03ba1d94353fb97b031fc84f75a0d125ba
ReactCommon: 76d2dc87136d0a667678668b86f0fca0c16fdeb0
ReactNativeCmp: 33c8b61e60031d937d4e8790b6b9ef18ef93786a
ReactNativeCmp: 8638f236ae3f8577336e6567afa06f834a891768
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
SPMobileCore: 220d109e404cb17169f7e26f2a34c6022b80079a
Yoga: c758bfb934100bb4bf9cbaccb52557cee35e8bdf
Expand Down
7 changes: 6 additions & 1 deletion ios/ReactNativeCmp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#import <ReactNativeCmpSpec/ReactNativeCmpSpec.h>
#import <React/RCTEventEmitter.h>
#import "ReactNativeCmp-Swift.h"

#if __has_include(<ReactNativeCmp/ReactNativeCmp-Swift.h>)
#import <ReactNativeCmp/ReactNativeCmp-Swift.h>
#else
#import "ReactNativeCmp-Swift.h"
#endif

@interface ReactNativeCmp : NativeReactNativeCmpSpecBase <NativeReactNativeCmpSpec, ReactNativeCmpImplDelegate>

Expand Down
7 changes: 6 additions & 1 deletion ios/ReactNativeCmp.mm
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import "ReactNativeCmp.h"
#import "ReactNativeCmp-Swift.h"

#if __has_include(<ReactNativeCmp/ReactNativeCmp-Swift.h>)
#import <ReactNativeCmp/ReactNativeCmp-Swift.h>
#else
#import "ReactNativeCmp-Swift.h"
#endif

@implementation ReactNativeCmp {
ReactNativeCmpImpl *sdk;
Expand Down
43 changes: 0 additions & 43 deletions sourcepoint-react-native-cmp.podspec

This file was deleted.

Loading