Skip to content

Commit

Permalink
enable spm
Browse files Browse the repository at this point in the history
  • Loading branch information
quanvo87 committed Dec 20, 2017
1 parent 673e421 commit 827f06c
Show file tree
Hide file tree
Showing 20 changed files with 473 additions and 282 deletions.
Binary file added .DS_Store
Binary file not shown.
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@ osx_image: xcode9.2
language: objective-c
xcode_project: GroupWork.xcodeproj

env:
- UDID="7A5E86EB-E32C-475F-8FF5-10AA330C1D34", IOS_DEVICE="iPhone 7 Plus (11.1)"
- UDID="15E2107D-EAD2-4E1F-8BC3-59E58E750FB1", IOS_DEVICE="iPhone 7 (10.0)"
- UDID="9AB3D590-C748-4E17-8E35-67B298E973F7", IOS_DEVICE="iPhone 6 Plus (9.0)"
- UDID="80BE80F4-C243-43F0-BD95-5CB085DAD04F", IOS_DEVICE="iPhone 6 (8.1)"

script:
- open -a "simulator" --args -CurrentDeviceUDID $UDID
- xcodebuild clean test -project GroupWork.xcodeproj -scheme GroupWork -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,id=$UDID" CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -quiet
- swift build
- swift test

5 changes: 2 additions & 3 deletions GroupWork.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Pod::Spec.new do |s|
s.author = { "Quan Vo" => "[email protected]",
"Wilson Ding" => "[email protected]" }
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/quanvo87/GroupWork.git", :tag => "0.0.3" }
s.source_files = "GroupWork", "GroupWork/**/*.{h,m,swift}"
s.exclude_files = "Classes/Exclude"
s.source = { :git => "https://github.com/quanvo87/GroupWork.git", :tag => s.version }
s.source_files = "Sources/GroupWork/*.swift"
end
25 changes: 25 additions & 0 deletions GroupWork.xcodeproj/GroupWorkTests_Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
25 changes: 25 additions & 0 deletions GroupWork.xcodeproj/GroupWork_Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
Loading

0 comments on commit 827f06c

Please sign in to comment.