-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from Automattic/issue/48-cocoapods-1.0
Update to CocoaPods 1.0
- Loading branch information
Showing
26 changed files
with
496 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
install: | ||
- gem install cocoapods -v 0.37.2 && pod install | ||
osx_image: xcode6.4 | ||
- gem install cocoapods -v 1.0.0 && pod install | ||
osx_image: xcode7.3 | ||
language: objective-c | ||
xcode_workspace: Automattic-Tracks-iOS.xcworkspace | ||
xcode_scheme: Automattic-Tracks-iOS | ||
xcode_sdk: iphonesimulator8.4 | ||
xcode_sdk: iphonesimulator | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = 'Automattic-Tracks-iOS' | ||
spec.version = File.read("Automattic-Tracks-iOS/TracksConstants.m").split("const TracksLibraryVersion = @\"").last.split("\"").first | ||
spec.platform = :ios, "7.0" | ||
spec.platform = :ios, "9.0" | ||
spec.license = { :type => 'GPLv2' } | ||
spec.homepage = 'https://github.com/automattic/automattic-tracks-ios' | ||
spec.authors = { 'Aaron Douglas' => '[email protected]' } | ||
|
@@ -13,6 +13,9 @@ Pod::Spec.new do |spec| | |
spec.framework = 'CoreData' | ||
spec.framework = 'CoreTelephony' | ||
|
||
spec.header_dir = 'AutomatticTracks' | ||
spec.module_name = 'AutomatticTracks' | ||
|
||
spec.dependency 'UIDeviceIdentifier', '~> 0.4' | ||
spec.dependency 'CocoaLumberjack', '~>2.2.0' | ||
spec.dependency 'Reachability', '~>3.1' | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#import <UIKit/UIKit.h> | ||
|
||
//! Project version number for Automattic-Tracks-iOS. | ||
FOUNDATION_EXPORT double Automattic_Tracks_iOSVersionNumber; | ||
|
||
//! Project version string for Automattic-Tracks-iOS. | ||
FOUNDATION_EXPORT const unsigned char Automattic_Tracks_iOSVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <Automattic_Tracks_iOS/PublicHeader.h> | ||
#import <AutomatticTracks/TracksContextManager.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import CocoaLumberjack; | ||
extern int ddLogLevel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#import "Logging.h" | ||
int ddLogLevel = DDLogLevelWarning; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Foundation | ||
|
||
/// Turns on Swift compilation and fixes problems with module map not being created | ||
class Tracks { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#import "TracksConstants.h" | ||
|
||
NSString *const TracksErrorDomain = @"TracksErrorDomain"; | ||
NSString *const TracksLibraryVersion = @"0.0.13"; | ||
NSString *const TracksLibraryVersion = @"0.1.0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#define LOG_LEVEL_DEF AutomatticTracksLogLevel | ||
#import <CocoaLumberjack/CocoaLumberjack.h> | ||
static const DDLogLevel AutomatticTracksLogLevel = DDLogLevelWarning; | ||
int TracksGetLoggingLevel(); | ||
void TracksSetLoggingLevel(int level); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#import "TracksLogging.h" | ||
#import "Logging.h" | ||
|
||
int TracksGetLoggingLevel() { | ||
return ddLogLevel; | ||
} | ||
|
||
void TracksSetLoggingLevel(int level) { | ||
ddLogLevel = level; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
PODS: | ||
- CocoaLumberjack (2.0.0): | ||
- CocoaLumberjack/Default (= 2.0.0) | ||
- CocoaLumberjack/Extensions (= 2.0.0) | ||
- CocoaLumberjack/Core (2.0.0) | ||
- CocoaLumberjack/Default (2.0.0): | ||
- CocoaLumberjack (2.2.0): | ||
- CocoaLumberjack/Default (= 2.2.0) | ||
- CocoaLumberjack/Extensions (= 2.2.0) | ||
- CocoaLumberjack/Core (2.2.0) | ||
- CocoaLumberjack/Default (2.2.0): | ||
- CocoaLumberjack/Core | ||
- CocoaLumberjack/Extensions (2.0.0): | ||
- CocoaLumberjack/Extensions (2.2.0): | ||
- CocoaLumberjack/Default | ||
- OCMock (3.1.5) | ||
- OCMock (3.3) | ||
- Reachability (3.2) | ||
- UIDeviceIdentifier (0.4.5) | ||
- UIDeviceIdentifier (0.5.0) | ||
|
||
DEPENDENCIES: | ||
- CocoaLumberjack (= 2.0.0) | ||
- CocoaLumberjack (~> 2.2.0) | ||
- OCMock | ||
- Reachability (~> 3.1) | ||
- UIDeviceIdentifier (~> 0.4) | ||
|
||
SPEC CHECKSUMS: | ||
CocoaLumberjack: a6f77d987d65dc7ba86b0f84db7d0b9084f77bcb | ||
OCMock: 4c2925291f80407c3738dd1db14d21d0cc278864 | ||
CocoaLumberjack: 17fe8581f84914d5d7e6360f7c70022b173c3ae0 | ||
OCMock: d68685bde31f69cb61d518dcb39269080c78b5ed | ||
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96 | ||
UIDeviceIdentifier: f7b32c087f4d4957badbb6181a4c78520c5806ae | ||
UIDeviceIdentifier: a959a6d4f51036b4180dd31fb26483a820f1cc46 | ||
|
||
COCOAPODS: 0.39.0 | ||
PODFILE CHECKSUM: 28efd03c2d3b8e9c79cb60acdace2b79f1a23706 | ||
|
||
COCOAPODS: 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.