diff --git a/JYMagicCube.podspec b/JYMagicCube.podspec new file mode 100644 index 0000000..ac3ceb3 --- /dev/null +++ b/JYMagicCube.podspec @@ -0,0 +1,65 @@ +# +# Be sure to run `pod lib lint JYMagicCube.podspec' to ensure this is a +# valid spec before submitting. +# +# Any lines starting with a # are optional, but their use is encouraged +# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'JYMagicCube' + s.version = '1.0.1' + s.summary = 'Mobile dynamic solution' + s.description = <<-DESC + It is a complete cross-end native partial card dynamic display technology solution, + centered on business empowerment, dedicated to solving UI customization, + logic dynamicization, shortening the trial and error cycle, + improving human efficiency and reducing package volume and other related issues. + This enables businesses to achieve one-time development, online at any time, and multi-end reuse based on Wukong. + DESC + s.license = { :type => 'Apache License 2.0', :file => 'LICENSE' } + s.homepage = 'https://hellobike.yuque.com/org-wiki-nlsyth/hec0gc/mput57lpnzvhnh7k' + s.author = 'hellobike' + s.source = { :git => 'https://github.com/hellof2e/Wukong.git', :tag => s.version.to_s } + s.ios.deployment_target = '9.0' + s.static_framework = true + s.source_files = 'iOS/JYMagicCube/Classes/**/*' + s.resource_bundles = { + 'JYMagicCube' => ['iOS/JYMagicCube/Assets/**/*.{xib,gif,xcassets,png,json,mp3,plist}'] + } + s.public_header_files = ['iOS/JYMagicCube/Classes/JYMagicCube.h', + 'iOS/JYMagicCube/Classes/JYMCConfigure.h', + 'iOS/JYMagicCube/Classes/JYMagicCubeView.h', + 'iOS/JYMagicCube/Classes/JYMagicCubeView+Tool.h', + 'iOS/JYMagicCube/Classes/Model/JYMCMetaData.h', + 'iOS/JYMagicCube/Classes/JYMCActionContext.h', + 'iOS/JYMagicCube/Classes/JYMagicCubeDefine.h', + 'iOS/JYMagicCube/Classes/**/JYMCTrackAdapter.h', + 'iOS/JYMagicCube/Classes/**/JYMCCustomerFactoryProtocol.h', + 'iOS/JYMagicCube/Classes/**/JYMCStyleManager.h', + 'iOS/JYMagicCube/Classes/**/JYMCStyleOperation.h', + 'iOS/JYMagicCube/Classes/**/JYMCStylePrefetcher.h', + 'iOS/JYMagicCube/Classes/**/Model/JYMCStyleMetaData.h', + 'iOS/JYMagicCube/Classes/**/JYMCLocalParameters.h', + 'iOS/JYMagicCube/Classes/**/JYMCTrackContext.h', + 'iOS/JYMagicCube/Classes/**/JYMCPreload.h', + + # Alert + 'iOS/JYMagicCube/Classes/**/JYMagicAlert.h', + 'iOS/JYMagicCube/Classes/**/JYMCAlertConfig.h', + 'iOS/JYMagicCube/Classes/**/JYMagicAlertLoader.h', + 'iOS/JYMagicCube/Classes/**/JYMagicAlertLoaderDelegate.h', + 'iOS/JYMagicCube/Classes/**/JYMagicAlertLoaderProtocol.h', + 'iOS/JYMagicCube/Classes/**/JYMagicAlertProtocol.h', + 'iOS/JYMagicCube/Classes/**/JYMagicAlertLifeCycleDelegate.h', + ] + + s.dependency 'YogaKit' + s.dependency 'YYCache' + s.dependency 'YYCategories' + s.dependency 'MJExtension' + s.dependency 'SDWebImage' + s.dependency 'JYWKJSEngine' + s.dependency 'lottie-ios', '~> 2.5.3' + +end diff --git a/iOS/JYWKJSEngine.podspec b/JYWKJSEngine.podspec similarity index 94% rename from iOS/JYWKJSEngine.podspec rename to JYWKJSEngine.podspec index 8efe9da..b677ffa 100644 --- a/iOS/JYWKJSEngine.podspec +++ b/JYWKJSEngine.podspec @@ -24,6 +24,6 @@ Pod::Spec.new do |s| s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } - s.source_files = "JYWKJSEngine/Classes/**/*.swift" + s.source_files = "iOS/JYWKJSEngine/Classes/**/*.swift" end \ No newline at end of file diff --git a/iOS/Example/Podfile b/iOS/Example/Podfile index 841b4e6..b2e9a68 100644 --- a/iOS/Example/Podfile +++ b/iOS/Example/Podfile @@ -14,8 +14,8 @@ end target 'JYMagicCube_Example' do - pod 'JYMagicCube', :path => '../' - pod 'JYWKJSEngine', :path => '../', :modular_headers => true + pod 'JYMagicCube', :path => '../../' + pod 'JYWKJSEngine', :path => '../../', :modular_headers => true pod 'YogaKit', '~> 1.18.1' pod 'YYCache', '~> 1.0.4' diff --git a/iOS/JYMagicCube.podspec b/iOS/JYMagicCube.podspec deleted file mode 100644 index fff494a..0000000 --- a/iOS/JYMagicCube.podspec +++ /dev/null @@ -1,65 +0,0 @@ -# -# Be sure to run `pod lib lint JYMagicCube.podspec' to ensure this is a -# valid spec before submitting. -# -# Any lines starting with a # are optional, but their use is encouraged -# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html -# - -Pod::Spec.new do |s| - s.name = 'JYMagicCube' - s.version = '1.0.1' - s.summary = 'Mobile dynamic solution' - s.description = <<-DESC - It is a complete cross-end native partial card dynamic display technology solution, - centered on business empowerment, dedicated to solving UI customization, - logic dynamicization, shortening the trial and error cycle, - improving human efficiency and reducing package volume and other related issues. - This enables businesses to achieve one-time development, online at any time, and multi-end reuse based on Wukong. - DESC - s.license = { :type => 'Apache License 2.0', :file => 'LICENSE' } - s.homepage = 'https://hellobike.yuque.com/org-wiki-nlsyth/hec0gc/mput57lpnzvhnh7k' - s.author = 'hellobike' - s.source = { :git => 'https://github.com/hellof2e/Wukong.git', :tag => s.version.to_s } - s.ios.deployment_target = '9.0' - s.static_framework = true - s.source_files = 'JYMagicCube/Classes/**/*' - s.resource_bundles = { - 'JYMagicCube' => ['JYMagicCube/Assets/**/*.{xib,gif,xcassets,png,json,mp3,plist}'] - } - s.public_header_files = ['JYMagicCube/Classes/JYMagicCube.h', - 'JYMagicCube/Classes/JYMCConfigure.h', - 'JYMagicCube/Classes/JYMagicCubeView.h', - 'JYMagicCube/Classes/JYMagicCubeView+Tool.h', - 'JYMagicCube/Classes/Model/JYMCMetaData.h', - 'JYMagicCube/Classes/JYMCActionContext.h', - 'JYMagicCube/Classes/JYMagicCubeDefine.h', - 'JYMagicCube/Classes/**/JYMCTrackAdapter.h', - 'JYMagicCube/Classes/**/JYMCCustomerFactoryProtocol.h', - 'JYMagicCube/Classes/**/JYMCStyleManager.h', - 'JYMagicCube/Classes/**/JYMCStyleOperation.h', - 'JYMagicCube/Classes/**/JYMCStylePrefetcher.h', - 'JYMagicCube/Classes/**/Model/JYMCStyleMetaData.h', - 'JYMagicCube/Classes/**/JYMCLocalParameters.h', - 'JYMagicCube/Classes/**/JYMCTrackContext.h', - 'JYMagicCube/Classes/**/JYMCPreload.h', - - # Alert - 'JYMagicCube/Classes/**/JYMagicAlert.h', - 'JYMagicCube/Classes/**/JYMCAlertConfig.h', - 'JYMagicCube/Classes/**/JYMagicAlertLoader.h', - 'JYMagicCube/Classes/**/JYMagicAlertLoaderDelegate.h', - 'JYMagicCube/Classes/**/JYMagicAlertLoaderProtocol.h', - 'JYMagicCube/Classes/**/JYMagicAlertProtocol.h', - 'JYMagicCube/Classes/**/JYMagicAlertLifeCycleDelegate.h', - ] - - s.dependency 'YogaKit' - s.dependency 'YYCache' - s.dependency 'YYCategories' - s.dependency 'MJExtension' - s.dependency 'SDWebImage' - s.dependency 'JYWKJSEngine' - s.dependency 'lottie-ios', '~> 2.5.3' - -end diff --git a/iOS/README.md b/iOS/README.md deleted file mode 100644 index 1576a06..0000000 --- a/iOS/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# JYMagicCube - -## Example - -To run the example project, clone the repo, and run `pod install` from the Example directory first. - -## Requirements - -## Installation - -JYMagicCube is available through [CocoaPods](https://cocoapods.org). To install -it, simply add the following line to your Podfile: - -```ruby -pod 'JYMagicCube' -pod 'JYWKJSEngine' -``` -