Skip to content

Commit

Permalink
Reorganize project
Browse files Browse the repository at this point in the history
  • Loading branch information
dklinzh committed Dec 1, 2016
1 parent 3bdb2ae commit a8add8e
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ language: objective-c
# cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install xcpretty
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
- pod install --project-directory=Example --verbose
script:
- set -o pipefail && xcodebuild test -workspace Example/DLCMobilePlayer.xcworkspace -scheme DLCMobilePlayer-Example -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=10.1' | xcpretty
- set -o pipefail
- xcodebuild test -workspace Example/DLCMobilePlayer.xcworkspace -scheme DLCMobilePlayer-Example -destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=10.1' | xcpretty
- pod lib lint
8 changes: 4 additions & 4 deletions DLCMobilePlayer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'DLCMobilePlayer'
s.version = '0.3.5'
s.version = '0.3.6'
s.summary = 'A framework of video player for iOS devices that based on VLCKit.'
s.description = <<-DESC
A framework of video player for iOS devices that based on VLCKit(https://github.com/dklinzh/VLCKit). Supported protocols include http, rtsp, rtmp etc.
Expand All @@ -18,12 +18,12 @@ Pod::Spec.new do |s|
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Daniel' => '[email protected]' }
s.source = { :git => 'https://github.com/dklinzh/DLCMobilePlayer/blob/master/DLCMobilePlayer.zip', :tag => s.version.to_s }
s.source = { :git => 'https://github.com/dklinzh/DLCMobilePlayer.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

s.ios.deployment_target = '7.0'
s.private_header_files = 'DLCMobilePlayer/Classes/Aspects/**/*', 'DLCMobilePlayer/Classes/MSWeakTimer/**/*'
s.source_files = 'DLCMobilePlayer/Classes/**/*'
s.private_header_files = 'DLCMobilePlayer/Classes/Aspects/**/*.h', 'DLCMobilePlayer/Classes/MSWeakTimer/**/*.h'
s.source_files = 'DLCMobilePlayer/Classes/**/*.{h,m}'
s.resources = 'DLCMobilePlayer/Assets/**/*.{xib,xcassets}'

#s.resource_bundles = { 'DLCMobilePlayer' => ['DLCMobilePlayer/Assets/**/*'] }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Example/DLCMobilePlayer/DLCMobilePlayer-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>201611251114</string>
<string>201612011059</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use_frameworks!

target 'DLCMobilePlayer_Example' do
# pod 'DLCMobilePlayer', :path => '../'
pod 'DLCMobilePlayer', :git => 'https://github.com/dklinzh/DLCMobilePlayer.git'
pod 'DLCMobilePlayer', :path => '../'
# pod 'DLCMobilePlayer', :git => 'https://github.com/dklinzh/DLCMobilePlayer.git'

target 'DLCMobilePlayer_Tests' do
inherit! :search_paths
Expand Down

0 comments on commit a8add8e

Please sign in to comment.