Skip to content

Commit

Permalink
修改podspec文件,并添加到公共库中;
Browse files Browse the repository at this point in the history
  • Loading branch information
庞辉 committed Dec 24, 2014
1 parent 645bf80 commit ebbb49f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
9 changes: 6 additions & 3 deletions LDBus.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
Pod::Spec.new do |s|
s.name = "LDBus"
s.version = "0.0.1"
s.summary = "基于Bundle架构的总线组件, 包括URL导航的UI总线,服务总线,消息总线"
s.description = ''
s.license = 'MIT'
s.summary = "基于Bundle架构的总线组件"
s.description = "基于Bundle架构的总线组件, 包括URL导航的UI总线,服务总线,消息总线"
s.license = {:type => 'MIT', :file => 'LICENSE'}
s.homepage = 'https://git.ms.netease.com/commonlibraryios/LDBusBundle_IOS'
s.author = { "huipang" => "[email protected]" }
s.source = { :git => "https://git.ms.netease.com/commonlibraryios/LDBusBundle_IOS.git", :tag => "0.0.1" }

Expand All @@ -22,10 +23,12 @@ Pod::Spec.new do |s|
s.subspec 'arc' do |sa|
sa.ios.source_files = 'LDBus/*.{h,m}', 'LDBus/LDBusConfig', 'LDBus/LDServiceBus', 'LDBus/LDMessageBus', 'LDBus/LDUIBus/*.{h,m}'
sa.requires_arc = true
sa.dependency 'LDBus/non-arc'
end

s.subspec 'non-arc' do |sn|
sn.source_files = 'LDBus/LDUIBus/NavigatorCore/**/*.{h,m}', 'LDBus/LDUIBus/NavigatorUI/**/*.{h,m}'
sn.requires_arc = false
sn.dependency 'LDBus/arc'
end
end
4 changes: 4 additions & 0 deletions LDBusBundle.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
62DD8F001A4A813300E24C77 /* UIViewController+LDMNavigator.m in Sources */ = {isa = PBXBuildFile; fileRef = 62DD8EFE1A4A813300E24C77 /* UIViewController+LDMNavigator.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
62DD8F031A4A816100E24C77 /* LDMNavigator.h in Headers */ = {isa = PBXBuildFile; fileRef = 62DD8F011A4A816100E24C77 /* LDMNavigator.h */; settings = {ATTRIBUTES = (Public, ); }; };
62DD8F041A4A816100E24C77 /* LDMNavigator.m in Sources */ = {isa = PBXBuildFile; fileRef = 62DD8F021A4A816100E24C77 /* LDMNavigator.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
62DD8F081A4A96B300E24C77 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = 62DD8F071A4A96B300E24C77 /* LICENSE */; };
62DE31CA1A481C41008FEFEF /* LDMMessageReceiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 62DE31C81A481C41008FEFEF /* LDMMessageReceiver.h */; settings = {ATTRIBUTES = (Public, ); }; };
62DE31EA1A483879008FEFEF /* LDMBundleConfigParser.h in Headers */ = {isa = PBXBuildFile; fileRef = 62DE31E21A483879008FEFEF /* LDMBundleConfigParser.h */; };
62DE31EB1A483879008FEFEF /* LDMBundleConfigParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 62DE31E31A483879008FEFEF /* LDMBundleConfigParser.m */; };
Expand Down Expand Up @@ -178,6 +179,7 @@
62DD8EFE1A4A813300E24C77 /* UIViewController+LDMNavigator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIViewController+LDMNavigator.m"; sourceTree = "<group>"; };
62DD8F011A4A816100E24C77 /* LDMNavigator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LDMNavigator.h; sourceTree = "<group>"; };
62DD8F021A4A816100E24C77 /* LDMNavigator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LDMNavigator.m; sourceTree = "<group>"; };
62DD8F071A4A96B300E24C77 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
62DE31C81A481C41008FEFEF /* LDMMessageReceiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LDMMessageReceiver.h; sourceTree = "<group>"; };
62DE31E21A483879008FEFEF /* LDMBundleConfigParser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LDMBundleConfigParser.h; sourceTree = "<group>"; };
62DE31E31A483879008FEFEF /* LDMBundleConfigParser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LDMBundleConfigParser.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -296,6 +298,7 @@
62B4F9181A171BBC0056CBAB = {
isa = PBXGroup;
children = (
62DD8F071A4A96B300E24C77 /* LICENSE */,
6246F37F1A1F388C00980472 /* LDBus.podspec */,
62D539B51A1B27790088FFF4 /* framework.sh */,
625EDB551A19ED5F000AEA3E /* tab.png */,
Expand Down Expand Up @@ -777,6 +780,7 @@
files = (
62D539B71A1B27790088FFF4 /* framework.sh in Resources */,
62D1F52F1A36D58C0076ACA7 /* LDBusDemo.bundle in Resources */,
62DD8F081A4A96B300E24C77 /* LICENSE in Resources */,
62D1C6D01A4920A100AEA467 /* LDMBMovieFilm.bundle in Resources */,
62B4F9321A171BBC0056CBAB /* Images.xcassets in Resources */,
625EDB561A19ED5F000AEA3E /* tab.png in Resources */,
Expand Down
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2014 庞辉 <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

0 comments on commit ebbb49f

Please sign in to comment.