diff --git a/ToolTipMenu.podspec b/ToolTipMenu.podspec new file mode 100644 index 0000000..aec6ada --- /dev/null +++ b/ToolTipMenu.podspec @@ -0,0 +1,21 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = "ToolTipMenu" + s.version = package['version'] + s.summary = package['description'] + s.license = package['license'] + + s.authors = package['author'] + s.homepage = package['repository']['url'] + s.platform = :ios, "7.0" + s.ios.deployment_target = '7.0' + + s.source = { :git => "https://github.com/marcosrdz/react-native-tooltip.git", :tag => "#{s.version}" } + s.preserve_paths = '*' + s.source_files = "ToolTipMenu/*.{h,m}" + + s.dependency 'React' +end diff --git a/ToolTipMenu.xcodeproj/project.pbxproj b/ToolTipMenu.xcodeproj/project.pbxproj index 88c6835..fc1b8ef 100644 --- a/ToolTipMenu.xcodeproj/project.pbxproj +++ b/ToolTipMenu.xcodeproj/project.pbxproj @@ -9,21 +9,10 @@ /* Begin PBXBuildFile section */ 4681C0251B05271A004D67D4 /* ToolTipMenu.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 4681C0241B05271A004D67D4 /* ToolTipMenu.h */; }; 4681C0271B05271A004D67D4 /* ToolTipMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 4681C0261B05271A004D67D4 /* ToolTipMenu.m */; }; - 4681C02D1B05271A004D67D4 /* libToolTipMenu.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4681C0211B05271A004D67D4 /* libToolTipMenu.a */; }; 469F58B71B069FF300C571E8 /* RCTToolTipText.m in Sources */ = {isa = PBXBuildFile; fileRef = 469F58B61B069FF300C571E8 /* RCTToolTipText.m */; }; 469F58B91B06A00C00C571E8 /* RCTToolTipTextManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 469F58B81B06A00C00C571E8 /* RCTToolTipTextManager.m */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - 4681C02E1B05271A004D67D4 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 4681C0191B05271A004D67D4 /* Project object */; - proxyType = 1; - remoteGlobalIDString = 4681C0201B05271A004D67D4; - remoteInfo = ToolTipMenu; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXCopyFilesBuildPhase section */ 4681C01F1B05271A004D67D4 /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; @@ -41,7 +30,6 @@ 4681C0211B05271A004D67D4 /* libToolTipMenu.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libToolTipMenu.a; sourceTree = BUILT_PRODUCTS_DIR; }; 4681C0241B05271A004D67D4 /* ToolTipMenu.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ToolTipMenu.h; sourceTree = ""; }; 4681C0261B05271A004D67D4 /* ToolTipMenu.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ToolTipMenu.m; sourceTree = ""; }; - 4681C02C1B05271A004D67D4 /* ToolTipMenuTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ToolTipMenuTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 4681C0321B05271A004D67D4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 469F58B31B069F9800C571E8 /* RCTToolTipText.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTToolTipText.h; sourceTree = ""; }; 469F58B61B069FF300C571E8 /* RCTToolTipText.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTToolTipText.m; sourceTree = ""; }; @@ -57,14 +45,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 4681C0291B05271A004D67D4 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4681C02D1B05271A004D67D4 /* libToolTipMenu.a in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -81,7 +61,6 @@ isa = PBXGroup; children = ( 4681C0211B05271A004D67D4 /* libToolTipMenu.a */, - 4681C02C1B05271A004D67D4 /* ToolTipMenuTests.xctest */, ); name = Products; sourceTree = ""; @@ -135,24 +114,6 @@ productReference = 4681C0211B05271A004D67D4 /* libToolTipMenu.a */; productType = "com.apple.product-type.library.static"; }; - 4681C02B1B05271A004D67D4 /* ToolTipMenuTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 4681C0381B05271A004D67D4 /* Build configuration list for PBXNativeTarget "ToolTipMenuTests" */; - buildPhases = ( - 4681C0281B05271A004D67D4 /* Sources */, - 4681C0291B05271A004D67D4 /* Frameworks */, - 4681C02A1B05271A004D67D4 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 4681C02F1B05271A004D67D4 /* PBXTargetDependency */, - ); - name = ToolTipMenuTests; - productName = ToolTipMenuTests; - productReference = 4681C02C1B05271A004D67D4 /* ToolTipMenuTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -165,9 +126,6 @@ 4681C0201B05271A004D67D4 = { CreatedOnToolsVersion = 6.3.1; }; - 4681C02B1B05271A004D67D4 = { - CreatedOnToolsVersion = 6.3.1; - }; }; }; buildConfigurationList = 4681C01C1B05271A004D67D4 /* Build configuration list for PBXProject "ToolTipMenu" */; @@ -183,21 +141,10 @@ projectRoot = ""; targets = ( 4681C0201B05271A004D67D4 /* ToolTipMenu */, - 4681C02B1B05271A004D67D4 /* ToolTipMenuTests */, ); }; /* End PBXProject section */ -/* Begin PBXResourcesBuildPhase section */ - 4681C02A1B05271A004D67D4 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ 4681C01D1B05271A004D67D4 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -209,23 +156,8 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 4681C0281B05271A004D67D4 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - 4681C02F1B05271A004D67D4 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 4681C0201B05271A004D67D4 /* ToolTipMenu */; - targetProxy = 4681C02E1B05271A004D67D4 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin XCBuildConfiguration section */ 4681C0331B05271A004D67D4 /* Debug */ = { isa = XCBuildConfiguration; @@ -326,40 +258,6 @@ }; name = Release; }; - 4681C0391B05271A004D67D4 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = ToolTipMenuTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "cj.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Debug; - }; - 4681C03A1B05271A004D67D4 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = ToolTipMenuTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "cj.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -381,15 +279,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 4681C0381B05271A004D67D4 /* Build configuration list for PBXNativeTarget "ToolTipMenuTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 4681C0391B05271A004D67D4 /* Debug */, - 4681C03A1B05271A004D67D4 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; /* End XCConfigurationList section */ }; rootObject = 4681C0191B05271A004D67D4 /* Project object */; diff --git a/package.json b/package.json index be7cd5f..ecec4f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-tooltip", - "version": "5.2.0", + "version": "5.2.1", "description": "A react-native wrapper for showing tooltips", "main": "ToolTip.ios.js", "author": {