Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
960b653d
Commit
960b653d
authored
Apr 09, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for compile time introspection
parent
61ddc073
Hide whitespace changes
Inline
Side-by-side
Showing
79 changed files
with
367 additions
and
149 deletions
+367
-149
CHANGELOG.md
CHANGELOG.md
+6
-1
target_header.rb
lib/cocoapods/generator/target_header.rb
+32
-14
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+5
-5
library.rb
lib/cocoapods/library.rb
+2
-2
Pods-environment.h
...integration/install_add_pod/after/Pods/Pods-environment.h
+21
-0
Pods-header.h
spec/integration/install_add_pod/after/Pods/Pods-header.h
+0
-5
Pods-prefix.pch
spec/integration/install_add_pod/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...ntegration/install_add_pod/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
spec/integration/install_add_pod/after/execution_output.txt
+1
-1
Pods-SampleApp_1-environment.h
...ustom_workspace/after/Pods/Pods-SampleApp_1-environment.h
+14
-0
Pods-SampleApp_1-header.h
...all_custom_workspace/after/Pods/Pods-SampleApp_1-header.h
+0
-4
Pods-SampleApp_1-prefix.pch
...l_custom_workspace/after/Pods/Pods-SampleApp_1-prefix.pch
+1
-1
Pods-SampleApp_2-environment.h
...ustom_workspace/after/Pods/Pods-SampleApp_2-environment.h
+14
-0
Pods-SampleApp_2-header.h
...all_custom_workspace/after/Pods/Pods-SampleApp_2-header.h
+0
-4
Pods-SampleApp_2-prefix.pch
...l_custom_workspace/after/Pods/Pods-SampleApp_2-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...n/install_custom_workspace/after/Pods/Pods.xcodeproj.yaml
+2
-2
execution_output.txt
...ation/install_custom_workspace/after/execution_output.txt
+2
-2
Pods-environment.h
...ion/install_external_source/after/Pods/Pods-environment.h
+26
-0
Pods-header.h
...egration/install_external_source/after/Pods/Pods-header.h
+0
-6
Pods-prefix.pch
...ration/install_external_source/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...on/install_external_source/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
...ration/install_external_source/after/execution_output.txt
+1
-1
Pods-environment.h
...ration/install_local_source/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
...integration/install_local_source/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
...tegration/install_local_source/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...ation/install_local_source/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
...tegration/install_local_source/after/execution_output.txt
+1
-1
Pods-SampleApp_2-environment.h
...ultiple_targets/after/Pods/Pods-SampleApp_2-environment.h
+21
-0
Pods-SampleApp_2-header.h
...all_multiple_targets/after/Pods/Pods-SampleApp_2-header.h
+0
-5
Pods-SampleApp_2-prefix.pch
...l_multiple_targets/after/Pods/Pods-SampleApp_2-prefix.pch
+1
-1
Pods-environment.h
...on/install_multiple_targets/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
...gration/install_multiple_targets/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
...ation/install_multiple_targets/after/Pods/Pods-prefix.pch
+1
-1
Pods-test-environment.h
...stall_multiple_targets/after/Pods/Pods-test-environment.h
+15
-0
Pods-test-header.h
...on/install_multiple_targets/after/Pods/Pods-test-header.h
+0
-4
Pods-test-prefix.pch
.../install_multiple_targets/after/Pods/Pods-test-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...n/install_multiple_targets/after/Pods/Pods.xcodeproj.yaml
+3
-3
execution_output.txt
...ation/install_multiple_targets/after/execution_output.txt
+3
-3
Pods-environment.h
spec/integration/install_new/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
spec/integration/install_new/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
spec/integration/install_new/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
spec/integration/install_new/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
spec/integration/install_new/after/execution_output.txt
+1
-1
Pods-environment.h
...n/install_podfile_callbacks/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
...ration/install_podfile_callbacks/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
...tion/install_podfile_callbacks/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
.../install_podfile_callbacks/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
...tion/install_podfile_callbacks/after/execution_output.txt
+1
-1
Pods-environment.h
...integration/install_podspec/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
spec/integration/install_podspec/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
spec/integration/install_podspec/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...ntegration/install_podspec/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
spec/integration/install_podspec/after/execution_output.txt
+1
-1
Pods-environment.h
...egration/install_remove_pod/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
spec/integration/install_remove_pod/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
...integration/install_remove_pod/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...gration/install_remove_pod/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
...integration/install_remove_pod/after/execution_output.txt
+1
-1
Pods-environment.h
...tion/install_spec_callbacks/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
...tegration/install_spec_callbacks/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
...gration/install_spec_callbacks/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...ion/install_spec_callbacks/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
...gration/install_spec_callbacks/after/execution_output.txt
+1
-1
Pods-OS X App-environment.h
...n/install_subspecs/after/Pods/Pods-OS X App-environment.h
+14
-0
Pods-OS X App-header.h
...ration/install_subspecs/after/Pods/Pods-OS X App-header.h
+0
-4
Pods-OS X App-prefix.pch
...tion/install_subspecs/after/Pods/Pods-OS X App-prefix.pch
+1
-1
Pods-iOS App-environment.h
...on/install_subspecs/after/Pods/Pods-iOS App-environment.h
+14
-0
Pods-iOS App-header.h
...gration/install_subspecs/after/Pods/Pods-iOS App-header.h
+0
-4
Pods-iOS App-prefix.pch
...ation/install_subspecs/after/Pods/Pods-iOS App-prefix.pch
+1
-1
Pods.xcodeproj.yaml
...tegration/install_subspecs/after/Pods/Pods.xcodeproj.yaml
+2
-2
execution_output.txt
spec/integration/install_subspecs/after/execution_output.txt
+2
-2
Pods-environment.h
spec/integration/update/after/Pods/Pods-environment.h
+14
-0
Pods-header.h
spec/integration/update/after/Pods/Pods-header.h
+0
-4
Pods-prefix.pch
spec/integration/update/after/Pods/Pods-prefix.pch
+1
-1
Pods.xcodeproj.yaml
spec/integration/update/after/Pods/Pods.xcodeproj.yaml
+1
-1
execution_output.txt
spec/integration/update/after/execution_output.txt
+1
-1
target_header_spec.rb
spec/unit/generator/target_header_spec.rb
+15
-5
target_installer_spec.rb
spec/unit/installer/target_installer_spec.rb
+7
-5
library_spec.rb
spec/unit/library_spec.rb
+1
-1
No files found.
CHANGELOG.md
View file @
960b653d
...
@@ -5,7 +5,12 @@
...
@@ -5,7 +5,12 @@
*
CocoaPods now defines the
`COCOAPODS=1`
macro in the Pod and the Client
*
CocoaPods now defines the
`COCOAPODS=1`
macro in the Pod and the Client
targets. This is useful for libraries which conditionally expose interfaces.
targets. This is useful for libraries which conditionally expose interfaces.
[
#903
](
https://github.com/CocoaPods/CocoaPods/issues/903
)
[
#903
](
https://github.com/CocoaPods/CocoaPods/issues/903
)
*
CocoaPods now defines the deployment target of the project.
*
Compile time introspection. Macro definitions which allow to inspect the
installed Pods and their version have been introduced in the build
environment of the Pod libraries
(
[
example
](
https://gist.github.com/irrationalfab/5348551
)
).
*
CocoaPods now defines the deployment target of the Pods project computed as
the minimum deployment target of the Pods libraries.
[
#556
](
https://github.com/CocoaPods/CocoaPods/issues/556
)
[
#556
](
https://github.com/CocoaPods/CocoaPods/issues/556
)
###### Bug fixes
###### Bug fixes
...
...
lib/cocoapods/generator/target_header.rb
View file @
960b653d
...
@@ -6,19 +6,16 @@ module Pod
...
@@ -6,19 +6,16 @@ module Pod
#
#
# Example output:
# Example output:
#
#
# #define __COCOA_PODS
# #define COCOAPODS_POD_AVAILABLE_ObjectiveSugar 1
#
# #define COCOAPODS_VERSION_MAJOR_ObjectiveSugar 0
# #define __POD_AFIncrementaStore
# #define COCOAPODS_VERSION_MINOR_ObjectiveSugar 6
# #define __POD_AFNetworking
# #define COCOAPODS_VERSION_PATCH_ObjectiveSugar 2
# #define __POD_libextobjc_EXTConcreteProtocol
# #define __POD_libextobjc_EXTKeyPathCoding
# #define __POD_libextobjc_EXTScope
#
#
# Example usage:
# Example usage:
#
#
# #ifdef
__COCOA_
PODS
# #ifdef
COCOA
PODS
# #ifdef
__POD__AFNetworking
# #ifdef
COCOAPODS_POD_AVAILABLE_ObjectiveSugar
# #import "
MYLib+AFNetworking
.h"
# #import "
ObjectiveSugar
.h"
# #endif
# #endif
# #else
# #else
# // Non CocoaPods code
# // Non CocoaPods code
...
@@ -45,14 +42,35 @@ module Pod
...
@@ -45,14 +42,35 @@ module Pod
#
#
def
save_as
(
pathname
)
def
save_as
(
pathname
)
pathname
.
open
(
'w'
)
do
|
source
|
pathname
.
open
(
'w'
)
do
|
source
|
source
.
puts
"// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future"
source
.
puts
"#define __COCOA_PODS"
source
.
puts
source
.
puts
specs
.
each
do
|
specs
|
source
.
puts
"// To check if a library is compiled with CocoaPods you"
source
.
puts
"#define __POD_
#{
specs
.
name
.
gsub
(
/[^\w]/
,
'_'
)
}
"
source
.
puts
"// can use the `COCOAPODS` macro definition which is"
source
.
puts
"// defined in the xcconfigs so it is available in"
source
.
puts
"// headers also when they are imported in the client"
source
.
puts
"// project."
source
.
puts
source
.
puts
specs
.
each
do
|
spec
|
spec_name
=
spec
.
name
.
gsub
(
/[^\w]/
,
'_'
)
source
.
puts
"//
#{
spec
.
name
}
"
source
.
puts
"#define COCOAPODS_POD_AVAILABLE_
#{
spec_name
}
TRUE"
if
spec
.
version
.
semantic?
source
.
puts
"#define COCOAPODS_VERSION_MAJOR_
#{
spec_name
}
#{
spec
.
version
.
major
}
"
source
.
puts
"#define COCOAPODS_VERSION_MINOR_
#{
spec_name
}
#{
spec
.
version
.
minor
}
"
source
.
puts
"#define COCOAPODS_VERSION_PATCH_
#{
spec_name
}
#{
spec
.
version
.
patch
}
"
else
source
.
puts
"// This library does not follow semantic-versioning,"
source
.
puts
"// so we were not able to define version macros."
source
.
puts
"// Please contact the author."
source
.
puts
"// Version:
#{
spec
.
version
}
."
end
source
.
puts
end
end
end
end
end
end
#-----------------------------------------------------------------------#
end
end
end
end
end
end
lib/cocoapods/installer/target_installer.rb
View file @
960b653d
...
@@ -35,7 +35,7 @@ module Pod
...
@@ -35,7 +35,7 @@ module Pod
create_suport_files_group
create_suport_files_group
create_xcconfig_file
create_xcconfig_file
create_target_header
create_target_
environement_
header
create_prefix_header
create_prefix_header
create_bridge_support_file
create_bridge_support_file
create_copy_resources_script
create_copy_resources_script
...
@@ -158,9 +158,9 @@ module Pod
...
@@ -158,9 +158,9 @@ module Pod
# Generates a header which allows to inspect at compile time the installed
# Generates a header which allows to inspect at compile time the installed
# pods and the installed specifications of a pod.
# pods and the installed specifications of a pod.
#
#
def
create_target_header
def
create_target_
environement_
header
path
=
library
.
target_header_path
path
=
library
.
target_
environment_
header_path
UI
.
message
"- Generating target header at
#{
UI
.
path
(
path
)
}
"
do
UI
.
message
"- Generating target
environment
header at
#{
UI
.
path
(
path
)
}
"
do
generator
=
Generator
::
TargetHeader
.
new
(
library
.
specs
)
generator
=
Generator
::
TargetHeader
.
new
(
library
.
specs
)
generator
.
save_as
(
path
)
generator
.
save_as
(
path
)
add_file_to_support_group
(
path
)
add_file_to_support_group
(
path
)
...
@@ -177,7 +177,7 @@ module Pod
...
@@ -177,7 +177,7 @@ module Pod
path
=
library
.
prefix_header_path
path
=
library
.
prefix_header_path
UI
.
message
"- Generating prefix header at
#{
UI
.
path
(
path
)
}
"
do
UI
.
message
"- Generating prefix header at
#{
UI
.
path
(
path
)
}
"
do
generator
=
Generator
::
PrefixHeader
.
new
(
library
.
file_accessors
,
library
.
platform
)
generator
=
Generator
::
PrefixHeader
.
new
(
library
.
file_accessors
,
library
.
platform
)
generator
.
imports
<<
library
.
target_header_path
.
basename
generator
.
imports
<<
library
.
target_
environment_
header_path
.
basename
generator
.
save_as
(
path
)
generator
.
save_as
(
path
)
add_file_to_support_group
(
path
)
add_file_to_support_group
(
path
)
...
...
lib/cocoapods/library.rb
View file @
960b653d
...
@@ -127,8 +127,8 @@ module Pod
...
@@ -127,8 +127,8 @@ module Pod
# @return [Pathname] the absolute path of the header file which contains
# @return [Pathname] the absolute path of the header file which contains
# the information about the installed pods.
# the information about the installed pods.
#
#
def
target_header_path
def
target_
environment_
header_path
support_files_root
+
"
#{
label
}
-
header
.h"
support_files_root
+
"
#{
label
}
-
environment
.h"
end
end
# @return [Pathname] the absolute path of the prefix header file.
# @return [Pathname] the absolute path of the prefix header file.
...
...
spec/integration/install_add_pod/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// JSONKit
#define COCOAPODS_POD_AVAILABLE_JSONKit TRUE
// This library does not follow semantic-versioning,
// so we were not able to define version macros.
// Please contact the author.
// Version: 1.5pre.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_add_pod/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_JSONKit
#define __POD_Reachability
spec/integration/install_add_pod/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_add_pod/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -15,7 +15,7 @@ File References:
...
@@ -15,7 +15,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_add_pod/after/execution_output.txt
View file @
960b653d
...
@@ -43,7 +43,7 @@ Generating Pods project
...
@@ -43,7 +43,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_1-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_1-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_1-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-SampleApp_1-
header
.h"
#import "Pods-SampleApp_1-
environment
.h"
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_2-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_2-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_custom_workspace/after/Pods/Pods-SampleApp_2-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-SampleApp_2-
header
.h"
#import "Pods-SampleApp_2-
environment
.h"
spec/integration/install_custom_workspace/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -13,7 +13,7 @@ File References:
...
@@ -13,7 +13,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods-SampleApp_1
:
-
Pods-SampleApp_1
:
-
Pods-SampleApp_1.xcconfig
-
Pods-SampleApp_1.xcconfig
-
Pods-SampleApp_1-
header
.h
-
Pods-SampleApp_1-
environment
.h
-
Pods-SampleApp_1-prefix.pch
-
Pods-SampleApp_1-prefix.pch
-
Pods-SampleApp_1-resources.sh
-
Pods-SampleApp_1-resources.sh
-
Pods-SampleApp_1-acknowledgements.plist
-
Pods-SampleApp_1-acknowledgements.plist
...
@@ -21,7 +21,7 @@ File References:
...
@@ -21,7 +21,7 @@ File References:
-
Pods-SampleApp_1-dummy.m
-
Pods-SampleApp_1-dummy.m
-
Pods-SampleApp_2
:
-
Pods-SampleApp_2
:
-
Pods-SampleApp_2.xcconfig
-
Pods-SampleApp_2.xcconfig
-
Pods-SampleApp_2-
header
.h
-
Pods-SampleApp_2-
environment
.h
-
Pods-SampleApp_2-prefix.pch
-
Pods-SampleApp_2-prefix.pch
-
Pods-SampleApp_2-resources.sh
-
Pods-SampleApp_2-resources.sh
-
Pods-SampleApp_2-acknowledgements.plist
-
Pods-SampleApp_2-acknowledgements.plist
...
...
spec/integration/install_custom_workspace/after/execution_output.txt
View file @
960b653d
...
@@ -43,7 +43,7 @@ Generating Pods project
...
@@ -43,7 +43,7 @@ Generating Pods project
- Installing target `Pods-SampleApp_1` iOS 6.0
- Installing target `Pods-SampleApp_1` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-SampleApp_1.xcconfig`
- Generating xcconfig file at `Pods/Pods-SampleApp_1.xcconfig`
- Generating target
header at `Pods/Pods-SampleApp_1-header
.h`
- Generating target
environment header at `Pods/Pods-SampleApp_1-environment
.h`
- Generating prefix header at `Pods/Pods-SampleApp_1-prefix.pch`
- Generating prefix header at `Pods/Pods-SampleApp_1-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_1-resources.sh`
- Generating copy resources script at `Pods/Pods-SampleApp_1-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_1-acknowledgements.plist`
...
@@ -52,7 +52,7 @@ Generating Pods project
...
@@ -52,7 +52,7 @@ Generating Pods project
- Installing target `Pods-SampleApp_2` iOS 6.0
- Installing target `Pods-SampleApp_2` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
- Generating target
header at `Pods/Pods-SampleApp_2-header
.h`
- Generating target
environment header at `Pods/Pods-SampleApp_2-environment
.h`
- Generating prefix header at `Pods/Pods-SampleApp_2-prefix.pch`
- Generating prefix header at `Pods/Pods-SampleApp_2-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
...
...
spec/integration/install_external_source/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// PodTest
#define COCOAPODS_POD_AVAILABLE_PodTest TRUE
#define COCOAPODS_VERSION_MAJOR_PodTest 1
#define COCOAPODS_VERSION_MINOR_PodTest 0
#define COCOAPODS_VERSION_PATCH_PodTest 0
// PodTest/subspec_1
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_1 TRUE
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_1 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_1 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_1 0
// PodTest/subspec_2
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_2 TRUE
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_2 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_2 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_2 0
spec/integration/install_external_source/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_PodTest
#define __POD_PodTest_subspec_1
#define __POD_PodTest_subspec_2
spec/integration/install_external_source/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_external_source/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -15,7 +15,7 @@ File References:
...
@@ -15,7 +15,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_external_source/after/execution_output.txt
View file @
960b653d
...
@@ -31,7 +31,7 @@ Generating Pods project
...
@@ -31,7 +31,7 @@ Generating Pods project
- Installing target `Pods` iOS 4.3
- Installing target `Pods` iOS 4.3
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_local_source/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_local_source/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_local_source/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_local_source/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_local_source/after/execution_output.txt
View file @
960b653d
...
@@ -25,7 +25,7 @@ Generating Pods project
...
@@ -25,7 +25,7 @@ Generating Pods project
- Installing target `Pods` iOS 4.3
- Installing target `Pods` iOS 4.3
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_multiple_targets/after/Pods/Pods-SampleApp_2-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// JSONKit
#define COCOAPODS_POD_AVAILABLE_JSONKit TRUE
// This library does not follow semantic-versioning,
// so we were not able to define version macros.
// Please contact the author.
// Version: 1.5pre.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_multiple_targets/after/Pods/Pods-SampleApp_2-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_JSONKit
#define __POD_Reachability
spec/integration/install_multiple_targets/after/Pods/Pods-SampleApp_2-prefix.pch
View file @
960b653d
...
@@ -2,5 +2,5 @@
...
@@ -2,5 +2,5 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-SampleApp_2-
header
.h"
#import "Pods-SampleApp_2-
environment
.h"
spec/integration/install_multiple_targets/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_multiple_targets/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_multiple_targets/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_multiple_targets/after/Pods/Pods-test-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// JSONKit
#define COCOAPODS_POD_AVAILABLE_JSONKit TRUE
// This library does not follow semantic-versioning,
// so we were not able to define version macros.
// Please contact the author.
// Version: 1.5pre.
spec/integration/install_multiple_targets/after/Pods/Pods-test-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_JSONKit
spec/integration/install_multiple_targets/after/Pods/Pods-test-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-test-
header
.h"
#import "Pods-test-
environment
.h"
spec/integration/install_multiple_targets/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -17,7 +17,7 @@ File References:
...
@@ -17,7 +17,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
@@ -25,7 +25,7 @@ File References:
...
@@ -25,7 +25,7 @@ File References:
-
Pods-dummy.m
-
Pods-dummy.m
-
Pods-SampleApp_2
:
-
Pods-SampleApp_2
:
-
Pods-SampleApp_2.xcconfig
-
Pods-SampleApp_2.xcconfig
-
Pods-SampleApp_2-
header
.h
-
Pods-SampleApp_2-
environment
.h
-
Pods-SampleApp_2-prefix.pch
-
Pods-SampleApp_2-prefix.pch
-
Pods-SampleApp_2-resources.sh
-
Pods-SampleApp_2-resources.sh
-
Pods-SampleApp_2-acknowledgements.plist
-
Pods-SampleApp_2-acknowledgements.plist
...
@@ -33,7 +33,7 @@ File References:
...
@@ -33,7 +33,7 @@ File References:
-
Pods-SampleApp_2-dummy.m
-
Pods-SampleApp_2-dummy.m
-
Pods-test
:
-
Pods-test
:
-
Pods-test.xcconfig
-
Pods-test.xcconfig
-
Pods-test-
header
.h
-
Pods-test-
environment
.h
-
Pods-test-prefix.pch
-
Pods-test-prefix.pch
-
Pods-test-resources.sh
-
Pods-test-resources.sh
-
Pods-test-acknowledgements.plist
-
Pods-test-acknowledgements.plist
...
...
spec/integration/install_multiple_targets/after/execution_output.txt
View file @
960b653d
...
@@ -61,7 +61,7 @@ Generating Pods project
...
@@ -61,7 +61,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
@@ -70,7 +70,7 @@ Generating Pods project
...
@@ -70,7 +70,7 @@ Generating Pods project
- Installing target `Pods-SampleApp_2` iOS 6.0
- Installing target `Pods-SampleApp_2` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
- Generating xcconfig file at `Pods/Pods-SampleApp_2.xcconfig`
- Generating target
header at `Pods/Pods-SampleApp_2-header
.h`
- Generating target
environment header at `Pods/Pods-SampleApp_2-environment
.h`
- Generating prefix header at `Pods/Pods-SampleApp_2-prefix.pch`
- Generating prefix header at `Pods/Pods-SampleApp_2-prefix.pch`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
- Generating copy resources script at `Pods/Pods-SampleApp_2-resources.sh`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-SampleApp_2-acknowledgements.plist`
...
@@ -79,7 +79,7 @@ Generating Pods project
...
@@ -79,7 +79,7 @@ Generating Pods project
- Installing target `Pods-test` iOS 6.0
- Installing target `Pods-test` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-test.xcconfig`
- Generating xcconfig file at `Pods/Pods-test.xcconfig`
- Generating target
header at `Pods/Pods-test-header
.h`
- Generating target
environment header at `Pods/Pods-test-environment
.h`
- Generating prefix header at `Pods/Pods-test-prefix.pch`
- Generating prefix header at `Pods/Pods-test-prefix.pch`
- Generating copy resources script at `Pods/Pods-test-resources.sh`
- Generating copy resources script at `Pods/Pods-test-resources.sh`
- Generating acknowledgements at `Pods/Pods-test-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-test-acknowledgements.plist`
...
...
spec/integration/install_new/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_new/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_new/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_new/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_new/after/execution_output.txt
View file @
960b653d
...
@@ -40,7 +40,7 @@ Generating Pods project
...
@@ -40,7 +40,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_podfile_callbacks/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_podfile_callbacks/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_podfile_callbacks/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_podfile_callbacks/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_podfile_callbacks/after/execution_output.txt
View file @
960b653d
...
@@ -41,7 +41,7 @@ Generating Pods project
...
@@ -41,7 +41,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_podspec/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_podspec/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_podspec/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_podspec/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_podspec/after/execution_output.txt
View file @
960b653d
...
@@ -43,7 +43,7 @@ Generating Pods project
...
@@ -43,7 +43,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_remove_pod/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_remove_pod/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_remove_pod/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_remove_pod/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_remove_pod/after/execution_output.txt
View file @
960b653d
...
@@ -29,7 +29,7 @@ Generating Pods project
...
@@ -29,7 +29,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_spec_callbacks/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/install_spec_callbacks/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/install_spec_callbacks/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/install_spec_callbacks/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -14,7 +14,7 @@ File References:
...
@@ -14,7 +14,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/install_spec_callbacks/after/execution_output.txt
View file @
960b653d
...
@@ -44,7 +44,7 @@ Generating Pods project
...
@@ -44,7 +44,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/integration/install_subspecs/after/Pods/Pods-OS X App-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// PodTest/subspec_2
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_2 TRUE
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_2 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_2 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_2 0
spec/integration/install_subspecs/after/Pods/Pods-OS X App-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_PodTest_subspec_2
spec/integration/install_subspecs/after/Pods/Pods-OS X App-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <Cocoa/Cocoa.h>
#import <Cocoa/Cocoa.h>
#endif
#endif
#import "Pods-OS X App-
header
.h"
#import "Pods-OS X App-
environment
.h"
spec/integration/install_subspecs/after/Pods/Pods-iOS App-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// PodTest/subspec_1
#define COCOAPODS_POD_AVAILABLE_PodTest_subspec_1 TRUE
#define COCOAPODS_VERSION_MAJOR_PodTest_subspec_1 1
#define COCOAPODS_VERSION_MINOR_PodTest_subspec_1 0
#define COCOAPODS_VERSION_PATCH_PodTest_subspec_1 0
spec/integration/install_subspecs/after/Pods/Pods-iOS App-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_PodTest_subspec_1
spec/integration/install_subspecs/after/Pods/Pods-iOS App-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-iOS App-
header
.h"
#import "Pods-iOS App-
environment
.h"
spec/integration/install_subspecs/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -17,7 +17,7 @@ File References:
...
@@ -17,7 +17,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods-OS X App
:
-
Pods-OS X App
:
-
Pods-OS X App.xcconfig
-
Pods-OS X App.xcconfig
-
Pods-OS X App-
header
.h
-
Pods-OS X App-
environment
.h
-
Pods-OS X App-prefix.pch
-
Pods-OS X App-prefix.pch
-
Pods-OS X App-resources.sh
-
Pods-OS X App-resources.sh
-
Pods-OS X App-acknowledgements.plist
-
Pods-OS X App-acknowledgements.plist
...
@@ -25,7 +25,7 @@ File References:
...
@@ -25,7 +25,7 @@ File References:
-
Pods-OS X App-dummy.m
-
Pods-OS X App-dummy.m
-
Pods-iOS App
:
-
Pods-iOS App
:
-
Pods-iOS App.xcconfig
-
Pods-iOS App.xcconfig
-
Pods-iOS App-
header
.h
-
Pods-iOS App-
environment
.h
-
Pods-iOS App-prefix.pch
-
Pods-iOS App-prefix.pch
-
Pods-iOS App-resources.sh
-
Pods-iOS App-resources.sh
-
Pods-iOS App-acknowledgements.plist
-
Pods-iOS App-acknowledgements.plist
...
...
spec/integration/install_subspecs/after/execution_output.txt
View file @
960b653d
...
@@ -37,7 +37,7 @@ Generating Pods project
...
@@ -37,7 +37,7 @@ Generating Pods project
- Installing target `Pods-OS X App` OS X 10.6
- Installing target `Pods-OS X App` OS X 10.6
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-OS X App.xcconfig`
- Generating xcconfig file at `Pods/Pods-OS X App.xcconfig`
- Generating target
header at `Pods/Pods-OS X App-header
.h`
- Generating target
environment header at `Pods/Pods-OS X App-environment
.h`
- Generating prefix header at `Pods/Pods-OS X App-prefix.pch`
- Generating prefix header at `Pods/Pods-OS X App-prefix.pch`
- Generating copy resources script at `Pods/Pods-OS X App-resources.sh`
- Generating copy resources script at `Pods/Pods-OS X App-resources.sh`
- Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-OS X App-acknowledgements.plist`
...
@@ -46,7 +46,7 @@ Generating Pods project
...
@@ -46,7 +46,7 @@ Generating Pods project
- Installing target `Pods-iOS App` iOS 4.3
- Installing target `Pods-iOS App` iOS 4.3
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods-iOS App.xcconfig`
- Generating xcconfig file at `Pods/Pods-iOS App.xcconfig`
- Generating target
header at `Pods/Pods-iOS App-header
.h`
- Generating target
environment header at `Pods/Pods-iOS App-environment
.h`
- Generating prefix header at `Pods/Pods-iOS App-prefix.pch`
- Generating prefix header at `Pods/Pods-iOS App-prefix.pch`
- Generating copy resources script at `Pods/Pods-iOS App-resources.sh`
- Generating copy resources script at `Pods/Pods-iOS App-resources.sh`
- Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-iOS App-acknowledgements.plist`
...
...
spec/integration/update/after/Pods/Pods-environment.h
0 → 100644
View file @
960b653d
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Reachability
#define COCOAPODS_POD_AVAILABLE_Reachability TRUE
#define COCOAPODS_VERSION_MAJOR_Reachability 3
#define COCOAPODS_VERSION_MINOR_Reachability 1
#define COCOAPODS_VERSION_PATCH_Reachability 0
spec/integration/update/after/Pods/Pods-header.h
deleted
100644 → 0
View file @
61ddc073
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_Reachability
spec/integration/update/after/Pods/Pods-prefix.pch
View file @
960b653d
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
spec/integration/update/after/Pods/Pods.xcodeproj.yaml
View file @
960b653d
...
@@ -12,7 +12,7 @@ File References:
...
@@ -12,7 +12,7 @@ File References:
-
Targets Support Files
:
-
Targets Support Files
:
-
Pods
:
-
Pods
:
-
Pods.xcconfig
-
Pods.xcconfig
-
Pods-
header
.h
-
Pods-
environment
.h
-
Pods-prefix.pch
-
Pods-prefix.pch
-
Pods-resources.sh
-
Pods-resources.sh
-
Pods-acknowledgements.plist
-
Pods-acknowledgements.plist
...
...
spec/integration/update/after/execution_output.txt
View file @
960b653d
...
@@ -43,7 +43,7 @@ Generating Pods project
...
@@ -43,7 +43,7 @@ Generating Pods project
- Installing target `Pods` iOS 6.0
- Installing target `Pods` iOS 6.0
- Adding Build files
- Adding Build files
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating xcconfig file at `Pods/Pods.xcconfig`
- Generating target
header at `Pods/Pods-header
.h`
- Generating target
environment header at `Pods/Pods-environment
.h`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating prefix header at `Pods/Pods-prefix.pch`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating copy resources script at `Pods/Pods-resources.sh`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
- Generating acknowledgements at `Pods/Pods-acknowledgements.plist`
...
...
spec/unit/generator/target_header_spec.rb
View file @
960b653d
...
@@ -7,14 +7,24 @@ describe Pod::Generator::TargetHeader do
...
@@ -7,14 +7,24 @@ describe Pod::Generator::TargetHeader do
@gen
=
Pod
::
Generator
::
TargetHeader
.
new
([
specification
])
@gen
=
Pod
::
Generator
::
TargetHeader
.
new
([
specification
])
end
end
it
"generates a header files w
ihc include the CocoaPods definition
"
do
it
"generates a header files w
hich include macro definitions for installed Pods
"
do
file
=
temporary_directory
+
'Pods
Dummy.m
'
file
=
temporary_directory
+
'Pods
-environment.h
'
@gen
.
save_as
(
file
)
@gen
.
save_as
(
file
)
file
.
read
.
should
==
<<-
EOS
.
strip_heredoc
file
.
read
.
should
==
<<-
EOS
.
strip_heredoc
// WARNING: This feature of CocoaPods is present for discussion purposes and might be discontinued or changed in future
#define __COCOA_PODS
#define __POD_BananaLib
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// BananaLib
#define COCOAPODS_POD_AVAILABLE_BananaLib TRUE
#define COCOAPODS_VERSION_MAJOR_BananaLib 1
#define COCOAPODS_VERSION_MINOR_BananaLib 0
#define COCOAPODS_VERSION_PATCH_BananaLib 0
EOS
EOS
end
end
end
end
...
...
spec/unit/installer/target_installer_spec.rb
View file @
960b653d
...
@@ -40,7 +40,7 @@ module Pod
...
@@ -40,7 +40,7 @@ module Pod
"Pods-acknowledgements.markdown"
,
"Pods-acknowledgements.markdown"
,
"Pods-acknowledgements.plist"
,
"Pods-acknowledgements.plist"
,
"Pods-dummy.m"
,
"Pods-dummy.m"
,
"Pods-
header
.h"
,
"Pods-
environment
.h"
,
"Pods-prefix.pch"
,
"Pods-prefix.pch"
,
"Pods-resources.sh"
,
"Pods-resources.sh"
,
"Pods.xcconfig"
"Pods.xcconfig"
...
@@ -149,10 +149,12 @@ module Pod
...
@@ -149,10 +149,12 @@ module Pod
it
"creates a header for the target which contains the information about the installed Pods"
do
it
"creates a header for the target which contains the information about the installed Pods"
do
@installer
.
install!
@installer
.
install!
file
=
config
.
sandbox
.
root
+
'Pods-
header
.h'
file
=
config
.
sandbox
.
root
+
'Pods-
environment
.h'
contents
=
file
.
read
contents
=
file
.
read
contents
.
should
.
include?
(
'#define __COCOA_PODS'
)
contents
.
should
.
include?
(
'#define COCOAPODS_POD_AVAILABLE_BananaLib TRUE'
)
contents
.
should
.
include?
(
'#define __POD_BananaLib'
)
contents
.
should
.
include?
(
'#define COCOAPODS_VERSION_MAJOR_BananaLib 1'
)
contents
.
should
.
include?
(
'#define COCOAPODS_VERSION_MINOR_BananaLib 0'
)
contents
.
should
.
include?
(
'#define COCOAPODS_VERSION_PATCH_BananaLib 0'
)
end
end
it
"creates a prefix header, including the contents of the specification's prefix header"
do
it
"creates a prefix header, including the contents of the specification's prefix header"
do
...
@@ -165,7 +167,7 @@ module Pod
...
@@ -165,7 +167,7 @@ module Pod
#import <UIKit/UIKit.h>
#import <UIKit/UIKit.h>
#endif
#endif
#import "Pods-
header
.h"
#import "Pods-
environment
.h"
#import "BlocksKit.h"
#import "BlocksKit.h"
#import <BananaTree/BananaTree.h>
#import <BananaTree/BananaTree.h>
EOS
EOS
...
...
spec/unit/library_spec.rb
View file @
960b653d
...
@@ -45,7 +45,7 @@ module Pod
...
@@ -45,7 +45,7 @@ module Pod
end
end
it
"returns the absolute path of the target header file"
do
it
"returns the absolute path of the target header file"
do
@lib
.
target_
header_path
.
to_s
.
should
.
include?
(
'Pods/Pods-header
.h'
)
@lib
.
target_
environment_header_path
.
to_s
.
should
.
include?
(
'Pods/Pods-environment
.h'
)
end
end
it
"returns the absolute path of the prefix header file"
do
it
"returns the absolute path of the prefix header file"
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment