diff --git a/example/ios/PhotoEditorExample.xcodeproj/project.pbxproj b/example/ios/PhotoEditorExample.xcodeproj/project.pbxproj index f317b1f..58a6711 100644 --- a/example/ios/PhotoEditorExample.xcodeproj/project.pbxproj +++ b/example/ios/PhotoEditorExample.xcodeproj/project.pbxproj @@ -376,7 +376,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; }; 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { isa = PBXShellScriptBuildPhase; diff --git a/package.json b/package.json index 4e9d1dc..f4a3921 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@baronha/react-native-photo-editor", - "version": "0.1.0", + "version": "0.1.2", "description": "🌄 Image editor using native modules for iOS and Android", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native-photo-editor.podspec b/react-native-photo-editor.podspec index 417e55e..132b603 100644 --- a/react-native-photo-editor.podspec +++ b/react-native-photo-editor.podspec @@ -12,6 +12,7 @@ Pod::Spec.new do |s| s.platforms = { :ios => "12.0" } s.source = { :git => "https://github.com/baronha/react-native-photo-editor.git", :tag => "#{s.version}" } + s.swift_version = '5.3' s.source_files = "ios/**/*.{h,m,mm,swift}"