Commit 34efacd8 authored by Marius Rackwitz's avatar Marius Rackwitz

Merge branch 'master' into 1-0-stable

parents cd694a4b 9462f9f7
> ℹ Please fill out this template when filing an issue. > ℹ Please fill out this template when filing an issue.
> All lines beginning with a quotation mark (`>`), > All lines beginning with an ℹ symbol instruct you with
> instruct you with what info we expect. > what info we expect.
> Please remove this paragraph. > Please remove this line and all above before submitting.
* [ ] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md). * [ ] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md).
...@@ -9,25 +9,26 @@ ...@@ -9,25 +9,26 @@
## What did you do? ## What did you do?
> ℹ Please replace this with what you did. ℹ Please replace this with what you did.
> e.g. Run `pod install` e.g. Run `pod install`
## What did you expected to happen? ## What did you expected to happen?
> ℹ Please replace this with what you expected to happen. ℹ Please replace this with what you expected to happen.
> e.g. Install all pod dependencies correctly. e.g. Install all pod dependencies correctly.
## What happened instead? ## What happened instead?
> ℹ Please replace this with of what happened instead. ℹ Please replace this with of what happened instead.
> e.g. Pod A is missing the subspec B for target C. e.g. Pod A is missing the subspec B for target C.
## Podfile ## CocoaPods Environment
> ℹ Please paste the contents of your Podfile below. ℹ Please replace this with the output of `pod env`.
> (e.g. via `cat Podfile | pbcopy`) e.g. via `pod env | pbcopy`
> You can remove this hint then.
```ruby ## Project that demonstrates the issue
# Paste your Podfile contents HERE.
``` ℹ Please link to a project we can download that reproduces the issue.
You can delete this section if your issue is unrelated to build problems,
i.e. it's only an issue with CocoaPods the tool.
...@@ -10,3 +10,6 @@ ...@@ -10,3 +10,6 @@
[submodule "spec/cocoapods-integration-specs"] [submodule "spec/cocoapods-integration-specs"]
path = spec/cocoapods-integration-specs path = spec/cocoapods-integration-specs
url = https://github.com/CocoaPods/cocoapods-integration-specs.git url = https://github.com/CocoaPods/cocoapods-integration-specs.git
[submodule "spec/fixtures/spec-repos/test_repo"]
path = spec/fixtures/spec-repos/test_repo
url = https://github.com/CocoaPods/cocoapods-test-specs.git
...@@ -24,6 +24,7 @@ before_install: ...@@ -24,6 +24,7 @@ before_install:
before_script: before_script:
- bundle exec pod repo update --silent - bundle exec pod repo update --silent
- bundle exec pod env
script: script:
- bundle exec rake - bundle exec rake
......
...@@ -13,6 +13,35 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -13,6 +13,35 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes ##### Bug Fixes
* None. * None.
* Symlink the header folders in the framework bundle's root directory
by a new shell script build phase if `header_mappings_dir` is used
with frameworks.
[Marius Rackwitz](https://github.com/mrackwitz)
[#5313](https://github.com/CocoaPods/CocoaPods/issues/5313)
* Removed emojis in Build Phases names — as it seems that some third party tools have trouble with them.
[Olivier Halligon](https://github.com/AliSoftware)
[#5382](https://github.com/CocoaPods/CocoaPods/pull/5382)
* Ensure `Set` is defined before using it.
[Samuel Giddins](https://github.com/segiddins)
[#5287](https://github.com/CocoaPods/CocoaPods/issues/5287)
* Add --target-device to ibtool invocation for XIBs
[Juan Civile](https://github.com/champo)
[#5282](https://github.com/CocoaPods/CocoaPods/issues/5282)
* Fix error when executables cannot be found.
[Jan Berkel](https://github.com/jberkel)
[#5319](https://github.com/CocoaPods/CocoaPods/pull/5319)
* Avoid removing all files when root directory contains unicode characters.
[Marc Boquet](https://github.com/marcboquet)
[#5294](https://github.com/CocoaPods/CocoaPods/issues/5294)
* Guarding from crash if pod lib create has a + character in the name.
[William Entriken](https://github.com/fulldecent)
[CocoaPods/pod-template#69](https://github.com/CocoaPods/pod-template/issues/69)
## 1.0.0 (2016-05-10) ## 1.0.0 (2016-05-10)
......
...@@ -8,3 +8,25 @@ ...@@ -8,3 +8,25 @@
fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/ fail("`fdescribe` left in tests (#{file})") if contents =~ /^\w*fdescribe/
end end
end end
# Ensure a clean commits history
if commits.any? { |c| c.message =~ /^Merge branch '#{branch_for_merge}'/ }
fail("Please rebase to get rid of the merge commits in this PR")
end
# Request a CHANGELOG entry, and give an example
has_app_changes = !modified_files.grep(/lib/).empty?
if !modified_files.include?("CHANGELOG.md") && has_app_changes
fail("Please include a CHANGELOG entry to credit yourself! \nYou can find it at [CHANGELOG.md](https://github.com/CocoaPods/CocoaPods/blob/master/CHANGELOG.md).", sticky: false)
markdown <<-MARKDOWN
Here's an example of your CHANGELOG entry:
```markdown
* #{pr.title}#{' '}
[#{pr_author}](https://github.com/#{pr_author})
[#issue_number](https://github.com/CocoaPods/CocoaPods/issues/issue_number)
```
*note*: There are two invisible spaces after the entry's text.
MARKDOWN
end
...@@ -121,7 +121,7 @@ GEM ...@@ -121,7 +121,7 @@ GEM
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
addressable (2.3.6) addressable (2.4.0)
ast (2.2.0) ast (2.2.0)
awesome_print (1.6.1) awesome_print (1.6.1)
bacon (1.2.0) bacon (1.2.0)
...@@ -136,7 +136,7 @@ GEM ...@@ -136,7 +136,7 @@ GEM
colored (1.2) colored (1.2)
crack (0.4.2) crack (0.4.2)
safe_yaml (~> 1.0.0) safe_yaml (~> 1.0.0)
danger (0.7.2) danger (0.7.4)
claide claide
colored (~> 1.2) colored (~> 1.2)
faraday faraday
...@@ -263,4 +263,4 @@ DEPENDENCIES ...@@ -263,4 +263,4 @@ DEPENDENCIES
xcodeproj! xcodeproj!
BUNDLED WITH BUNDLED WITH
1.11.2 1.12.1
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
1A2265312C5CBC89CD477BF8 /* libPods-AFNetworking Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */; }; A63161F703812E838A66D108 /* libPods-AFNetworking Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 01ED403DCA1D362A7A1B607E /* libPods-AFNetworking Example.a */; };
B304CCE8177D58DD00F4FC85 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = B304CCE7177D58DD00F4FC85 /* adn.cer */; }; B304CCE8177D58DD00F4FC85 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = B304CCE7177D58DD00F4FC85 /* adn.cer */; };
F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8129BFF1591061B009BFE23 /* Cocoa.framework */; }; F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8129BFF1591061B009BFE23 /* Cocoa.framework */; };
F8129C321591073C009BFE23 /* AFAppDotNetAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */; }; F8129C321591073C009BFE23 /* AFAppDotNetAPIClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C251591073C009BFE23 /* AFAppDotNetAPIClient.m */; };
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
3C79D6B3AA6A1DBBAE48A944 /* Pods-AFNetworking Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.debug.xcconfig"; sourceTree = "<group>"; }; 01ED403DCA1D362A7A1B607E /* libPods-AFNetworking Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking Example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 694801CD9796D99F3BDD0D95 /* Pods-AFNetworking Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.release.xcconfig"; sourceTree = "<group>"; };
A67B777556EF5D95EAFA5CF8 /* Pods-AFNetworking Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.release.xcconfig"; sourceTree = "<group>"; };
B304CCE7177D58DD00F4FC85 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; }; B304CCE7177D58DD00F4FC85 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; };
B47968EF64ED4169C658E405 /* Pods-AFNetworking Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example.debug.xcconfig"; sourceTree = "<group>"; };
F8129BFB1591061B009BFE23 /* AFNetworking Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; F8129BFB1591061B009BFE23 /* AFNetworking Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AFNetworking Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
F8129BFF1591061B009BFE23 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; F8129BFF1591061B009BFE23 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
F8129C021591061B009BFE23 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; F8129C021591061B009BFE23 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
...@@ -47,18 +47,18 @@ ...@@ -47,18 +47,18 @@
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */, F8129C001591061B009BFE23 /* Cocoa.framework in Frameworks */,
1A2265312C5CBC89CD477BF8 /* libPods-AFNetworking Example.a in Frameworks */, A63161F703812E838A66D108 /* libPods-AFNetworking Example.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
A052BC91C16D94336357A93A /* Pods */ = { 008008D9EF6A9117F2D42119 /* Pods */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
3C79D6B3AA6A1DBBAE48A944 /* Pods-AFNetworking Example.debug.xcconfig */, B47968EF64ED4169C658E405 /* Pods-AFNetworking Example.debug.xcconfig */,
A67B777556EF5D95EAFA5CF8 /* Pods-AFNetworking Example.release.xcconfig */, 694801CD9796D99F3BDD0D95 /* Pods-AFNetworking Example.release.xcconfig */,
); );
name = Pods; name = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
F8129C051591061B009BFE23 /* Classes */, F8129C051591061B009BFE23 /* Classes */,
F8129BFE1591061B009BFE23 /* Frameworks */, F8129BFE1591061B009BFE23 /* Frameworks */,
F8129BFC1591061B009BFE23 /* Products */, F8129BFC1591061B009BFE23 /* Products */,
A052BC91C16D94336357A93A /* Pods */, 008008D9EF6A9117F2D42119 /* Pods */,
); );
indentWidth = 4; indentWidth = 4;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
children = ( children = (
F8129BFF1591061B009BFE23 /* Cocoa.framework */, F8129BFF1591061B009BFE23 /* Cocoa.framework */,
F8129C011591061B009BFE23 /* Other Frameworks */, F8129C011591061B009BFE23 /* Other Frameworks */,
53BDE93051BED183E9F4D921 /* libPods-AFNetworking Example.a */, 01ED403DCA1D362A7A1B607E /* libPods-AFNetworking Example.a */,
); );
name = Frameworks; name = Frameworks;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -148,12 +148,12 @@ ...@@ -148,12 +148,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F8129C191591061B009BFE23 /* Build configuration list for PBXNativeTarget "AFNetworking Example" */; buildConfigurationList = F8129C191591061B009BFE23 /* Build configuration list for PBXNativeTarget "AFNetworking Example" */;
buildPhases = ( buildPhases = (
2C1C2E504B564F0D90A4E1D2 /* 📦 Check Pods Manifest.lock */, 2C1C2E504B564F0D90A4E1D2 /* [CP] Check Pods Manifest.lock */,
F8129BF71591061B009BFE23 /* Sources */, F8129BF71591061B009BFE23 /* Sources */,
F8129BF81591061B009BFE23 /* Frameworks */, F8129BF81591061B009BFE23 /* Frameworks */,
F8129BF91591061B009BFE23 /* Resources */, F8129BF91591061B009BFE23 /* Resources */,
CC1632E381344B54BA63986B /* 📦 Copy Pods Resources */, CC1632E381344B54BA63986B /* [CP] Copy Pods Resources */,
F0DC30B6798CF042746A5614 /* 📦 Embed Pods Frameworks */, F0DC30B6798CF042746A5614 /* [CP] Embed Pods Frameworks */,
); );
buildRules = ( buildRules = (
); );
...@@ -202,14 +202,14 @@ ...@@ -202,14 +202,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
2C1C2E504B564F0D90A4E1D2 /* 📦 Check Pods Manifest.lock */ = { 2C1C2E504B564F0D90A4E1D2 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = "[CP] Check Pods Manifest.lock";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -217,14 +217,14 @@ ...@@ -217,14 +217,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
CC1632E381344B54BA63986B /* 📦 Copy Pods Resources */ = { CC1632E381344B54BA63986B /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = "[CP] Copy Pods Resources";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -232,14 +232,14 @@ ...@@ -232,14 +232,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking Example/Pods-AFNetworking Example-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
F0DC30B6798CF042746A5614 /* 📦 Embed Pods Frameworks */ = { F0DC30B6798CF042746A5614 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
}; };
F8129C1A1591061B009BFE23 /* Debug */ = { F8129C1A1591061B009BFE23 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 3C79D6B3AA6A1DBBAE48A944 /* Pods-AFNetworking Example.debug.xcconfig */; baseConfigurationReference = B47968EF64ED4169C658E405 /* Pods-AFNetworking Example.debug.xcconfig */;
buildSettings = { buildSettings = {
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
...@@ -347,7 +347,7 @@ ...@@ -347,7 +347,7 @@
}; };
F8129C1B1591061B009BFE23 /* Release */ = { F8129C1B1591061B009BFE23 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = A67B777556EF5D95EAFA5CF8 /* Pods-AFNetworking Example.release.xcconfig */; baseConfigurationReference = 694801CD9796D99F3BDD0D95 /* Pods-AFNetworking Example.release.xcconfig */;
buildSettings = { buildSettings = {
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
COMBINE_HIDPI_IMAGES = YES; COMBINE_HIDPI_IMAGES = YES;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
2982AD3217107C0000FFF048 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = 2982AD3117107C0000FFF048 /* adn.cer */; }; 2982AD3217107C0000FFF048 /* adn.cer in Resources */ = {isa = PBXBuildFile; fileRef = 2982AD3117107C0000FFF048 /* adn.cer */; };
9A67BEDAF4D3529C5380A3E2 /* libPods-AFNetworking iOS Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */; }; D316A4584424A267872C6208 /* libPods-AFNetworking iOS Example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F3C0AE9D618FB17D8FBD760E /* libPods-AFNetworking iOS Example.a */; };
F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C7215910C37009BFE23 /* AppDelegate.m */; }; F8129C7415910C37009BFE23 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F8129C7215910C37009BFE23 /* AppDelegate.m */; };
F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */; }; F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */; };
F88812F016C533D6003C8B8C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469E013957DF100DB05C8 /* Security.framework */; }; F88812F016C533D6003C8B8C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8E469E013957DF100DB05C8 /* Security.framework */; };
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
0678DF4121D5956B85653CB1 /* Pods-AFNetworking iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.release.xcconfig"; sourceTree = "<group>"; };
2982AD3117107C0000FFF048 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; }; 2982AD3117107C0000FFF048 /* adn.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = adn.cer; sourceTree = SOURCE_ROOT; };
50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 50ABD6EC159FC2CE001BE42C /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
7669B6F3267891B0317A0167 /* Pods-AFNetworking iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.debug.xcconfig"; sourceTree = "<group>"; }; 5723FFCCA3CB8D6E467F174B /* Pods-AFNetworking iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.debug.xcconfig"; sourceTree = "<group>"; };
BEA3D3BDD12996573240F05F /* Pods-AFNetworking iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFNetworking iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example.release.xcconfig"; sourceTree = "<group>"; }; F3C0AE9D618FB17D8FBD760E /* libPods-AFNetworking iOS Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking iOS Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-AFNetworking iOS Example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
F8129C3815910830009BFE23 /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = SOURCE_ROOT; }; F8129C3815910830009BFE23 /* Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Prefix.pch; sourceTree = SOURCE_ROOT; };
F8129C7215910C37009BFE23 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; }; F8129C7215910C37009BFE23 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
F8129C7315910C37009BFE23 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; }; F8129C7315910C37009BFE23 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
...@@ -81,18 +81,18 @@ ...@@ -81,18 +81,18 @@
F8E469DF13957DD500DB05C8 /* CoreLocation.framework in Frameworks */, F8E469DF13957DD500DB05C8 /* CoreLocation.framework in Frameworks */,
F8D0701B14310F4A00653FD3 /* SystemConfiguration.framework in Frameworks */, F8D0701B14310F4A00653FD3 /* SystemConfiguration.framework in Frameworks */,
F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */, F818101615E6A0C600EF93C2 /* MobileCoreServices.framework in Frameworks */,
9A67BEDAF4D3529C5380A3E2 /* libPods-AFNetworking iOS Example.a in Frameworks */, D316A4584424A267872C6208 /* libPods-AFNetworking iOS Example.a in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
9CE17E7C344B0E75BC0723EA /* Pods */ = { F894B3D9070680CE51C9C4F8 /* Pods */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
7669B6F3267891B0317A0167 /* Pods-AFNetworking iOS Example.debug.xcconfig */, 5723FFCCA3CB8D6E467F174B /* Pods-AFNetworking iOS Example.debug.xcconfig */,
BEA3D3BDD12996573240F05F /* Pods-AFNetworking iOS Example.release.xcconfig */, 0678DF4121D5956B85653CB1 /* Pods-AFNetworking iOS Example.release.xcconfig */,
); );
name = Pods; name = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
F8E469ED1395812A00DB05C8 /* Images */, F8E469ED1395812A00DB05C8 /* Images */,
F8E469631395739D00DB05C8 /* Frameworks */, F8E469631395739D00DB05C8 /* Frameworks */,
F8E469611395739C00DB05C8 /* Products */, F8E469611395739C00DB05C8 /* Products */,
9CE17E7C344B0E75BC0723EA /* Pods */, F894B3D9070680CE51C9C4F8 /* Pods */,
); );
indentWidth = 4; indentWidth = 4;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
F8E469641395739D00DB05C8 /* UIKit.framework */, F8E469641395739D00DB05C8 /* UIKit.framework */,
F8E469661395739D00DB05C8 /* Foundation.framework */, F8E469661395739D00DB05C8 /* Foundation.framework */,
F8E469681395739D00DB05C8 /* CoreGraphics.framework */, F8E469681395739D00DB05C8 /* CoreGraphics.framework */,
DB1F7D464FF374F6931E274F /* libPods-AFNetworking iOS Example.a */, F3C0AE9D618FB17D8FBD760E /* libPods-AFNetworking iOS Example.a */,
); );
name = Frameworks; name = Frameworks;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -223,12 +223,12 @@ ...@@ -223,12 +223,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F8E469811395739D00DB05C8 /* Build configuration list for PBXNativeTarget "AFNetworking iOS Example" */; buildConfigurationList = F8E469811395739D00DB05C8 /* Build configuration list for PBXNativeTarget "AFNetworking iOS Example" */;
buildPhases = ( buildPhases = (
E4419DF1E8B742E49777FFE0 /* 📦 Check Pods Manifest.lock */, E4419DF1E8B742E49777FFE0 /* [CP] Check Pods Manifest.lock */,
F8E4695C1395739C00DB05C8 /* Sources */, F8E4695C1395739C00DB05C8 /* Sources */,
F8E4695D1395739C00DB05C8 /* Frameworks */, F8E4695D1395739C00DB05C8 /* Frameworks */,
F8E4695E1395739C00DB05C8 /* Resources */, F8E4695E1395739C00DB05C8 /* Resources */,
226FE837057C4F98AD9FFB32 /* 📦 Copy Pods Resources */, 226FE837057C4F98AD9FFB32 /* [CP] Copy Pods Resources */,
CB0CF751F97DB411456460D5 /* 📦 Embed Pods Frameworks */, CB0CF751F97DB411456460D5 /* [CP] Embed Pods Frameworks */,
); );
buildRules = ( buildRules = (
); );
...@@ -284,14 +284,14 @@ ...@@ -284,14 +284,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
226FE837057C4F98AD9FFB32 /* 📦 Copy Pods Resources */ = { 226FE837057C4F98AD9FFB32 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = "[CP] Copy Pods Resources";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -299,14 +299,14 @@ ...@@ -299,14 +299,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
CB0CF751F97DB411456460D5 /* 📦 Embed Pods Frameworks */ = { CB0CF751F97DB411456460D5 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -314,14 +314,14 @@ ...@@ -314,14 +314,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFNetworking iOS Example/Pods-AFNetworking iOS Example-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
E4419DF1E8B742E49777FFE0 /* 📦 Check Pods Manifest.lock */ = { E4419DF1E8B742E49777FFE0 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = "[CP] Check Pods Manifest.lock";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
}; };
F8E469821395739D00DB05C8 /* Debug */ = { F8E469821395739D00DB05C8 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 7669B6F3267891B0317A0167 /* Pods-AFNetworking iOS Example.debug.xcconfig */; baseConfigurationReference = 5723FFCCA3CB8D6E467F174B /* Pods-AFNetworking iOS Example.debug.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
...@@ -404,7 +404,7 @@ ...@@ -404,7 +404,7 @@
}; };
F8E469831395739D00DB05C8 /* Release */ = { F8E469831395739D00DB05C8 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = BEA3D3BDD12996573240F05F /* Pods-AFNetworking iOS Example.release.xcconfig */; baseConfigurationReference = 0678DF4121D5956B85653CB1 /* Pods-AFNetworking iOS Example.release.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_ARC = YES; CLANG_ENABLE_OBJC_ARC = YES;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
951B3FAD58824E9B86E74AD3 /* Pods_iOS_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4EEEDE5D19C6F39708A8F116 /* Pods_iOS_Example.framework */; }; C82071AF343C55D6645B5448 /* Pods_iOS_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4F6B1B2EDDA11E881E41FEC2 /* Pods_iOS_Example.framework */; };
F8111E0B19A951050040E7D1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0A19A951050040E7D1 /* AppDelegate.swift */; }; F8111E0B19A951050040E7D1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0A19A951050040E7D1 /* AppDelegate.swift */; };
F8111E0D19A951050040E7D1 /* MasterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0C19A951050040E7D1 /* MasterViewController.swift */; }; F8111E0D19A951050040E7D1 /* MasterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0C19A951050040E7D1 /* MasterViewController.swift */; };
F8111E0F19A951050040E7D1 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0E19A951050040E7D1 /* DetailViewController.swift */; }; F8111E0F19A951050040E7D1 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E0E19A951050040E7D1 /* DetailViewController.swift */; };
...@@ -17,9 +17,9 @@ ...@@ -17,9 +17,9 @@
/* End PBXBuildFile section */ /* End PBXBuildFile section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
4EEEDE5D19C6F39708A8F116 /* Pods_iOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 32E57E48A641215EE938A9F4 /* Pods-iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example.debug.xcconfig"; sourceTree = "<group>"; };
E72AAD1560ED38C6203AE071 /* Pods-iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example.release.xcconfig"; sourceTree = "<group>"; }; 4F6B1B2EDDA11E881E41FEC2 /* Pods_iOS_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iOS_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
F787F2A3625E02D003BE2209 /* Pods-iOS Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example.debug.xcconfig"; sourceTree = "<group>"; }; 7E5904356E33E2E78515F010 /* Pods-iOS Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iOS Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example.release.xcconfig"; sourceTree = "<group>"; };
F8111E0519A951050040E7D1 /* iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; }; F8111E0519A951050040E7D1 /* iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
F8111E0919A951050040E7D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; F8111E0919A951050040E7D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
F8111E0A19A951050040E7D1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; }; F8111E0A19A951050040E7D1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
...@@ -35,28 +35,28 @@ ...@@ -35,28 +35,28 @@
isa = PBXFrameworksBuildPhase; isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
951B3FAD58824E9B86E74AD3 /* Pods_iOS_Example.framework in Frameworks */, C82071AF343C55D6645B5448 /* Pods_iOS_Example.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
/* End PBXFrameworksBuildPhase section */ /* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */ /* Begin PBXGroup section */
2D42BDE636F2C5E26D98A0B6 /* Pods */ = { 8AE89EDB3E4608D5851224F5 /* Frameworks */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
F787F2A3625E02D003BE2209 /* Pods-iOS Example.debug.xcconfig */, 4F6B1B2EDDA11E881E41FEC2 /* Pods_iOS_Example.framework */,
E72AAD1560ED38C6203AE071 /* Pods-iOS Example.release.xcconfig */,
); );
name = Pods; name = Frameworks;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
D8ADE35CA568F7C97750679B /* Frameworks */ = { E8DBABB31D3A1E1E4FC8DC4B /* Pods */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
4EEEDE5D19C6F39708A8F116 /* Pods_iOS_Example.framework */, 32E57E48A641215EE938A9F4 /* Pods-iOS Example.debug.xcconfig */,
7E5904356E33E2E78515F010 /* Pods-iOS Example.release.xcconfig */,
); );
name = Frameworks; name = Pods;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
F8111DFC19A951050040E7D1 = { F8111DFC19A951050040E7D1 = {
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
children = ( children = (
F8111E0719A951050040E7D1 /* Source */, F8111E0719A951050040E7D1 /* Source */,
F8111E0619A951050040E7D1 /* Products */, F8111E0619A951050040E7D1 /* Products */,
2D42BDE636F2C5E26D98A0B6 /* Pods */, E8DBABB31D3A1E1E4FC8DC4B /* Pods */,
D8ADE35CA568F7C97750679B /* Frameworks */, 8AE89EDB3E4608D5851224F5 /* Frameworks */,
); );
sourceTree = "<group>"; sourceTree = "<group>";
}; };
...@@ -107,12 +107,12 @@ ...@@ -107,12 +107,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F8111E2319A951050040E7D1 /* Build configuration list for PBXNativeTarget "iOS Example" */; buildConfigurationList = F8111E2319A951050040E7D1 /* Build configuration list for PBXNativeTarget "iOS Example" */;
buildPhases = ( buildPhases = (
6540B3CA5F945114F2BD9C7B /* 📦 Check Pods Manifest.lock */, 6540B3CA5F945114F2BD9C7B /* [CP] Check Pods Manifest.lock */,
F8111E0119A951050040E7D1 /* Sources */, F8111E0119A951050040E7D1 /* Sources */,
F8111E0219A951050040E7D1 /* Frameworks */, F8111E0219A951050040E7D1 /* Frameworks */,
F8111E0319A951050040E7D1 /* Resources */, F8111E0319A951050040E7D1 /* Resources */,
232F8168EB8673C9D2405BA7 /* 📦 Embed Pods Frameworks */, 232F8168EB8673C9D2405BA7 /* [CP] Embed Pods Frameworks */,
B81850C1CB84CCCCFC8FFC52 /* 📦 Copy Pods Resources */, B81850C1CB84CCCCFC8FFC52 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -169,14 +169,14 @@ ...@@ -169,14 +169,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
232F8168EB8673C9D2405BA7 /* 📦 Embed Pods Frameworks */ = { 232F8168EB8673C9D2405BA7 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = "[CP] Embed Pods Frameworks";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -184,14 +184,14 @@ ...@@ -184,14 +184,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-iOS Example/Pods-iOS Example-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
6540B3CA5F945114F2BD9C7B /* 📦 Check Pods Manifest.lock */ = { 6540B3CA5F945114F2BD9C7B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = "[CP] Check Pods Manifest.lock";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -199,14 +199,14 @@ ...@@ -199,14 +199,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
B81850C1CB84CCCCFC8FFC52 /* 📦 Copy Pods Resources */ = { B81850C1CB84CCCCFC8FFC52 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = "[CP] Copy Pods Resources";
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -323,7 +323,7 @@ ...@@ -323,7 +323,7 @@
}; };
F8111E2419A951050040E7D1 /* Debug */ = { F8111E2419A951050040E7D1 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = F787F2A3625E02D003BE2209 /* Pods-iOS Example.debug.xcconfig */; baseConfigurationReference = 32E57E48A641215EE938A9F4 /* Pods-iOS Example.debug.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
...@@ -335,7 +335,7 @@ ...@@ -335,7 +335,7 @@
}; };
F8111E2519A951050040E7D1 /* Release */ = { F8111E2519A951050040E7D1 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = E72AAD1560ED38C6203AE071 /* Pods-iOS Example.release.xcconfig */; baseConfigurationReference = 7E5904356E33E2E78515F010 /* Pods-iOS Example.release.xcconfig */;
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
......
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:HeaderMappingsDir Example.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
295BB5621CEA95DE00E79F82 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 295BB5611CEA95DE00E79F82 /* AppDelegate.swift */; };
295BB5641CEA95DE00E79F82 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 295BB5631CEA95DE00E79F82 /* Assets.xcassets */; };
44CEACDCCD13E316EE074DA1 /* Pods_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AD4F2DCE25281A4C3DAC43C7 /* Pods_App.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
295BB55E1CEA95DE00E79F82 /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
295BB5611CEA95DE00E79F82 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
295BB5631CEA95DE00E79F82 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
295BB5681CEA95DE00E79F82 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8914945168DAAA34EFE099AF /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
AD4F2DCE25281A4C3DAC43C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E1928C2D408B1D2E8B3E2FA3 /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
295BB55B1CEA95DE00E79F82 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
44CEACDCCD13E316EE074DA1 /* Pods_App.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
295BB5551CEA95DE00E79F82 = {
isa = PBXGroup;
children = (
295BB5601CEA95DE00E79F82 /* HeaderMappingsDir Example */,
295BB55F1CEA95DE00E79F82 /* Products */,
66AD76830CE2BBB6379CA47B /* Pods */,
83215639ECD12CBC1F4DC4E3 /* Frameworks */,
);
sourceTree = "<group>";
};
295BB55F1CEA95DE00E79F82 /* Products */ = {
isa = PBXGroup;
children = (
295BB55E1CEA95DE00E79F82 /* App.app */,
);
name = Products;
sourceTree = "<group>";
};
295BB5601CEA95DE00E79F82 /* HeaderMappingsDir Example */ = {
isa = PBXGroup;
children = (
295BB5611CEA95DE00E79F82 /* AppDelegate.swift */,
295BB5631CEA95DE00E79F82 /* Assets.xcassets */,
295BB5681CEA95DE00E79F82 /* Info.plist */,
);
path = "HeaderMappingsDir Example";
sourceTree = "<group>";
};
66AD76830CE2BBB6379CA47B /* Pods */ = {
isa = PBXGroup;
children = (
E1928C2D408B1D2E8B3E2FA3 /* Pods-App.debug.xcconfig */,
8914945168DAAA34EFE099AF /* Pods-App.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
83215639ECD12CBC1F4DC4E3 /* Frameworks */ = {
isa = PBXGroup;
children = (
AD4F2DCE25281A4C3DAC43C7 /* Pods_App.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
295BB55D1CEA95DE00E79F82 /* App */ = {
isa = PBXNativeTarget;
buildConfigurationList = 295BB56B1CEA95DE00E79F82 /* Build configuration list for PBXNativeTarget "App" */;
buildPhases = (
62E9CD52D31153978437D4C2 /* [CP] Check Pods Manifest.lock */,
295BB55A1CEA95DE00E79F82 /* Sources */,
295BB55B1CEA95DE00E79F82 /* Frameworks */,
295BB55C1CEA95DE00E79F82 /* Resources */,
6E2B4891468DB661A63F8065 /* [CP] Embed Pods Frameworks */,
0B71E1EA08FB405324201E97 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
);
name = App;
productName = "HeaderMappingsDir Example";
productReference = 295BB55E1CEA95DE00E79F82 /* App.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
295BB5561CEA95DE00E79F82 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0730;
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = CocoaPods;
TargetAttributes = {
295BB55D1CEA95DE00E79F82 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 295BB5591CEA95DE00E79F82 /* Build configuration list for PBXProject "HeaderMappingsDir Example" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 295BB5551CEA95DE00E79F82;
productRefGroup = 295BB55F1CEA95DE00E79F82 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
295BB55D1CEA95DE00E79F82 /* App */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
295BB55C1CEA95DE00E79F82 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
295BB5641CEA95DE00E79F82 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
0B71E1EA08FB405324201E97 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
showEnvVarsInLog = 0;
};
62E9CD52D31153978437D4C2 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] 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;
};
6E2B4891468DB661A63F8065 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-App/Pods-App-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
295BB55A1CEA95DE00E79F82 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
295BB5621CEA95DE00E79F82 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
295BB5691CEA95DE00E79F82 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
295BB56A1CEA95DE00E79F82 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.11;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = macosx;
};
name = Release;
};
295BB56C1CEA95DE00E79F82 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = E1928C2D408B1D2E8B3E2FA3 /* Pods-App.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "HeaderMappingsDir Example/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.HeaderMappingsDir-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
295BB56D1CEA95DE00E79F82 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8914945168DAAA34EFE099AF /* Pods-App.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = "HeaderMappingsDir Example/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.HeaderMappingsDir-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
295BB5591CEA95DE00E79F82 /* Build configuration list for PBXProject "HeaderMappingsDir Example" */ = {
isa = XCConfigurationList;
buildConfigurations = (
295BB5691CEA95DE00E79F82 /* Debug */,
295BB56A1CEA95DE00E79F82 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
295BB56B1CEA95DE00E79F82 /* Build configuration list for PBXNativeTarget "App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
295BB56C1CEA95DE00E79F82 /* Debug */,
295BB56D1CEA95DE00E79F82 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 295BB5561CEA95DE00E79F82 /* Project object */;
}
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0730"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "295BB55D1CEA95DE00E79F82"
BuildableName = "App.app"
BlueprintName = "App"
ReferencedContainer = "container:HeaderMappingsDir Example.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "295BB55D1CEA95DE00E79F82"
BuildableName = "App.app"
BlueprintName = "App"
ReferencedContainer = "container:HeaderMappingsDir Example.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "295BB55D1CEA95DE00E79F82"
BuildableName = "App.app"
BlueprintName = "App"
ReferencedContainer = "container:HeaderMappingsDir Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "295BB55D1CEA95DE00E79F82"
BuildableName = "App.app"
BlueprintName = "App"
ReferencedContainer = "container:HeaderMappingsDir Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
import Cocoa
import HeaderMappingsDirPod
import HeaderMappingsDirPod.Private
@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!
}
{
"images" : [
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "16x16",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "32x32",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "128x128",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "256x256",
"scale" : "2x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "1x"
},
{
"idiom" : "mac",
"size" : "512x512",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
<?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>CFBundleIconFile</key>
<string></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>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 CocoaPods. All rights reserved.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>
Pod::Spec.new do |s|
s.name = 'HeaderMappingsDirPod'
s.version = '0.1.0'
s.summary = 'Demonstrates using a set of advanced options all together.'
s.description = <<-DESC
* has private headers
* has a `header_mappings_dir`
* has a `module_map`
* explictly declare at least one of the private
headers in the module map
DESC
s.source = { :git => 'https://github.com/CocoaPods/CocoaPods.git', :tag => "v#{s.version}" }
s.homepage = "https://github.com/CocoaPods/CocoaPods"
s.author = { 'Example' => 'help@example.org' }
s.license = { :type => 'MIT', :file => '../../../LICENSE' }
s.public_header_files = 'include/Foo.h', 'include/Bar/Bar.h'
s.private_header_files = 'include/Bar/Bar_Private.h'
s.source_files = '*.m', 'include/*.h', 'include/Bar/*.h'
s.module_map = 'module.modulemap'
s.header_mappings_dir = 'include'
s.preserve_paths = %w(include)
s.osx.deployment_target = '10.9'
end
framework module HeaderMappingsDirPod {
umbrella header "Foo.h"
export *
module * { export * }
explicit module Private {
header "Bar/Bar_Private.h"
}
}
platform :osx, '10.9'
use_frameworks!
workspace 'Examples.xcworkspace'
project 'HeaderMappingsDir Example.xcodeproj'
target 'App' do
pod 'HeaderMappingsDirPod', :path => 'HeaderMappingsDirPod'
end
...@@ -110,12 +110,12 @@ ...@@ -110,12 +110,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = A8C77C661C9DA931000AFF69 /* Build configuration list for PBXNativeTarget "Resource Bundle Example" */; buildConfigurationList = A8C77C661C9DA931000AFF69 /* Build configuration list for PBXNativeTarget "Resource Bundle Example" */;
buildPhases = ( buildPhases = (
8FB5EE32BFE997FC437DE638 /* 📦 Check Pods Manifest.lock */, 8FB5EE32BFE997FC437DE638 /* [CP] Check Pods Manifest.lock */,
A8C77C4B1C9DA931000AFF69 /* Sources */, A8C77C4B1C9DA931000AFF69 /* Sources */,
A8C77C4C1C9DA931000AFF69 /* Frameworks */, A8C77C4C1C9DA931000AFF69 /* Frameworks */,
A8C77C4D1C9DA931000AFF69 /* Resources */, A8C77C4D1C9DA931000AFF69 /* Resources */,
E1D153F1317B0ED8A0A98DE0 /* 📦 Embed Pods Frameworks */, E1D153F1317B0ED8A0A98DE0 /* [CP] Embed Pods Frameworks */,
41F27F05FA87A7FE9EA1A2BF /* 📦 Copy Pods Resources */, 41F27F05FA87A7FE9EA1A2BF /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -172,14 +172,14 @@ ...@@ -172,14 +172,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
41F27F05FA87A7FE9EA1A2BF /* 📦 Copy Pods Resources */ = { 41F27F05FA87A7FE9EA1A2BF /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -187,14 +187,14 @@ ...@@ -187,14 +187,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Resource Bundle Example/Pods-Resource Bundle Example-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Resource Bundle Example/Pods-Resource Bundle Example-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
8FB5EE32BFE997FC437DE638 /* 📦 Check Pods Manifest.lock */ = { 8FB5EE32BFE997FC437DE638 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -202,14 +202,14 @@ ...@@ -202,14 +202,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
E1D153F1317B0ED8A0A98DE0 /* 📦 Embed Pods Frameworks */ = { E1D153F1317B0ED8A0A98DE0 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
......
...@@ -150,12 +150,12 @@ ...@@ -150,12 +150,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F58833F11CBBC0C9007D4DA4 /* Build configuration list for PBXNativeTarget "TestInclusions" */; buildConfigurationList = F58833F11CBBC0C9007D4DA4 /* Build configuration list for PBXNativeTarget "TestInclusions" */;
buildPhases = ( buildPhases = (
18770D25CD70A1B4F077C1A3 /* 📦 Check Pods Manifest.lock */, 18770D25CD70A1B4F077C1A3 /* [CP] Check Pods Manifest.lock */,
F58833CB1CBBC0C9007D4DA4 /* Sources */, F58833CB1CBBC0C9007D4DA4 /* Sources */,
F58833CC1CBBC0C9007D4DA4 /* Frameworks */, F58833CC1CBBC0C9007D4DA4 /* Frameworks */,
F58833CD1CBBC0C9007D4DA4 /* Resources */, F58833CD1CBBC0C9007D4DA4 /* Resources */,
2D7DA37C114DD6E56D290D94 /* 📦 Embed Pods Frameworks */, 2D7DA37C114DD6E56D290D94 /* [CP] Embed Pods Frameworks */,
BEB56E0CAF877FA9577BF299 /* 📦 Copy Pods Resources */, BEB56E0CAF877FA9577BF299 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -170,12 +170,12 @@ ...@@ -170,12 +170,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = F58833F41CBBC0C9007D4DA4 /* Build configuration list for PBXNativeTarget "TestInclusionsTests" */; buildConfigurationList = F58833F41CBBC0C9007D4DA4 /* Build configuration list for PBXNativeTarget "TestInclusionsTests" */;
buildPhases = ( buildPhases = (
FF15824F61254F4257FD78E7 /* 📦 Check Pods Manifest.lock */, FF15824F61254F4257FD78E7 /* [CP] Check Pods Manifest.lock */,
F58833E41CBBC0C9007D4DA4 /* Sources */, F58833E41CBBC0C9007D4DA4 /* Sources */,
F58833E51CBBC0C9007D4DA4 /* Frameworks */, F58833E51CBBC0C9007D4DA4 /* Frameworks */,
F58833E61CBBC0C9007D4DA4 /* Resources */, F58833E61CBBC0C9007D4DA4 /* Resources */,
6D3C9E5647F2F9BE1B8CA805 /* 📦 Embed Pods Frameworks */, 6D3C9E5647F2F9BE1B8CA805 /* [CP] Embed Pods Frameworks */,
23FBFF6CF467540E5F102610 /* 📦 Copy Pods Resources */, 23FBFF6CF467540E5F102610 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -245,14 +245,14 @@ ...@@ -245,14 +245,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
18770D25CD70A1B4F077C1A3 /* 📦 Check Pods Manifest.lock */ = { 18770D25CD70A1B4F077C1A3 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -260,14 +260,14 @@ ...@@ -260,14 +260,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
23FBFF6CF467540E5F102610 /* 📦 Copy Pods Resources */ = { 23FBFF6CF467540E5F102610 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -275,14 +275,14 @@ ...@@ -275,14 +275,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusionsTests/Pods-TestInclusionsPods-TestInclusionsTests-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusionsTests/Pods-TestInclusionsPods-TestInclusionsTests-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
2D7DA37C114DD6E56D290D94 /* 📦 Embed Pods Frameworks */ = { 2D7DA37C114DD6E56D290D94 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -290,14 +290,14 @@ ...@@ -290,14 +290,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusions/Pods-TestInclusionsPods-TestInclusions-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusions/Pods-TestInclusionsPods-TestInclusions-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
6D3C9E5647F2F9BE1B8CA805 /* 📦 Embed Pods Frameworks */ = { 6D3C9E5647F2F9BE1B8CA805 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -305,14 +305,14 @@ ...@@ -305,14 +305,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusionsTests/Pods-TestInclusionsPods-TestInclusionsTests-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusionsTests/Pods-TestInclusionsPods-TestInclusionsTests-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
BEB56E0CAF877FA9577BF299 /* 📦 Copy Pods Resources */ = { BEB56E0CAF877FA9577BF299 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -320,14 +320,14 @@ ...@@ -320,14 +320,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusions/Pods-TestInclusionsPods-TestInclusions-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-TestInclusionsPods-TestInclusions/Pods-TestInclusionsPods-TestInclusions-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
FF15824F61254F4257FD78E7 /* 📦 Check Pods Manifest.lock */ = { FF15824F61254F4257FD78E7 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
......
...@@ -95,12 +95,12 @@ ...@@ -95,12 +95,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = 5CAF4FFA1CC1125900B44520 /* Build configuration list for PBXNativeTarget "Vendored Framework Example" */; buildConfigurationList = 5CAF4FFA1CC1125900B44520 /* Build configuration list for PBXNativeTarget "Vendored Framework Example" */;
buildPhases = ( buildPhases = (
25E42247833F1966ABF463BE /* 📦 Check Pods Manifest.lock */, 25E42247833F1966ABF463BE /* [CP] Check Pods Manifest.lock */,
5CAF4FE41CC1125900B44520 /* Sources */, 5CAF4FE41CC1125900B44520 /* Sources */,
5CAF4FE51CC1125900B44520 /* Frameworks */, 5CAF4FE51CC1125900B44520 /* Frameworks */,
5CAF4FE61CC1125900B44520 /* Resources */, 5CAF4FE61CC1125900B44520 /* Resources */,
4697BF2DD055B93C3DE0E375 /* 📦 Embed Pods Frameworks */, 4697BF2DD055B93C3DE0E375 /* [CP] Embed Pods Frameworks */,
9C2933733E94154FB1F30218 /* 📦 Copy Pods Resources */, 9C2933733E94154FB1F30218 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -158,14 +158,14 @@ ...@@ -158,14 +158,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
25E42247833F1966ABF463BE /* 📦 Check Pods Manifest.lock */ = { 25E42247833F1966ABF463BE /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -173,14 +173,14 @@ ...@@ -173,14 +173,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
4697BF2DD055B93C3DE0E375 /* 📦 Embed Pods Frameworks */ = { 4697BF2DD055B93C3DE0E375 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -188,14 +188,14 @@ ...@@ -188,14 +188,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Vendored Framework Example/Pods-Vendored Framework Example-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Vendored Framework Example/Pods-Vendored Framework Example-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
9C2933733E94154FB1F30218 /* 📦 Copy Pods Resources */ = { 9C2933733E94154FB1F30218 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
......
...@@ -200,13 +200,13 @@ ...@@ -200,13 +200,13 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = A129F8F71B2CA81700EBC1DD /* Build configuration list for PBXNativeTarget "watchOSsample" */; buildConfigurationList = A129F8F71B2CA81700EBC1DD /* Build configuration list for PBXNativeTarget "watchOSsample" */;
buildPhases = ( buildPhases = (
1E8987D060C89B71B6F2E504 /* 📦 Check Pods Manifest.lock */, 1E8987D060C89B71B6F2E504 /* [CP] Check Pods Manifest.lock */,
A129F8BC1B2CA81600EBC1DD /* Sources */, A129F8BC1B2CA81600EBC1DD /* Sources */,
A129F8BD1B2CA81600EBC1DD /* Frameworks */, A129F8BD1B2CA81600EBC1DD /* Frameworks */,
A129F8BE1B2CA81600EBC1DD /* Resources */, A129F8BE1B2CA81600EBC1DD /* Resources */,
A129F8F61B2CA81700EBC1DD /* Embed Watch Content */, A129F8F61B2CA81700EBC1DD /* Embed Watch Content */,
B55D105F75FDCEAD4A12BE64 /* 📦 Embed Pods Frameworks */, B55D105F75FDCEAD4A12BE64 /* [CP] Embed Pods Frameworks */,
1E232F64274BFFA8F587E155 /* 📦 Copy Pods Resources */, 1E232F64274BFFA8F587E155 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -240,12 +240,12 @@ ...@@ -240,12 +240,12 @@
isa = PBXNativeTarget; isa = PBXNativeTarget;
buildConfigurationList = A865B2891CAF18FF0031EFC6 /* Build configuration list for PBXNativeTarget "watchOSsample WatchKit Extension" */; buildConfigurationList = A865B2891CAF18FF0031EFC6 /* Build configuration list for PBXNativeTarget "watchOSsample WatchKit Extension" */;
buildPhases = ( buildPhases = (
80D5F6FDF4441AF84D902FA8 /* 📦 Check Pods Manifest.lock */, 80D5F6FDF4441AF84D902FA8 /* [CP] Check Pods Manifest.lock */,
A865B2761CAF18FF0031EFC6 /* Sources */, A865B2761CAF18FF0031EFC6 /* Sources */,
A865B2771CAF18FF0031EFC6 /* Frameworks */, A865B2771CAF18FF0031EFC6 /* Frameworks */,
A865B2781CAF18FF0031EFC6 /* Resources */, A865B2781CAF18FF0031EFC6 /* Resources */,
766BB1279F3F20E30F8D82AC /* 📦 Embed Pods Frameworks */, 766BB1279F3F20E30F8D82AC /* [CP] Embed Pods Frameworks */,
9404B5E651690A16E40B8F95 /* 📦 Copy Pods Resources */, 9404B5E651690A16E40B8F95 /* [CP] Copy Pods Resources */,
); );
buildRules = ( buildRules = (
); );
...@@ -328,14 +328,14 @@ ...@@ -328,14 +328,14 @@
/* End PBXResourcesBuildPhase section */ /* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */
1E232F64274BFFA8F587E155 /* 📦 Copy Pods Resources */ = { 1E232F64274BFFA8F587E155 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -343,14 +343,14 @@ ...@@ -343,14 +343,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample/Pods-watchOSsample-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample/Pods-watchOSsample-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
1E8987D060C89B71B6F2E504 /* 📦 Check Pods Manifest.lock */ = { 1E8987D060C89B71B6F2E504 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -358,14 +358,14 @@ ...@@ -358,14 +358,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
766BB1279F3F20E30F8D82AC /* 📦 Embed Pods Frameworks */ = { 766BB1279F3F20E30F8D82AC /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -373,14 +373,14 @@ ...@@ -373,14 +373,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample WatchKit Extension/Pods-watchOSsample WatchKit Extension-frameworks.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample WatchKit Extension/Pods-watchOSsample WatchKit Extension-frameworks.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
80D5F6FDF4441AF84D902FA8 /* 📦 Check Pods Manifest.lock */ = { 80D5F6FDF4441AF84D902FA8 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Check Pods Manifest.lock"; name = '[CP] Check Pods Manifest.lock';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -388,14 +388,14 @@ ...@@ -388,14 +388,14 @@
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"; 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; showEnvVarsInLog = 0;
}; };
9404B5E651690A16E40B8F95 /* 📦 Copy Pods Resources */ = { 9404B5E651690A16E40B8F95 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Copy Pods Resources"; name = '[CP] Copy Pods Resources';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
...@@ -403,14 +403,14 @@ ...@@ -403,14 +403,14 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample WatchKit Extension/Pods-watchOSsample WatchKit Extension-resources.sh\"\n"; shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-watchOSsample WatchKit Extension/Pods-watchOSsample WatchKit Extension-resources.sh\"\n";
showEnvVarsInLog = 0; showEnvVarsInLog = 0;
}; };
B55D105F75FDCEAD4A12BE64 /* 📦 Embed Pods Frameworks */ = { B55D105F75FDCEAD4A12BE64 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase; isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647; buildActionMask = 2147483647;
files = ( files = (
); );
inputPaths = ( inputPaths = (
); );
name = "📦 Embed Pods Frameworks"; name = '[CP] Embed Pods Frameworks';
outputPaths = ( outputPaths = (
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
......
...@@ -22,7 +22,7 @@ module Pod ...@@ -22,7 +22,7 @@ module Pod
require 'cocoapods/command/env' require 'cocoapods/command/env'
require 'cocoapods/command/init' require 'cocoapods/command/init'
require 'cocoapods/command/install' require 'cocoapods/command/install'
require 'cocoapods/command/inter_process_communication' require 'cocoapods/command/ipc'
require 'cocoapods/command/lib' require 'cocoapods/command/lib'
require 'cocoapods/command/list' require 'cocoapods/command/list'
require 'cocoapods/command/outdated' require 'cocoapods/command/outdated'
......
module Pod
class Command
class IPC < Command
self.abstract_command = true
self.summary = 'Inter-process communication'
def output_pipe
STDOUT
end
#-----------------------------------------------------------------------#
class Spec < IPC
self.summary = 'Converts a podspec to JSON'
self.description = 'Converts a podspec to JSON and prints it to STDOUT.'
self.arguments = [
CLAide::Argument.new('PATH', true),
]
def initialize(argv)
@path = argv.shift_argument
super
end
def validate!
super
help! 'A specification path is required.' unless @path
end
def run
require 'json'
spec = Specification.from_file(@path)
output_pipe.puts(spec.to_pretty_json)
end
end
#-----------------------------------------------------------------------#
class Podfile < IPC
include ProjectDirectory
self.summary = 'Converts a Podfile to YAML'
self.description = 'Converts a Podfile to YAML and prints it to STDOUT.'
self.arguments = [
CLAide::Argument.new('PATH', true),
]
def initialize(argv)
@path = argv.shift_argument
super
end
def validate!
super
help! 'A Podfile path is required.' unless @path
end
def run
require 'yaml'
podfile = Pod::Podfile.from_file(@path)
output_pipe.puts podfile.to_yaml
end
end
#-----------------------------------------------------------------------#
class List < IPC
self.summary = 'Lists the specifications known to CocoaPods'
self.description = <<-DESC
Prints to STDOUT a YAML dictionary where the keys are the name of the
specifications and each corresponding value is a dictionary with
the following keys:
- defined_in_file
- version
- authors
- summary
- description
- platforms
DESC
def run
require 'yaml'
sets = config.sources_manager.aggregate.all_sets
result = {}
sets.each do |set|
begin
spec = set.specification
result[spec.name] = {
'authors' => spec.authors.keys,
'summary' => spec.summary,
'description' => spec.description,
'platforms' => spec.available_platforms.map { |p| p.name.to_s },
}
rescue DSLError
next
end
end
output_pipe.puts result.to_yaml
end
end
#-----------------------------------------------------------------------#
class UpdateSearchIndex < IPC
self.summary = 'Updates the search index'
self.description = <<-DESC
Updates the search index and prints its path to standard output.
The search index is a YAML encoded dictionary where the keys
are the names of the Pods and the values are a dictionary containing
the following information:
- version
- summary
- description
- authors
DESC
def run
config.sources_manager.updated_search_index
output_pipe.puts(config.sources_manager.search_index_path)
end
end
#-----------------------------------------------------------------------#
class Repl < IPC
include ProjectDirectory
END_OF_OUTPUT_SIGNAL = "\n\r"
self.summary = 'The repl listens to commands on standard input'
self.description = <<-DESC
The repl listens to commands on standard input and prints their
result to standard output.
It accepts all the other ipc subcommands. The repl will signal the
end of output with the the ASCII CR+LF `\\n\\r`.
DESC
def run
print_version
signal_end_of_output
listen
end
def print_version
output_pipe.puts "version: '#{Pod::VERSION}'"
end
def signal_end_of_output
output_pipe.puts(END_OF_OUTPUT_SIGNAL)
STDOUT.flush
end
def listen
while repl_command = STDIN.gets
execute_repl_command(repl_command)
end
end
def execute_repl_command(repl_command)
if (repl_command != "\n")
repl_commands = repl_command.split
subcommand = repl_commands.shift.capitalize
arguments = repl_commands
subcommand_class = Pod::Command::IPC.const_get(subcommand)
subcommand_class.new(CLAide::ARGV.new(arguments)).run
signal_end_of_output
end
end
end
#-----------------------------------------------------------------------#
end
end
end
require 'cocoapods/command/ipc/list'
require 'cocoapods/command/ipc/podfile'
require 'cocoapods/command/ipc/repl'
require 'cocoapods/command/ipc/spec'
require 'cocoapods/command/ipc/update_search_index'
module Pod
class Command
class IPC < Command
self.abstract_command = true
self.summary = 'Inter-process communication'
def output_pipe
STDOUT
end
end
end
end
module Pod
class Command
class IPC < Command
class List < IPC
self.summary = 'Lists the specifications known to CocoaPods'
self.description = <<-DESC
Prints to STDOUT a YAML dictionary where the keys are the name of the
specifications and each corresponding value is a dictionary with
the following keys:
- defined_in_file
- version
- authors
- summary
- description
- platforms
DESC
def run
require 'yaml'
sets = config.sources_manager.aggregate.all_sets
result = {}
sets.each do |set|
begin
spec = set.specification
result[spec.name] = {
'authors' => spec.authors.keys,
'summary' => spec.summary,
'description' => spec.description,
'platforms' => spec.available_platforms.map { |p| p.name.to_s },
}
rescue DSLError
next
end
end
output_pipe.puts result.to_yaml
end
end
end
end
end
module Pod
class Command
class IPC < Command
class Podfile < IPC
include ProjectDirectory
self.summary = 'Converts a Podfile to YAML'
self.description = 'Converts a Podfile to YAML and prints it to STDOUT.'
self.arguments = [
CLAide::Argument.new('PATH', true),
]
def initialize(argv)
@path = argv.shift_argument
super
end
def validate!
super
help! 'A Podfile path is required.' unless @path
end
def run
require 'yaml'
podfile = Pod::Podfile.from_file(@path)
output_pipe.puts podfile.to_yaml
end
end
end
end
end
module Pod
class Command
class IPC < Command
class Repl < IPC
include ProjectDirectory
END_OF_OUTPUT_SIGNAL = "\n\r".freeze
self.summary = 'The repl listens to commands on standard input'
self.description = <<-DESC
The repl listens to commands on standard input and prints their
result to standard output.
It accepts all the other ipc subcommands. The repl will signal the
end of output with the the ASCII CR+LF `\\n\\r`.
DESC
def run
print_version
signal_end_of_output
listen
end
def print_version
output_pipe.puts "version: '#{Pod::VERSION}'"
end
def signal_end_of_output
output_pipe.puts(END_OF_OUTPUT_SIGNAL)
STDOUT.flush
end
def listen
while repl_command = STDIN.gets
execute_repl_command(repl_command)
end
end
def execute_repl_command(repl_command)
unless repl_command == '\n'
repl_commands = repl_command.split
subcommand = repl_commands.shift.capitalize
arguments = repl_commands
subcommand_class = Pod::Command::IPC.const_get(subcommand)
subcommand_class.new(CLAide::ARGV.new(arguments)).run
signal_end_of_output
end
end
end
end
end
end
module Pod
class Command
class IPC < Command
class Spec < IPC
self.summary = 'Converts a podspec to JSON'
self.description = 'Converts a podspec to JSON and prints it to STDOUT.'
self.arguments = [
CLAide::Argument.new('PATH', true),
]
def initialize(argv)
@path = argv.shift_argument
super
end
def validate!
super
help! 'A specification path is required.' unless @path
end
def run
require 'json'
spec = Specification.from_file(@path)
output_pipe.puts(spec.to_pretty_json)
end
end
end
end
end
module Pod
class Command
class IPC < Command
class UpdateSearchIndex < IPC
self.summary = 'Updates the search index'
self.description = <<-DESC
Updates the search index and prints its path to standard output.
The search index is a YAML encoded dictionary where the keys
are the names of the Pods and the values are a dictionary containing
the following information:
- version
- summary
- description
- authors
DESC
def run
config.sources_manager.updated_search_index
output_pipe.puts(config.sources_manager.search_index_path)
end
end
end
end
end
require 'cocoapods/command/lib/create'
require 'cocoapods/command/lib/lint'
module Pod module Pod
class Command class Command
class Lib < Command class Lib < Command
self.abstract_command = true self.abstract_command = true
self.summary = 'Develop pods' self.summary = 'Develop pods'
#-----------------------------------------------------------------------#
class Create < Lib
self.summary = 'Creates a new Pod'
self.description = <<-DESC
Creates a scaffold for the development of a new Pod named `NAME`
according to the CocoaPods best practices.
If a `TEMPLATE_URL`, pointing to a git repo containing a compatible
template, is specified, it will be used in place of the default one.
DESC
self.arguments = [
CLAide::Argument.new('NAME', true),
]
def self.options
[
['--template-url=URL', 'The URL of the git repo containing a ' \
'compatible template'],
].concat(super)
end
def initialize(argv)
@name = argv.shift_argument
@template_url = argv.option('template-url', TEMPLATE_REPO)
super
@additional_args = argv.remainder!
end
def validate!
super
help! 'A name for the Pod is required.' unless @name
help! 'The Pod name cannot contain spaces.' if @name =~ /\s/
help! "The Pod name cannot begin with a '.'" if @name[0, 1] == '.'
end
def run
clone_template
configure_template
print_info
end
private
#----------------------------------------#
# !@group Private helpers
extend Executable
executable :git
TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'
TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'
CREATE_NEW_POD_INFO_URL = 'http://guides.cocoapods.org/making/making-a-cocoapod'
# Clones the template from the remote in the working directory using
# the name of the Pod.
#
# @return [void]
#
def clone_template
UI.section("Cloning `#{template_repo_url}` into `#{@name}`.") do
git! ['clone', template_repo_url, @name]
end
end
# Runs the template configuration utilities.
#
# @return [void]
#
def configure_template
UI.section("Configuring #{@name} template.") do
Dir.chdir(@name) do
if File.exist?('configure')
system('./configure', @name, *@additional_args)
else
UI.warn 'Template does not have a configure file.'
end
end
end
end
# Runs the template configuration utilities.
#
# @return [void]
#
def print_info
UI.puts "\nTo learn more about the template see `#{template_repo_url}`."
UI.puts "To learn more about creating a new pod, see `#{CREATE_NEW_POD_INFO_URL}`."
end
# Checks if a template URL is given else returns the TEMPLATE_REPO URL
#
# @return String
#
def template_repo_url
@template_url || TEMPLATE_REPO
end
end
#-----------------------------------------------------------------------#
class Lint < Lib
self.summary = 'Validates a Pod'
self.description = <<-DESC
Validates the Pod using the files in the working directory.
DESC
def self.options
[
['--quick', 'Lint skips checks that would require to download and build the spec'],
['--allow-warnings', 'Lint validates even if warnings are present'],
['--subspec=NAME', 'Lint validates only the given subspec'],
['--no-subspecs', 'Lint skips validation of subspecs'],
['--no-clean', 'Lint leaves the build directory intact for inspection'],
['--fail-fast', 'Lint stops on the first failing platform or subspec'],
['--use-libraries', 'Lint uses static libraries to install the spec'],
['--sources=https://github.com/artsy/Specs,master', 'The sources from which to pull dependent pods ' \
'(defaults to https://github.com/CocoaPods/Specs.git). ' \
'Multiple sources must be comma-delimited.'],
['--private', 'Lint skips checks that apply only to public specs'],
].concat(super)
end
def initialize(argv)
@quick = argv.flag?('quick')
@allow_warnings = argv.flag?('allow-warnings')
@clean = argv.flag?('clean', true)
@fail_fast = argv.flag?('fail-fast', false)
@subspecs = argv.flag?('subspecs', true)
@only_subspec = argv.option('subspec')
@use_frameworks = !argv.flag?('use-libraries')
@source_urls = argv.option('sources', 'https://github.com/CocoaPods/Specs.git').split(',')
@private = argv.flag?('private', false)
@podspecs_paths = argv.arguments!
super
end
def validate!
super
end
def run
UI.puts
podspecs_to_lint.each do |podspec|
validator = Validator.new(podspec, @source_urls)
validator.local = true
validator.quick = @quick
validator.no_clean = !@clean
validator.fail_fast = @fail_fast
validator.allow_warnings = @allow_warnings
validator.no_subspecs = !@subspecs || @only_subspec
validator.only_subspec = @only_subspec
validator.use_frameworks = @use_frameworks
validator.ignore_public_only_results = @private
validator.validate
unless @clean
UI.puts "Pods workspace available at `#{validator.validation_dir}/App.xcworkspace` for inspection."
UI.puts
end
if validator.validated?
UI.puts "#{validator.spec.name} passed validation.".green
else
spec_name = podspec
spec_name = validator.spec.name if validator.spec
message = "#{spec_name} did not pass validation, due to #{validator.failure_reason}."
if @clean
message << "\nYou can use the `--no-clean` option to inspect " \
'any issue.'
end
raise Informative, message
end
end
end
private
#----------------------------------------#
# !@group Private helpers
# @return [Pathname] The path of the podspec found in the current
# working directory.
#
# @raise If no podspec is found.
# @raise If multiple podspecs are found.
#
def podspecs_to_lint
if !@podspecs_paths.empty?
Array(@podspecs_paths)
else
podspecs = Pathname.glob(Pathname.pwd + '*.podspec{.json,}')
if podspecs.count.zero?
raise Informative, 'Unable to find a podspec in the working ' \
'directory'
end
podspecs
end
end
end
#-----------------------------------------------------------------------#
end end
end end
end end
module Pod
class Command
class Lib < Command
class Create < Lib
self.summary = 'Creates a new Pod'
self.description = <<-DESC
Creates a scaffold for the development of a new Pod named `NAME`
according to the CocoaPods best practices.
If a `TEMPLATE_URL`, pointing to a git repo containing a compatible
template, is specified, it will be used in place of the default one.
DESC
self.arguments = [
CLAide::Argument.new('NAME', true),
]
def self.options
[
['--template-url=URL', 'The URL of the git repo containing a ' \
'compatible template'],
].concat(super)
end
def initialize(argv)
@name = argv.shift_argument
@template_url = argv.option('template-url', TEMPLATE_REPO)
super
@additional_args = argv.remainder!
end
def validate!
super
help! 'A name for the Pod is required.' unless @name
help! 'The Pod name cannot contain spaces.' if @name =~ /\s/
help! 'The Pod name cannot contain plusses.' if @name =~ /\+/
help! "The Pod name cannot begin with a '.'" if @name[0, 1] == '.'
end
def run
clone_template
configure_template
print_info
end
private
#----------------------------------------#
# !@group Private helpers
extend Executable
executable :git
TEMPLATE_REPO = 'https://github.com/CocoaPods/pod-template.git'.freeze
TEMPLATE_INFO_URL = 'https://github.com/CocoaPods/pod-template'.freeze
CREATE_NEW_POD_INFO_URL = 'http://guides.cocoapods.org/making/making-a-cocoapod'.freeze
# Clones the template from the remote in the working directory using
# the name of the Pod.
#
# @return [void]
#
def clone_template
UI.section("Cloning `#{template_repo_url}` into `#{@name}`.") do
git! ['clone', template_repo_url, @name]
end
end
# Runs the template configuration utilities.
#
# @return [void]
#
def configure_template
UI.section("Configuring #{@name} template.") do
Dir.chdir(@name) do
if File.exist?('configure')
system('./configure', @name, *@additional_args)
else
UI.warn 'Template does not have a configure file.'
end
end
end
end
# Runs the template configuration utilities.
#
# @return [void]
#
def print_info
UI.puts "\nTo learn more about the template see `#{template_repo_url}`."
UI.puts "To learn more about creating a new pod, see `#{CREATE_NEW_POD_INFO_URL}`."
end
# Checks if a template URL is given else returns the TEMPLATE_REPO URL
#
# @return String
#
def template_repo_url
@template_url || TEMPLATE_REPO
end
end
end
end
end
module Pod
class Command
class Lib < Command
class Lint < Lib
self.summary = 'Validates a Pod'
self.description = <<-DESC
Validates the Pod using the files in the working directory.
DESC
def self.options
[
['--quick', 'Lint skips checks that would require to download and build the spec'],
['--allow-warnings', 'Lint validates even if warnings are present'],
['--subspec=NAME', 'Lint validates only the given subspec'],
['--no-subspecs', 'Lint skips validation of subspecs'],
['--no-clean', 'Lint leaves the build directory intact for inspection'],
['--fail-fast', 'Lint stops on the first failing platform or subspec'],
['--use-libraries', 'Lint uses static libraries to install the spec'],
['--sources=https://github.com/artsy/Specs,master', 'The sources from which to pull dependent pods ' \
'(defaults to https://github.com/CocoaPods/Specs.git). ' \
'Multiple sources must be comma-delimited.'],
['--private', 'Lint skips checks that apply only to public specs'],
].concat(super)
end
def initialize(argv)
@quick = argv.flag?('quick')
@allow_warnings = argv.flag?('allow-warnings')
@clean = argv.flag?('clean', true)
@fail_fast = argv.flag?('fail-fast', false)
@subspecs = argv.flag?('subspecs', true)
@only_subspec = argv.option('subspec')
@use_frameworks = !argv.flag?('use-libraries')
@source_urls = argv.option('sources', 'https://github.com/CocoaPods/Specs.git').split(',')
@private = argv.flag?('private', false)
@podspecs_paths = argv.arguments!
super
end
def validate!
super
end
def run
UI.puts
podspecs_to_lint.each do |podspec|
validator = Validator.new(podspec, @source_urls)
validator.local = true
validator.quick = @quick
validator.no_clean = !@clean
validator.fail_fast = @fail_fast
validator.allow_warnings = @allow_warnings
validator.no_subspecs = !@subspecs || @only_subspec
validator.only_subspec = @only_subspec
validator.use_frameworks = @use_frameworks
validator.ignore_public_only_results = @private
validator.validate
unless @clean
UI.puts "Pods workspace available at `#{validator.validation_dir}/App.xcworkspace` for inspection."
UI.puts
end
if validator.validated?
UI.puts "#{validator.spec.name} passed validation.".green
else
spec_name = podspec
spec_name = validator.spec.name if validator.spec
message = "#{spec_name} did not pass validation, due to #{validator.failure_reason}."
if @clean
message << "\nYou can use the `--no-clean` option to inspect " \
'any issue.'
end
raise Informative, message
end
end
end
private
#----------------------------------------#
# !@group Private helpers
# @return [Pathname] The path of the podspec found in the current
# working directory.
#
# @raise If no podspec is found.
# @raise If multiple podspecs are found.
#
def podspecs_to_lint
if !@podspecs_paths.empty?
Array(@podspecs_paths)
else
podspecs = Pathname.glob(Pathname.pwd + '*.podspec{.json,}')
if podspecs.count.zero?
raise Informative, 'Unable to find a podspec in the working ' \
'directory'
end
podspecs
end
end
end
end
end
end
...@@ -49,14 +49,13 @@ module Pod ...@@ -49,14 +49,13 @@ module Pod
end end
def validate! def validate!
super
help! 'A spec-repo name is required.' unless @repo help! 'A spec-repo name is required.' unless @repo
unless @source.repo.directory? unless @source.repo.directory?
raise Informative, raise Informative,
"Unable to find the `#{@repo}` repo. " \ "Unable to find the `#{@repo}` repo. " \
'If it has not yet been cloned, add it via `pod repo add`.' 'If it has not yet been cloned, add it via `pod repo add`.'
end end
super
end end
def run def run
......
require 'active_support/multibyte/unicode'
module Pod module Pod
# Stores the global configuration of CocoaPods. # Stores the global configuration of CocoaPods.
# #
...@@ -145,7 +147,8 @@ module Pod ...@@ -145,7 +147,8 @@ module Pod
# Podfile is located. # Podfile is located.
# #
def installation_root def installation_root
current_path = Pathname.pwd current_dir = ActiveSupport::Multibyte::Unicode.normalize(Dir.pwd)
current_path = Pathname.new(current_dir)
unless @installation_root unless @installation_root
until current_path.root? until current_path.root?
if podfile_path_in_dir(current_path) if podfile_path_in_dir(current_path)
......
...@@ -108,7 +108,7 @@ module Pod ...@@ -108,7 +108,7 @@ module Pod
# #
def self.which!(program) def self.which!(program)
which(program).tap do |bin| which(program).tap do |bin|
raise Informative, "Unable to locate the executable `#{executable}`" unless bin raise Informative, "Unable to locate the executable `#{program}`" unless bin
end end
end end
......
...@@ -144,8 +144,8 @@ EOM ...@@ -144,8 +144,8 @@ EOM
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
;; ;;
*\.xib) *\.xib)
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT}" echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \\"$RESOURCE_PATH\\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
;; ;;
*.framework) *.framework)
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
......
...@@ -72,7 +72,7 @@ module Pod ...@@ -72,7 +72,7 @@ module Pod
else else
raise Informative, 'Could not automatically select an Xcode project. ' \ raise Informative, 'Could not automatically select an Xcode project. ' \
"Specify one in your Podfile like so:\n\n" \ "Specify one in your Podfile like so:\n\n" \
" xcodeproj 'path/to/Project.xcodeproj'\n" " project 'path/to/Project.xcodeproj'\n"
end end
end end
path path
......
...@@ -32,6 +32,7 @@ module Pod ...@@ -32,6 +32,7 @@ module Pod
target.file_accessors.flat_map(&:public_headers).map(&:basename) target.file_accessors.flat_map(&:public_headers).map(&:basename)
end end
end end
create_build_phase_to_symlink_header_folders
end end
create_prefix_header create_prefix_header
create_dummy_source create_dummy_source
...@@ -216,6 +217,26 @@ module Pod ...@@ -216,6 +217,26 @@ module Pod
end end
end end
# Creates a build phase which links the versioned header folders
# of the OS X into the framework bundle's root root directory.
# This is only necessary because the way how headers are copied
# via custom copy file build phases in combination with
# header_mappings_dir interferes with xcodebuild's expectations
# about the existence of private or public headers.
#
# @return [void]
#
def create_build_phase_to_symlink_header_folders
return unless target.platform.name == :osx && header_mappings_dir
build_phase = native_target.new_shell_script_build_phase('Create Symlinks to Header Folders')
build_phase.shell_script = <<-eos.strip_heredoc
cd "$CONFIGURATION_BUILD_DIR/$WRAPPER_NAME"
ln -fs ${PUBLIC_HEADERS_FOLDER_PATH\#$WRAPPER_NAME/} ${PUBLIC_HEADERS_FOLDER_PATH\#\$CONTENTS_FOLDER_PATH/}
ln -fs ${PRIVATE_HEADERS_FOLDER_PATH\#\$WRAPPER_NAME/} ${PRIVATE_HEADERS_FOLDER_PATH\#\$CONTENTS_FOLDER_PATH/}
eos
end
# Creates a prefix header file which imports `UIKit` or `Cocoa` according # Creates a prefix header file which imports `UIKit` or `Cocoa` according
# to the platform of the target. This file also include any prefix header # to the platform of the target. This file also include any prefix header
# content reported by the specification of the pods. # content reported by the specification of the pods.
......
...@@ -11,7 +11,7 @@ module Pod ...@@ -11,7 +11,7 @@ module Pod
# @return [String] the PACKAGE emoji to use as prefix for every build phase aded to the user project # @return [String] the PACKAGE emoji to use as prefix for every build phase aded to the user project
# #
BUILD_PHASE_PREFIX = "\u{1F4E6} ".freeze BUILD_PHASE_PREFIX = '[CP] '.freeze
# @return [String] the name of the check manifest phase # @return [String] the name of the check manifest phase
# #
...@@ -215,8 +215,7 @@ module Pod ...@@ -215,8 +215,7 @@ module Pod
def create_or_update_build_phase(target, phase_name, phase_class = Xcodeproj::Project::Object::PBXShellScriptBuildPhase) def create_or_update_build_phase(target, phase_name, phase_class = Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
prefixed_phase_name = BUILD_PHASE_PREFIX + phase_name prefixed_phase_name = BUILD_PHASE_PREFIX + phase_name
build_phases = target.build_phases.grep(phase_class) build_phases = target.build_phases.grep(phase_class)
build_phases.find { |phase| phase.name == prefixed_phase_name } || build_phases.find { |phase| phase.name && phase.name.end_with?(phase_name) }.tap { |p| p.name = prefixed_phase_name if p } ||
build_phases.find { |phase| phase.name == phase_name }.tap { |p| p.name = prefixed_phase_name if p } ||
target.project.new(phase_class).tap do |phase| target.project.new(phase_class).tap do |phase|
UI.message("Adding Build Phase '#{prefixed_phase_name}' to project.") do UI.message("Adding Build Phase '#{prefixed_phase_name}' to project.") do
phase.name = prefixed_phase_name phase.name = prefixed_phase_name
......
require 'active_support/multibyte/unicode'
module Pod module Pod
class Sandbox class Sandbox
# The PathList class is designed to perform multiple glob matches against # The PathList class is designed to perform multiple glob matches against
...@@ -20,7 +22,8 @@ module Pod ...@@ -20,7 +22,8 @@ module Pod
# @param [Pathname] root The root of the PathList. # @param [Pathname] root The root of the PathList.
# #
def initialize(root) def initialize(root)
@root = root root_dir = ActiveSupport::Multibyte::Unicode.normalize(root.to_s)
@root = Pathname.new(root_dir)
@glob_cache = {} @glob_cache = {}
end end
...@@ -47,15 +50,12 @@ module Pod ...@@ -47,15 +50,12 @@ module Pod
unless root.exist? unless root.exist?
raise Informative, "Attempt to read non existent folder `#{root}`." raise Informative, "Attempt to read non existent folder `#{root}`."
end end
root_length = root.to_s.length + 1
escaped_root = escape_path_for_glob(root) escaped_root = escape_path_for_glob(root)
paths = Dir.glob(escaped_root + '**/*', File::FNM_DOTMATCH).sort_by(&:upcase) absolute_paths = Pathname.glob(escaped_root + '**/*', File::FNM_DOTMATCH)
absolute_dirs = paths.select { |path| File.directory?(path) } dirs_and_files = absolute_paths.reject { |path| path.basename.to_s =~ /^\.\.?$/ }
relative_dirs = absolute_dirs.map { |p| p[root_length..-1] } relative_paths = dirs_and_files.map { |path| path.relative_path_from(root) }
absolute_paths = paths.reject { |p| p == "#{root}/." || p == "#{root}/.." } sorted_paths = relative_paths.map(&:to_s).sort_by(&:upcase)
relative_paths = absolute_paths.map { |p| p[root_length..-1] } @dirs, @files = sorted_paths.partition { |path| File.directory?(root + path) }
@files = relative_paths - relative_dirs
@dirs = relative_dirs.map { |d| d.gsub(/\/\.\.?$/, '') }.reject { |d| d == '.' || d == '..' } .uniq
@glob_cache = {} @glob_cache = {}
end end
......
require 'cocoapods-core/source' require 'cocoapods-core/source'
require 'set'
module Pod module Pod
class Source class Source
...@@ -141,8 +142,6 @@ module Pod ...@@ -141,8 +142,6 @@ module Pod
"CocoaPods #{latest_cocoapods_version} is available.".green, "CocoaPods #{latest_cocoapods_version} is available.".green,
"To update use: `#{install_message}`".green, "To update use: `#{install_message}`".green,
("[!] This is a test version we'd love you to try.".yellow if rc), ("[!] This is a test version we'd love you to try.".yellow if rc),
("Until we reach version 1.0 the features of CocoaPods can and will change.\n" \
'We strongly recommend that you use the latest version at all times.'.yellow unless rc),
'', '',
'For more information, see https://blog.cocoapods.org ' \ 'For more information, see https://blog.cocoapods.org ' \
'and the CHANGELOG for this version at ' \ 'and the CHANGELOG for this version at ' \
......
...@@ -7,7 +7,7 @@ module Pod ...@@ -7,7 +7,7 @@ module Pod
module UserInterface module UserInterface
require 'colored' require 'colored'
@title_colors = %w( yellow green ) @title_colors = %w( yellow green )
@title_level = 0 @title_level = 0
@indentation_level = 2 @indentation_level = 2
@treat_titles_as_messages = false @treat_titles_as_messages = false
...@@ -117,9 +117,6 @@ module Pod ...@@ -117,9 +117,6 @@ module Pod
self.title_level -= 1 self.title_level -= 1
end end
# def title(title, verbose_prefix = '', relative_indentation = 2)
# end
# Prints a verbose message taking an optional verbose prefix and # Prints a verbose message taking an optional verbose prefix and
# a relative indentation valid for the UI action in the passed # a relative indentation valid for the UI action in the passed
# block. # block.
......
...@@ -575,7 +575,7 @@ module Pod ...@@ -575,7 +575,7 @@ module Pod
end end
non_source_files = header_files - file_accessor.source_files non_source_files = header_files - file_accessor.source_files
unless non_source_files.empty? unless non_source_files.empty?
error(attr_name, 'The pattern includes header files that are not listed' \ error(attr_name, 'The pattern includes header files that are not listed ' \
"in source_files (#{non_source_files.join(', ')}).") "in source_files (#{non_source_files.join(', ')}).")
end end
end end
......
Subproject commit 4560c5c5bbc2fe7d6efe055b41b5fae622640826 Subproject commit 606a243c013474e4fb68f3c7d0b5b978729ea761
Subproject commit 1d4e3f9e138e88d73a0546d64979f70ed52b92e2
Pod::Spec.new do |s|
s.name = 'BananaLib'
s.version = '1.0'
s.authors = 'Banana Corp', { 'Monkey Boy' => 'monkey@banana-corp.local' }
s.homepage = 'http://banana-corp.local/banana-lib.html'
s.summary = 'Chunky bananas!'
s.description = 'Full of chunky bananas.'
s.platform = :ios
s.source = { :git => 'http://banana-corp.local/banana-lib.git', :tag => 'v1.0' }
s.source_files = 'Classes/*.{h,m}', 'Vendor'
s.xcconfig = { 'OTHER_LDFLAGS' => '-framework SystemConfiguration' }
s.prefix_header_file = 'Classes/BananaLib.pch'
s.resources = "Resources/*.png"
s.dependency 'monkey', '~> 1.0.1', '< 1.0.9'
s.license = {
:type => 'MIT',
:file => 'LICENSE',
:text => 'Permission is hereby granted ...'
}
end
Pod::Spec.new do |s|
s.name = 'CrossRepoDependent'
s.version = '1.0'
s.authors = 'Ned Needy', { 'Mr. Needy' => 'needy@example.local' }
s.homepage = 'http://example.local/cross-repo-dependent.html'
s.summary = 'I\'m dependent upon another spec repo to resolve my dependencies.'
s.description = 'I\'m dependent upon another spec repo to resolve my dependencies.'
s.platform = :ios
s.source = { :git => 'http://example.local/cross-repo-dependent.git', :tag => 'v1.0' }
s.source_files = 'Classes/*.{h,m}', 'Vendor'
s.dependency 'AFNetworking', '2.4.0'
s.license = {
:type => 'MIT',
:file => 'LICENSE',
:text => 'Permission is hereby granted ...'
}
end
Pod::Spec.new do |s|
s.name = 'JSONKit'
s.version = '1.4'
s.license = 'BSD / Apache License, Version 2.0'
s.summary = 'A Very High Performance Objective-C JSON Library.'
s.homepage = 'https://github.com/johnezang/JSONKit'
s.author = 'John Engelhart'
s.source = { :git => 'https://github.com/johnezang/JSONKit.git', :tag => 'v1.4' }
s.source_files = 'JSONKit.*'
end
Pod::Spec.new do |s|
s.name = 'JSONKit'
s.version = '999.999.999'
s.license = 'BSD / Apache License, Version 2.0'
s.summary = 'A Very High Performance Objective-C JSON Library.'
s.homepage = 'https://github.com/johnezang/JSONKit'
s.author = 'John Engelhart'
s.source = { :git => 'https://github.com/johnezang/JSONKit.git', :commit => '0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce' }
s.source_files = 'JSONKit.*'
s.compiler_flags = '-Wno-deprecated-objc-isa-usage', '-Wno-format'
end
Pod::Spec.new do |s|
s.name = "OrangeFramework"
s.version = "0.1.0"
s.author = { "Swiftest Orang-Utan" => "swiftest@orang.utan.local" }
s.summary = "Fresh juice!"
s.description = "Blends fresh orange juice."
s.homepage = "http://httpbin.org/html"
s.source = { :git => "http://utan.local/orange-framework.git", :tag => s.version.to_s }
s.license = 'MIT'
s.platform = :ios, '8.0'
s.source_files = 'Source/Juicer.swift'
s.frameworks = 'UIKit'
s.dependency 'matryoshka'
end
Pod::Spec.new do |s|
s.name = 'Pod+With+Plus+Signs'
s.version = '1.0'
s.authors = 'Evil Corp'
s.homepage = 'http://evil-corp.local/pod_with_plus_signs.html'
s.summary = 'Messing with special chars'
s.description = 'I love messing up with special chars in my pod name! Mouahahahahaa (evil laugh)'
s.platform = :ios
s.source = { :git => 'http://evil-corp.local/pod_with_plus_signs.git', :tag => '1.0' }
s.source_files = 'Classes/*.{h,m}'
s.license = {
:type => 'MIT',
:file => 'LICENSE',
:text => 'Permission is hereby granted ...'
}
end
Pod::Spec.new do |s|
s.name = "PrereleaseMonkey"
s.version = "1.0-alpha1"
s.author = { "Funky Monkey" => "funky@monkey.local" }
s.summary = "🙈🙉🙊"
s.description = "See no evil! Hear no evil! Speak no evil!"
s.homepage = "http://httpbin.org/html"
s.source = { :git => "http://monkey.local/monkey.git", :tag => s.version.to_s }
s.license = 'MIT'
s.vendored_library = 'monkey.a'
end
Pod::Spec.new do |s|
s.name = "PrereleaseMonkey"
s.version = "1.0-beta1"
s.author = { "Funky Monkey" => "funky@monkey.local" }
s.summary = "🙈🙉🙊"
s.description = "See no evil! Hear no evil! Speak no evil!"
s.homepage = "http://httpbin.org/html"
s.source = { :git => "http://monkey.local/monkey.git", :tag => s.version.to_s }
s.license = 'MIT'
s.vendored_library = 'monkey.a'
end
{
"name": "matryoshka",
"version": "1.0.0",
"authors": {
"Matryona Malyutin": "matryona@malyutin.local"
},
"summary": "👩‍👩‍👧",
"description": "Four levels: outmost (root), outer, inner",
"homepage": "http://httpbin.org/html",
"source": {
"git": "http://malyutin.local/matroyshka.git",
"tag": "1.0.0"
},
"license": "MIT",
"source_files": "Outmost.{h,m}",
"default_subspecs": "Outer",
"platforms": {
"osx": null,
"ios": null,
"tvos": null,
"watchos": null
},
"subspecs": [
{
"name": "Outer",
"source_files": "Outer/Outer.{h,m}",
"subspecs": [
{
"name": "Inner",
"source_files": "Inner/Inner.{h,m}"
}
]
},
{
"name": "Foo",
"source_files": "Foo/Foo.{h,m}"
},
{
"name": "Bar",
"source_files": "Bar/Bar.{h,m}"
}
]
}
Pod::Spec.new do |s|
s.name = "monkey"
s.version = "1.0.2"
s.author = { "Funky Monkey" => "funky@monkey.local" }
s.summary = "🙈🙉🙊"
s.description = "See no evil! Hear no evil! Speak no evil!"
s.homepage = "http://httpbin.org/html"
s.source = { :git => "http://monkey.local/monkey.git", :tag => s.version.to_s }
s.license = 'MIT'
s.vendored_library = 'monkey.a'
end
require File.expand_path('../../../spec_helper', __FILE__)
module Pod
describe Command::IPC do
before do
Command::IPC::Spec.any_instance.stubs(:output_pipe).returns(UI)
Command::IPC::Podfile.any_instance.stubs(:output_pipe).returns(UI)
Command::IPC::List.any_instance.stubs(:output_pipe).returns(UI)
Command::IPC::UpdateSearchIndex.any_instance.stubs(:output_pipe).returns(UI)
Command::IPC::Repl.any_instance.stubs(:output_pipe).returns(UI)
end
describe Command::IPC::Spec do
it 'converts a podspec to JSON and prints it to STDOUT' do
out = run_command('ipc', 'spec', fixture('banana-lib/BananaLib.podspec'))
out.should.match /"name": "BananaLib"/
out.should.match /"version": "1.0"/
out.should.match /"description": "Full of chunky bananas."/
end
end
#-------------------------------------------------------------------------#
describe Command::IPC::Podfile do
it 'converts a Podfile to yaml and prints it to STDOUT' do
out = run_command('ipc', 'podfile', fixture('Podfile'))
out.should.include('---')
out.should.match /target_definitions:/
out.should.match /platform: ios/
out.should.match /- SSZipArchive:/
end
end
#-------------------------------------------------------------------------#
describe Command::IPC::List do
it 'prints a list of podspecs in the yaml format and prints it to STDOUT' do
spec = fixture_spec('banana-lib/BananaLib.podspec')
set = Specification::Set.new('BananaLib', [])
set.stubs(:specification).returns(spec)
Source::Aggregate.any_instance.stubs(:all_sets).returns([set])
out = run_command('ipc', 'list')
out.should.include('---')
out.should.match /BananaLib:/
out.should.match /description: Full of chunky bananas./
end
end
#-------------------------------------------------------------------------#
describe Command::IPC::UpdateSearchIndex do
it 'updates the search index and prints its path to STDOUT' do
config.sources_manager.expects(:updated_search_index)
out = run_command('ipc', 'update-search-index')
out.should.include(config.sources_manager.search_index_path.to_s)
end
end
#-------------------------------------------------------------------------#
describe Command::IPC::Repl do
it 'prints the version of CocoaPods as its first message' do
command = Command::IPC::Repl.new(CLAide::ARGV.new([]))
command.stubs(:listen)
command.run
out = UI.output
out.should.match /version: '#{Pod::VERSION}'/
end
it 'converts forwards the commands to the other ipc subcommands prints the result to STDOUT' do
command = Command::IPC::Repl.new(CLAide::ARGV.new([]))
command.execute_repl_command("podfile #{fixture('Podfile')}")
out = UI.output
out.should.include('---')
out.should.match /target_definitions:/
out.should.match /platform: ios/
out.should.match /- SSZipArchive:/
out.should.end_with?("\n\r\n")
end
end
#-------------------------------------------------------------------------#
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::IPC::List do
before do
Command::IPC::List.any_instance.stubs(:output_pipe).returns(UI)
end
it 'prints a list of podspecs in the yaml format and prints it to STDOUT' do
spec = fixture_spec('banana-lib/BananaLib.podspec')
set = Specification::Set.new('BananaLib', [])
set.stubs(:specification).returns(spec)
Source::Aggregate.any_instance.stubs(:all_sets).returns([set])
out = run_command('ipc', 'list')
out.should.include('---')
out.should.match /BananaLib:/
out.should.match /description: Full of chunky bananas./
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::IPC::Podfile do
before do
Command::IPC::Podfile.any_instance.stubs(:output_pipe).returns(UI)
end
it 'converts a Podfile to yaml and prints it to STDOUT' do
out = run_command('ipc', 'podfile', fixture('Podfile'))
out.should.include('---')
out.should.match /target_definitions:/
out.should.match /platform: ios/
out.should.match /- SSZipArchive:/
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::IPC::Repl do
before do
Command::IPC::Repl.any_instance.stubs(:output_pipe).returns(UI)
Command::IPC::Podfile.any_instance.stubs(:output_pipe).returns(UI)
end
it 'prints the version of CocoaPods as its first message' do
command = Command::IPC::Repl.new(CLAide::ARGV.new([]))
command.stubs(:listen)
command.run
out = UI.output
out.should.match /version: '#{Pod::VERSION}'/
end
it 'forwards the commands to the other ipc subcommands and prints the result to STDOUT' do
command = Command::IPC::Repl.new(CLAide::ARGV.new([]))
command.execute_repl_command("podfile #{fixture('Podfile')}")
out = UI.output
out.should.include('---')
out.should.match /target_definitions:/
out.should.match /platform: ios/
out.should.match /- SSZipArchive:/
out.should.end_with?("\n\r\n")
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::IPC::Spec do
before do
Command::IPC::Spec.any_instance.stubs(:output_pipe).returns(UI)
end
it 'converts a podspec to JSON and prints it to STDOUT' do
out = run_command('ipc', 'spec', fixture('banana-lib/BananaLib.podspec'))
out.should.match /"name": "BananaLib"/
out.should.match /"version": "1.0"/
out.should.match /"description": "Full of chunky bananas."/
end
end
end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::IPC::UpdateSearchIndex do
before do
Command::IPC::UpdateSearchIndex.any_instance.stubs(:output_pipe).returns(UI)
end
it 'updates the search index and prints its path to STDOUT' do
config.sources_manager.expects(:updated_search_index)
out = run_command('ipc', 'update-search-index')
out.should.include(config.sources_manager.search_index_path.to_s)
end
end
end
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../../../../spec_helper', __FILE__)
module Pod module Pod
describe Command::Lib::Create do describe Command::Lib::Create do
...@@ -14,6 +14,10 @@ module Pod ...@@ -14,6 +14,10 @@ module Pod
lambda { run_command('lib', 'create', 'Pod Name With Spaces') }.should.raise CLAide::Help lambda { run_command('lib', 'create', 'Pod Name With Spaces') }.should.raise CLAide::Help
end end
it 'complains if pod name contains plusses' do
lambda { run_command('lib', 'create', 'Pod+Name+With+Plusses') }.should.raise CLAide::Help
end
it 'complains if pod name begins with a period' do it 'complains if pod name begins with a period' do
lambda { run_command('lib', 'create', '.HiddenPod') }.should.raise CLAide::Help lambda { run_command('lib', 'create', '.HiddenPod') }.should.raise CLAide::Help
end end
...@@ -57,64 +61,4 @@ module Pod ...@@ -57,64 +61,4 @@ module Pod
run_command('lib', 'create', 'TestPod') run_command('lib', 'create', 'TestPod')
end end
end end
describe Command::Lib::Lint do
it 'lints the current working directory' do
Dir.chdir(fixture('integration/Reachability')) do
cmd = command('lib', 'lint', '--only-errors', '--quick')
cmd.run
UI.output.should.include 'passed validation'
end
end
it 'lints a single spec in the current working directory' do
Dir.chdir(fixture('integration/Reachability')) do
cmd = command('lib', 'lint', 'Reachability.podspec', '--quick', '--only-errors')
cmd.run
UI.output.should.include 'passed validation'
end
end
it 'fails to lint a broken spec file and cleans up' do
Dir.chdir(temporary_directory) do
open(temporary_directory + 'Broken.podspec', 'w') do |f|
f << 'Pod::Spec.new do |spec|'
f << "spec.name = 'Broken'"
f << 'end'
end
Validator.any_instance.expects(:no_clean=).with(false)
Validator.any_instance.stubs(:perform_extensive_analysis)
should.raise Pod::Informative do
run_command('lib', 'lint', 'Broken.podspec')
end
UI.output.should.include 'Missing required attribute'
end
end
it 'fails to lint a broken spec file and leaves lint directory' do
Dir.chdir(temporary_directory) do
open(temporary_directory + 'Broken.podspec', 'w') do |f|
f << 'Pod::Spec.new do |spec|'
f << "spec.name = 'Broken'"
f << 'end'
end
Validator.any_instance.expects(:no_clean=).with(true)
Validator.any_instance.stubs(:perform_extensive_analysis)
should.raise Pod::Informative do
run_command('lib', 'lint', 'Broken.podspec', '--no-clean')
end
UI.output.should.include 'Missing required attribute'
UI.output.should.include 'Pods workspace available at'
end
end
it 'fails to lint if the spec is not loaded' do
Dir.chdir(temporary_directory) do
should.raise Pod::Informative do
run_command('lib', 'lint', '404.podspec')
end
UI.output.should.include 'could not be loaded'
end
end
end
end end
require File.expand_path('../../../../spec_helper', __FILE__)
module Pod
describe Command::Lib::Lint do
it 'lints the current working directory' do
Dir.chdir(fixture('integration/Reachability')) do
cmd = command('lib', 'lint', '--only-errors', '--quick')
cmd.run
UI.output.should.include 'passed validation'
end
end
it 'lints a single spec in the current working directory' do
Dir.chdir(fixture('integration/Reachability')) do
cmd = command('lib', 'lint', 'Reachability.podspec', '--quick', '--only-errors')
cmd.run
UI.output.should.include 'passed validation'
end
end
it 'fails to lint a broken spec file and cleans up' do
Dir.chdir(temporary_directory) do
open(temporary_directory + 'Broken.podspec', 'w') do |f|
f << 'Pod::Spec.new do |spec|'
f << "spec.name = 'Broken'"
f << 'end'
end
Validator.any_instance.expects(:no_clean=).with(false)
Validator.any_instance.stubs(:perform_extensive_analysis)
should.raise Pod::Informative do
run_command('lib', 'lint', 'Broken.podspec')
end
UI.output.should.include 'Missing required attribute'
end
end
it 'fails to lint a broken spec file and leaves lint directory' do
Dir.chdir(temporary_directory) do
open(temporary_directory + 'Broken.podspec', 'w') do |f|
f << 'Pod::Spec.new do |spec|'
f << "spec.name = 'Broken'"
f << 'end'
end
Validator.any_instance.expects(:no_clean=).with(true)
Validator.any_instance.stubs(:perform_extensive_analysis)
should.raise Pod::Informative do
run_command('lib', 'lint', 'Broken.podspec', '--no-clean')
end
UI.output.should.include 'Missing required attribute'
UI.output.should.include 'Pods workspace available at'
end
end
it 'fails to lint if the spec is not loaded' do
Dir.chdir(temporary_directory) do
should.raise Pod::Informative do
run_command('lib', 'lint', '404.podspec')
end
UI.output.should.include 'could not be loaded'
end
end
end
end
...@@ -138,6 +138,9 @@ describe_cli 'pod' do ...@@ -138,6 +138,9 @@ describe_cli 'pod' do
# This was changed in a very recent git version # This was changed in a very recent git version
s.replace_pattern /git checkout -b <new-branch-name>/, 'git checkout -b new_branch_name' s.replace_pattern /git checkout -b <new-branch-name>/, 'git checkout -b new_branch_name'
# git sometimes prints this, but not always ¯\_(ツ)_/¯
s.replace_pattern /^\s*Checking out files.*done\./, ''
s.replace_path %r{ s.replace_path %r{
`[^`]*? # The opening backtick on a plugin path `[^`]*? # The opening backtick on a plugin path
([[[:alnum:]]_+-]+?) # The plugin name ([[[:alnum:]]_+-]+?) # The plugin name
......
...@@ -54,6 +54,7 @@ module SpecHelper ...@@ -54,6 +54,7 @@ module SpecHelper
origin = ROOT + 'spec/fixtures/spec-repos/test_repo/.' origin = ROOT + 'spec/fixtures/spec-repos/test_repo/.'
destination = tmp_repos_path + 'master' destination = tmp_repos_path + 'master'
FileUtils.cp_r(origin, destination) FileUtils.cp_r(origin, destination)
FileUtils.rm_r(destination + './.git')
repo_make('master') repo_make('master')
end end
...@@ -70,6 +71,7 @@ module SpecHelper ...@@ -70,6 +71,7 @@ module SpecHelper
origin = ROOT + 'spec/fixtures/spec-repos/test_repo/.' origin = ROOT + 'spec/fixtures/spec-repos/test_repo/.'
destination = tmp_repos_path + '../master' destination = tmp_repos_path + '../master'
FileUtils.cp_r(origin, destination) FileUtils.cp_r(origin, destination)
FileUtils.rm_r(destination + './.git')
repo_make('../master') repo_make('../master')
end end
......
...@@ -112,6 +112,15 @@ module Pod ...@@ -112,6 +112,15 @@ module Pod
end end
end end
it 'returns the working directory correctly when it includes unicode characters' do
unicode_directory = temporary_directory + "ü"
FileUtils.mkdir(unicode_directory)
Dir.chdir(unicode_directory) do
File.open('Podfile', 'w') {}
@config.installation_root.to_s.should == unicode_directory.to_s
end
end
before do before do
@config.installation_root = temporary_directory @config.installation_root = temporary_directory
end end
......
...@@ -73,6 +73,13 @@ module Pod ...@@ -73,6 +73,13 @@ module Pod
io.should == " 0\n 1\n 2\n" io.should == " 0\n 1\n 2\n"
end end
it 'shows the name in the error message when the command was not found' do
e = lambda do
Executable.execute_command('___notfound___', [], true)
end.should.raise Informative
e.message.should.match /___notfound___/
end
describe Executable::Indenter do describe Executable::Indenter do
it 'indents any appended strings' do it 'indents any appended strings' do
UI.indentation_level = 4 UI.indentation_level = 4
......
...@@ -300,10 +300,11 @@ module Pod ...@@ -300,10 +300,11 @@ module Pod
@project.add_file_reference(file, group) @project.add_file_reference(file, group)
end end
@installer.stubs(:target).returns(@pod_target) @installer.stubs(:target).returns(@pod_target)
@installer.install!
end end
it 'creates custom copy files phases for framework pods' do it 'creates custom copy files phases for framework pods' do
@installer.install!
target = @project.native_targets.first target = @project.native_targets.first
target.name.should == 'snake' target.name.should == 'snake'
...@@ -340,12 +341,34 @@ module Pod ...@@ -340,12 +341,34 @@ module Pod
end end
it 'uses relative file paths to generate umbrella header' do it 'uses relative file paths to generate umbrella header' do
content = @pod_target.umbrella_header_path.read @installer.install!
content = @pod_target.umbrella_header_path.read
content.should =~ %r{"A/Boa.h"} content.should =~ %r{"A/Boa.h"}
content.should =~ %r{"A/Garden.h"} content.should =~ %r{"A/Garden.h"}
content.should =~ %r{"A/Rattle.h"} content.should =~ %r{"A/Rattle.h"}
end end
it 'creates a build phase to symlink header folders on OS X' do
@pod_target.stubs(:platform).returns(Platform.osx)
@installer.install!
target = @project.native_targets.first
build_phase = target.shell_script_build_phases.find do |bp|
bp.name == 'Create Symlinks to Header Folders'
end
build_phase.should.not.be.nil
end
end
it "doesn't create a build phase to symlink header folders by default on OS X" do
@pod_target.stubs(:platform).returns(Platform.osx)
@installer.install!
target = @project.native_targets.first
target.shell_script_build_phases.should == []
end end
#--------------------------------------------------------------------------------# #--------------------------------------------------------------------------------#
......
...@@ -168,16 +168,23 @@ module Pod ...@@ -168,16 +168,23 @@ module Pod
describe 'Reading file system' do describe 'Reading file system' do
it 'orders paths case insensitively' do it 'orders paths case insensitively' do
root = fixture('banana-lib') root = fixture('banana-unordered')
# Let Dir.glob result be ordered case-sensitively # Let Pathname.glob result be ordered case-sensitively
Dir.stubs(:glob).returns(["#{root}/Classes/NSFetchRequest+Banana.h", Pathname.stubs(:glob).returns([Pathname.new("#{root}/Classes/NSFetchRequest+Banana.h"),
"#{root}/Classes/NSFetchedResultsController+Banana.h"]) Pathname.new("#{root}/Classes/NSFetchedResultsController+Banana.h")])
File.stubs(:directory?).returns(false) File.stubs(:directory?).returns(false)
path_list = Sandbox::PathList.new(fixture('banana-lib')) path_list = Sandbox::PathList.new(root)
path_list.files.should == %w(Classes/NSFetchedResultsController+Banana.h Classes/NSFetchRequest+Banana.h) path_list.files.should == %w(Classes/NSFetchedResultsController+Banana.h Classes/NSFetchRequest+Banana.h)
end end
it 'supports unicode paths' do
# Load fixture("ü") with chars ["u", "̈"] instead of ["ü"]
unicode_name = [117, 776].pack('U*')
path_list = Sandbox::PathList.new(fixture(unicode_name))
path_list.files.should == ['README']
end
end end
#-------------------------------------------------------------------------# #-------------------------------------------------------------------------#
......
...@@ -135,13 +135,6 @@ and the repository exists. ...@@ -135,13 +135,6 @@ and the repository exists.
UI.output.should.match /CocoaPods 999.0 is available/ UI.output.should.match /CocoaPods 999.0 is available/
end end
it 'recommends the user to use the latest stable version' do
master = @sources_manager.master.first
master.stubs(:metadata).returns(Source::Metadata.new('last' => '999.0'))
master.verify_compatibility!
UI.output.should.match /We strongly recommend that you use the/
end
it 'skips the update message if the user disabled the notification' do it 'skips the update message if the user disabled the notification' do
config.new_version_message = false config.new_version_message = false
master = @sources_manager.master.first master = @sources_manager.master.first
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment