Skip to content

Commit

Permalink
Use R.swift.Library as development cocoapod
Browse files Browse the repository at this point in the history
instead of direct library use.
  • Loading branch information
mac-cain13 committed Dec 7, 2015
1 parent cd75df3 commit cc1ad5f
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ xcuserdata
ResourceApp/rswift
ResourceApp/R.generated.swift
ResourceApp/rswift.log
Pods
10 changes: 10 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use_frameworks!

workspace 'R.swift'
xcodeproj 'ResourceApp/ResourceApp'

target 'ResourceApp' do

pod 'R.swift.Library', :path => './R.swift.Library'

end
14 changes: 14 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
PODS:
- R.swift.Library (0.12.0)

DEPENDENCIES:
- R.swift.Library (from `./R.swift.Library`)

EXTERNAL SOURCES:
R.swift.Library:
:path: ./R.swift.Library

SPEC CHECKSUMS:
R.swift.Library: cc9c44546f022ee2bd389af69926a94918af8981

COCOAPODS: 0.39.0
2 changes: 1 addition & 1 deletion R.swift.Library
3 changes: 3 additions & 0 deletions R.swift.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 74 additions & 0 deletions ResourceApp/ResourceApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
D5F05D461BB52078003AE55E /* duplicateJson in Resources */ = {isa = PBXBuildFile; fileRef = D5F05D451BB52078003AE55E /* duplicateJson */; };
D5F05D481BB520B1003AE55E /* FilesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5F05D471BB520B1003AE55E /* FilesTests.swift */; };
D5FAD9091B63B05700ECE230 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D55C6CC61B5D757300301B0D /* Images.xcassets */; };
E49A92E1DBC6CCB05867DDB6 /* Pods_ResourceApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AEC5C6D68E1E8337CC9568C1 /* Pods_ResourceApp.framework */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -62,6 +63,9 @@
/* End PBXContainerItemProxy section */

/* Begin PBXFileReference section */
277C3D45ECA1EEF6F7DAF957 /* Pods-ResourceApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ResourceApp.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-ResourceApp/Pods-ResourceApp.debug.xcconfig"; sourceTree = "<group>"; };
9BB33190FE04C23E506646C2 /* Pods-ResourceApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ResourceApp.release.xcconfig"; path = "../Pods/Target Support Files/Pods-ResourceApp/Pods-ResourceApp.release.xcconfig"; sourceTree = "<group>"; };
AEC5C6D68E1E8337CC9568C1 /* Pods_ResourceApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ResourceApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D50175BA1B5FEF6E00DB8314 /* rswift.log */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = rswift.log; sourceTree = SOURCE_ROOT; };
D50175BD1B5FEFD000DB8314 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Secondary.storyboard; sourceTree = "<group>"; };
D5159E9D1BBC33680013F52A /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = "[email protected]"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -115,6 +119,7 @@
buildActionMask = 2147483647;
files = (
D5C0F0731C15666900F0DA05 /* Rswift.framework in Frameworks */,
E49A92E1DBC6CCB05867DDB6 /* Pods_ResourceApp.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -128,6 +133,23 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
065D32753EEB6C7AE2FA201F /* Frameworks */ = {
isa = PBXGroup;
children = (
AEC5C6D68E1E8337CC9568C1 /* Pods_ResourceApp.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
6BD8864A6B6559C4D6F93D81 /* Pods */ = {
isa = PBXGroup;
children = (
277C3D45ECA1EEF6F7DAF957 /* Pods-ResourceApp.debug.xcconfig */,
9BB33190FE04C23E506646C2 /* Pods-ResourceApp.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
D51E60BF1BB13612004BB376 /* Images */ = {
isa = PBXGroup;
children = (
Expand All @@ -149,6 +171,8 @@
D55C6CBA1B5D757300301B0D /* ResourceApp */,
D55C6CD21B5D757300301B0D /* ResourceAppTests */,
D55C6CB91B5D757300301B0D /* Products */,
6BD8864A6B6559C4D6F93D81 /* Pods */,
065D32753EEB6C7AE2FA201F /* Frameworks */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -250,10 +274,13 @@
isa = PBXNativeTarget;
buildConfigurationList = D55C6CD91B5D757300301B0D /* Build configuration list for PBXNativeTarget "ResourceApp" */;
buildPhases = (
978E4B8123C372F370555011 /* Check Pods Manifest.lock */,
D55C6CED1B5E172900301B0D /* R.swift */,
D55C6CB41B5D757300301B0D /* Sources */,
D55C6CB51B5D757300301B0D /* Frameworks */,
D55C6CB61B5D757300301B0D /* Resources */,
89BF8D4EC08D38DB6564C369 /* Embed Pods Frameworks */,
ADB91CF666C6624CD5A00F13 /* Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -369,6 +396,51 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
89BF8D4EC08D38DB6564C369 /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-ResourceApp/Pods-ResourceApp-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
978E4B8123C372F370555011 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
ADB91CF666C6624CD5A00F13 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/../Pods/Target Support Files/Pods-ResourceApp/Pods-ResourceApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
D55C6CED1B5E172900301B0D /* R.swift */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -535,6 +607,7 @@
};
D55C6CDA1B5D757300301B0D /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 277C3D45ECA1EEF6F7DAF957 /* Pods-ResourceApp.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = ResourceApp/Info.plist;
Expand All @@ -546,6 +619,7 @@
};
D55C6CDB1B5D757300301B0D /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9BB33190FE04C23E506646C2 /* Pods-ResourceApp.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = ResourceApp/Info.plist;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,6 @@
ReferencedContainer = "container:../R.swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D592464D1C117A55007F94C7"
BuildableName = "Rswift.framework"
BlueprintName = "Rswift"
ReferencedContainer = "container:../R.swift Library/R.swift Library.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
Expand Down

0 comments on commit cc1ad5f

Please sign in to comment.