Skip to content

Commit

Permalink
Adds missing Carthage setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ggirotto committed Aug 25, 2020
1 parent d4d8bc6 commit ccd87b4
Show file tree
Hide file tree
Showing 70 changed files with 719 additions and 33 deletions.
6 changes: 3 additions & 3 deletions Example/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# Created by https://www.toptal.com/developers/gitignore/api/xcode,cocoapods,carthage,swift
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,cocoapods,carthage,swift
# Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,cocoapods,carthage
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swift,cocoapods,carthage

### Carthage ###
# Carthage
Expand Down Expand Up @@ -118,4 +118,4 @@ iOSInjectionProject/
!*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/xcode,cocoapods,carthage,swift
# End of https://www.toptal.com/developers/gitignore/api/xcode,swift,cocoapods,carthage
File renamed without changes.
19 changes: 19 additions & 0 deletions NestedCKCodable/NestedCKCodable.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//
// NestedCKCodable.h
// NestedCKCodable
//
// Created by Guilherme Girotto on 25/08/20.
// Copyright © 2020 CocoaPods. All rights reserved.
//

#import <Foundation/Foundation.h>

//! Project version number for NestedCKCodable.
FOUNDATION_EXPORT double NestedCKCodableVersionNumber;

//! Project version string for NestedCKCodable.
FOUNDATION_EXPORT const unsigned char NestedCKCodableVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <NestedCKCodable/PublicHeader.h>


2 changes: 1 addition & 1 deletion NestedCloudKitCodable.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.author = { 'ggirotto' => '[email protected]' }
s.source = { :git => 'https://github.com/olmps/NestedCloudKitCodable.git', :tag => s.version.to_s }
s.framework = "CloudKit"
s.source_files = "NestedCloudKitCodable/Classes/**/*.swift"
s.source_files = "Source/Classes/**/*.swift"
s.ios.deployment_target = '10.0'
s.watchos.deployment_target = '4.0'
s.swift_version = '5.0'
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "635A0E8A24F562C4002BC7AD"
BuildableName = "NestedCloudKitCodableTests.xctest"
BlueprintName = "NestedCloudKitCodableTests"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1160"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "63A249A024F567BB008C8C56"
BuildableName = "NestedCKCodable.framework"
BlueprintName = "NestedCKCodable"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "63A249A024F567BB008C8C56"
BuildableName = "NestedCKCodable.framework"
BlueprintName = "NestedCKCodable"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1160"
version = "2.0">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6375386224F5347D0093936D"
BuildableName = "NestedCloudKitCodableWatch.app"
BlueprintName = "NestedCloudKitCodableWatch"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "NestedCloudKitCodable_Example.app"
BlueprintName = "NestedCloudKitCodable_Example"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES"
launchAutomaticallySubstyle = "8"
notificationPayloadFile = "NestedCloudKitCodableWatch Extension/PushNotificationPayload.apns">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/NestedCloudKitCodable_Example">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6375386224F5347D0093936D"
BuildableName = "NestedCloudKitCodableWatch.app"
BlueprintName = "NestedCloudKitCodableWatch"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</RemoteRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
launchAutomaticallySubstyle = "8"
notificationPayloadFile = "NestedCloudKitCodableWatch Extension/PushNotificationPayload.apns">
<RemoteRunnable
runnableDebuggingMode = "2"
BundleIdentifier = "com.apple.Carousel"
RemotePath = "/NestedCloudKitCodable_Example">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6375386224F5347D0093936D"
BuildableName = "NestedCloudKitCodableWatch.app"
BlueprintName = "NestedCloudKitCodableWatch"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</RemoteRunnable>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6375386224F5347D0093936D"
BuildableName = "NestedCloudKitCodableWatch.app"
BlueprintName = "NestedCloudKitCodableWatch"
ReferencedContainer = "container:NestedCloudKitCodable.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
File renamed without changes.
Empty file.
41 changes: 41 additions & 0 deletions NestedCloudKitCodable/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?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>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand All @@ -13,29 +13,10 @@
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
34 changes: 34 additions & 0 deletions NestedCloudKitCodableTests/NestedCloudKitCodableTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//
// NestedCloudKitCodableTests.swift
// NestedCloudKitCodableTests
//
// Created by Guilherme Girotto on 25/08/20.
// Copyright © 2020 CocoaPods. All rights reserved.
//

import XCTest
@testable import NestedCloudKitCodable

class NestedCloudKitCodableTests: XCTestCase {

override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}

func testExample() throws {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {
// Put the code you want to measure the time of here.
}
}

}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Example/Podfile → Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use_frameworks!

def shared_pods
pod 'SwiftLint'
pod 'NestedCloudKitCodable', :path => '../'
pod 'NestedCloudKitCodable', :path => './'
end

target 'NestedCloudKitCodable_Example' do
Expand Down
8 changes: 4 additions & 4 deletions Example/Podfile.lock → Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PODS:
- SwiftLint (0.40.0)

DEPENDENCIES:
- NestedCloudKitCodable (from `../`)
- NestedCloudKitCodable (from `./`)
- SwiftLint

SPEC REPOS:
Expand All @@ -12,12 +12,12 @@ SPEC REPOS:

EXTERNAL SOURCES:
NestedCloudKitCodable:
:path: "../"
:path: "./"

SPEC CHECKSUMS:
NestedCloudKitCodable: b43937568731e71cf3e618d260276249ba0359ca
NestedCloudKitCodable: 63768a8144410309c836d97d1750f8fad5c45a71
SwiftLint: 4154893c73a4c52d6240195507eb7a3e3c64087e

PODFILE CHECKSUM: 434c1690ccb24c1eb25ecdc5a12db9c935a41521
PODFILE CHECKSUM: 3c6b4eff28207ac4e4bdd3a3f0d4a2d9a815c981

COCOAPODS: 1.9.3
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ccd87b4

Please sign in to comment.