-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration test for SPM in podspec file
- Loading branch information
Showing
27 changed files
with
1,752 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PODS: | ||
- Reachability (3.1.0) | ||
|
||
DEPENDENCIES: | ||
- Reachability (from `Reachability.podspec`) | ||
|
||
EXTERNAL SOURCES: | ||
Reachability: | ||
:podspec: Reachability.podspec | ||
|
||
SPEC CHECKSUMS: | ||
Reachability: ba1322b3898a453576766cc900a36ad9ebf1e8ed |
1 change: 1 addition & 0 deletions
1
install_spm_dependency/after/Pods/Headers/Private/Reachability/Reachability.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../Reachability/Reachability.h |
1 change: 1 addition & 0 deletions
1
install_spm_dependency/after/Pods/Headers/Public/Reachability/Reachability.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../Reachability/Reachability.h |
35 changes: 35 additions & 0 deletions
35
install_spm_dependency/after/Pods/Local Podspecs/Reachability.podspec.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "Reachability", | ||
"version": "3.1.0", | ||
"license": "BSD", | ||
"homepage": "https://github.com/tonymillion/Reachability", | ||
"authors": { | ||
"Tony Million": "[email protected]" | ||
}, | ||
"summary": "ARC and GCD Compatible Reachability Class for iOS. Drop in replacement for Apple Reachability.", | ||
"source": { | ||
"git": "https://github.com/tonymillion/Reachability.git", | ||
"tag": "v3.1.0" | ||
}, | ||
"source_files": "Reachability.{h,m}", | ||
"frameworks": "SystemConfiguration", | ||
"requires_arc": false, | ||
"spm_dependencies": [ | ||
{ | ||
"url": "https://github.com/apple/example-package-fisheryates.git", | ||
"requirement": { | ||
"kind": "upToNextMajorVersion", | ||
"minimumVersion": "1.2.3" | ||
}, | ||
"products": [ | ||
"PlayingCard" | ||
] | ||
} | ||
], | ||
"platforms": { | ||
"osx": null, | ||
"ios": null, | ||
"tvos": null, | ||
"watchos": null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PODS: | ||
- Reachability (3.1.0) | ||
|
||
DEPENDENCIES: | ||
- Reachability (from `Reachability.podspec`) | ||
|
||
EXTERNAL SOURCES: | ||
Reachability: | ||
:podspec: Reachability.podspec | ||
|
||
SPEC CHECKSUMS: | ||
Reachability: ba1322b3898a453576766cc900a36ad9ebf1e8ed |
246 changes: 246 additions & 0 deletions
246
install_spm_dependency/after/Pods/Pods.xcodeproj/project.pbxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,246 @@ | ||
|
||
File References: | ||
- Podfile | ||
- Frameworks: [] | ||
- Pods: | ||
- Reachability: | ||
- Reachability.h | ||
- Reachability.m | ||
- Support Files: | ||
- Reachability-dummy.m | ||
- Reachability-prefix.pch | ||
- Reachability.debug.xcconfig | ||
- Reachability.release.xcconfig | ||
- Products: | ||
- Pods-SampleApp | ||
- Reachability | ||
- Targets Support Files: | ||
- Pods-SampleApp: | ||
- Pods-SampleApp-acknowledgements.markdown | ||
- Pods-SampleApp-acknowledgements.plist | ||
- Pods-SampleApp-dummy.m | ||
- Pods-SampleApp.debug.xcconfig | ||
- Pods-SampleApp.release.xcconfig | ||
|
||
|
||
|
||
Targets: | ||
- Pods-SampleApp: | ||
Build Phases: | ||
- Headers: [] | ||
- Sources: | ||
- Pods-SampleApp-dummy.m | ||
- Frameworks: [] | ||
Build Configurations: | ||
- Debug: | ||
Build Settings: | ||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: 'NO' | ||
ARCHS: "$(ARCHS_STANDARD_64_BIT)" | ||
CODE_SIGN_IDENTITY[sdk=appletvos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=watchos*]: '' | ||
IPHONEOS_DEPLOYMENT_TARGET: '6.0' | ||
MACH_O_TYPE: staticlib | ||
OTHER_LDFLAGS: '' | ||
OTHER_LIBTOOLFLAGS: '' | ||
PODS_ROOT: "$(SRCROOT)" | ||
PRODUCT_BUNDLE_IDENTIFIER: org.cocoapods.${PRODUCT_NAME:rfc1034identifier} | ||
SDKROOT: iphoneos | ||
SKIP_INSTALL: 'YES' | ||
TARGETED_DEVICE_FAMILY: '1,2' | ||
Base Configuration: Pods-SampleApp.debug.xcconfig | ||
- Release: | ||
Build Settings: | ||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: 'NO' | ||
ARCHS: "$(ARCHS_STANDARD_64_BIT)" | ||
CODE_SIGN_IDENTITY[sdk=appletvos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=watchos*]: '' | ||
IPHONEOS_DEPLOYMENT_TARGET: '6.0' | ||
MACH_O_TYPE: staticlib | ||
OTHER_LDFLAGS: '' | ||
OTHER_LIBTOOLFLAGS: '' | ||
PODS_ROOT: "$(SRCROOT)" | ||
PRODUCT_BUNDLE_IDENTIFIER: org.cocoapods.${PRODUCT_NAME:rfc1034identifier} | ||
SDKROOT: iphoneos | ||
SKIP_INSTALL: 'YES' | ||
TARGETED_DEVICE_FAMILY: '1,2' | ||
VALIDATE_PRODUCT: 'YES' | ||
Base Configuration: Pods-SampleApp.release.xcconfig | ||
- Reachability: | ||
Build Phases: | ||
- Headers: | ||
- Reachability.h: | ||
ATTRIBUTES: | ||
- Project | ||
- Sources: | ||
- Reachability.m: | ||
COMPILER_FLAGS: "-fno-objc-arc" | ||
- Reachability-dummy.m | ||
- Frameworks: [] | ||
Build Configurations: | ||
- Debug: | ||
Build Settings: | ||
ARCHS: "$(ARCHS_STANDARD_64_BIT)" | ||
CLANG_ENABLE_OBJC_WEAK: 'NO' | ||
CODE_SIGN_IDENTITY[sdk=appletvos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=watchos*]: '' | ||
GCC_PREFIX_HEADER: Target Support Files/Reachability/Reachability-prefix.pch | ||
IPHONEOS_DEPLOYMENT_TARGET: '4.3' | ||
OTHER_LDFLAGS: '' | ||
OTHER_LIBTOOLFLAGS: '' | ||
PRIVATE_HEADERS_FOLDER_PATH: '' | ||
PRODUCT_MODULE_NAME: Reachability | ||
PRODUCT_NAME: Reachability | ||
PUBLIC_HEADERS_FOLDER_PATH: '' | ||
SDKROOT: iphoneos | ||
SKIP_INSTALL: 'YES' | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) " | ||
SWIFT_INCLUDE_PATHS: "$(inherited) ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/" | ||
TARGETED_DEVICE_FAMILY: '1,2' | ||
Base Configuration: Reachability.debug.xcconfig | ||
- Release: | ||
Build Settings: | ||
ARCHS: "$(ARCHS_STANDARD_64_BIT)" | ||
CLANG_ENABLE_OBJC_WEAK: 'NO' | ||
CODE_SIGN_IDENTITY[sdk=appletvos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' | ||
CODE_SIGN_IDENTITY[sdk=watchos*]: '' | ||
GCC_PREFIX_HEADER: Target Support Files/Reachability/Reachability-prefix.pch | ||
IPHONEOS_DEPLOYMENT_TARGET: '4.3' | ||
OTHER_LDFLAGS: '' | ||
OTHER_LIBTOOLFLAGS: '' | ||
PRIVATE_HEADERS_FOLDER_PATH: '' | ||
PRODUCT_MODULE_NAME: Reachability | ||
PRODUCT_NAME: Reachability | ||
PUBLIC_HEADERS_FOLDER_PATH: '' | ||
SDKROOT: iphoneos | ||
SKIP_INSTALL: 'YES' | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) " | ||
SWIFT_INCLUDE_PATHS: "$(inherited) ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/" | ||
TARGETED_DEVICE_FAMILY: '1,2' | ||
VALIDATE_PRODUCT: 'YES' | ||
Base Configuration: Reachability.release.xcconfig | ||
|
||
|
||
|
||
Build Configurations: | ||
- Debug: | ||
Build Settings: | ||
ALWAYS_SEARCH_USER_PATHS: 'NO' | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: 'YES' | ||
CLANG_ANALYZER_NONNULL: 'YES' | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION: YES_AGGRESSIVE | ||
CLANG_CXX_LANGUAGE_STANDARD: gnu++14 | ||
CLANG_CXX_LIBRARY: libc++ | ||
CLANG_ENABLE_MODULES: 'YES' | ||
CLANG_ENABLE_OBJC_ARC: 'YES' | ||
CLANG_ENABLE_OBJC_WEAK: 'YES' | ||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING: 'YES' | ||
CLANG_WARN_BOOL_CONVERSION: 'YES' | ||
CLANG_WARN_COMMA: 'YES' | ||
CLANG_WARN_CONSTANT_CONVERSION: 'YES' | ||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS: 'YES' | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE: YES_ERROR | ||
CLANG_WARN_DOCUMENTATION_COMMENTS: 'YES' | ||
CLANG_WARN_EMPTY_BODY: 'YES' | ||
CLANG_WARN_ENUM_CONVERSION: 'YES' | ||
CLANG_WARN_INFINITE_RECURSION: 'YES' | ||
CLANG_WARN_INT_CONVERSION: 'YES' | ||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION: 'YES' | ||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF: 'YES' | ||
CLANG_WARN_OBJC_LITERAL_CONVERSION: 'YES' | ||
CLANG_WARN_OBJC_ROOT_CLASS: YES_ERROR | ||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: 'YES' | ||
CLANG_WARN_RANGE_LOOP_ANALYSIS: 'YES' | ||
CLANG_WARN_STRICT_PROTOTYPES: 'YES' | ||
CLANG_WARN_SUSPICIOUS_MOVE: 'YES' | ||
CLANG_WARN_UNGUARDED_AVAILABILITY: YES_AGGRESSIVE | ||
CLANG_WARN_UNREACHABLE_CODE: 'YES' | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' | ||
COPY_PHASE_STRIP: 'NO' | ||
DEBUG_INFORMATION_FORMAT: dwarf | ||
ENABLE_STRICT_OBJC_MSGSEND: 'YES' | ||
ENABLE_TESTABILITY: 'YES' | ||
GCC_C_LANGUAGE_STANDARD: gnu11 | ||
GCC_DYNAMIC_NO_PIC: 'NO' | ||
GCC_NO_COMMON_BLOCKS: 'YES' | ||
GCC_OPTIMIZATION_LEVEL: '0' | ||
GCC_PREPROCESSOR_DEFINITIONS: | ||
- POD_CONFIGURATION_DEBUG=1 | ||
- 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' | ||
IPHONEOS_DEPLOYMENT_TARGET: '6.0' | ||
MTL_ENABLE_DEBUG_INFO: INCLUDE_SOURCE | ||
MTL_FAST_MATH: 'YES' | ||
ONLY_ACTIVE_ARCH: 'YES' | ||
PRODUCT_NAME: "$(TARGET_NAME)" | ||
STRIP_INSTALLED_PRODUCT: 'NO' | ||
SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG | ||
SWIFT_OPTIMIZATION_LEVEL: "-Onone" | ||
SWIFT_VERSION: '5.0' | ||
SYMROOT: "${SRCROOT}/../build" | ||
- Release: | ||
Build Settings: | ||
ALWAYS_SEARCH_USER_PATHS: 'NO' | ||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: 'YES' | ||
CLANG_ANALYZER_NONNULL: 'YES' | ||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION: YES_AGGRESSIVE | ||
CLANG_CXX_LANGUAGE_STANDARD: gnu++14 | ||
CLANG_CXX_LIBRARY: libc++ | ||
CLANG_ENABLE_MODULES: 'YES' | ||
CLANG_ENABLE_OBJC_ARC: 'YES' | ||
CLANG_ENABLE_OBJC_WEAK: 'YES' | ||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING: 'YES' | ||
CLANG_WARN_BOOL_CONVERSION: 'YES' | ||
CLANG_WARN_COMMA: 'YES' | ||
CLANG_WARN_CONSTANT_CONVERSION: 'YES' | ||
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS: 'YES' | ||
CLANG_WARN_DIRECT_OBJC_ISA_USAGE: YES_ERROR | ||
CLANG_WARN_DOCUMENTATION_COMMENTS: 'YES' | ||
CLANG_WARN_EMPTY_BODY: 'YES' | ||
CLANG_WARN_ENUM_CONVERSION: 'YES' | ||
CLANG_WARN_INFINITE_RECURSION: 'YES' | ||
CLANG_WARN_INT_CONVERSION: 'YES' | ||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION: 'YES' | ||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF: 'YES' | ||
CLANG_WARN_OBJC_LITERAL_CONVERSION: 'YES' | ||
CLANG_WARN_OBJC_ROOT_CLASS: YES_ERROR | ||
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: 'YES' | ||
CLANG_WARN_RANGE_LOOP_ANALYSIS: 'YES' | ||
CLANG_WARN_STRICT_PROTOTYPES: 'YES' | ||
CLANG_WARN_SUSPICIOUS_MOVE: 'YES' | ||
CLANG_WARN_UNGUARDED_AVAILABILITY: YES_AGGRESSIVE | ||
CLANG_WARN_UNREACHABLE_CODE: 'YES' | ||
CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' | ||
COPY_PHASE_STRIP: 'NO' | ||
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym | ||
ENABLE_NS_ASSERTIONS: 'NO' | ||
ENABLE_STRICT_OBJC_MSGSEND: 'YES' | ||
GCC_C_LANGUAGE_STANDARD: gnu11 | ||
GCC_NO_COMMON_BLOCKS: 'YES' | ||
GCC_PREPROCESSOR_DEFINITIONS: | ||
- POD_CONFIGURATION_RELEASE=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' | ||
IPHONEOS_DEPLOYMENT_TARGET: '6.0' | ||
MTL_ENABLE_DEBUG_INFO: 'NO' | ||
MTL_FAST_MATH: 'YES' | ||
PRODUCT_NAME: "$(TARGET_NAME)" | ||
STRIP_INSTALLED_PRODUCT: 'NO' | ||
SWIFT_COMPILATION_MODE: wholemodule | ||
SWIFT_OPTIMIZATION_LEVEL: "-O" | ||
SWIFT_VERSION: '5.0' | ||
SYMROOT: "${SRCROOT}/../build" |
58 changes: 58 additions & 0 deletions
58
.../Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Pods-SampleApp.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1300" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "7EFCCFB3480AA7EDB90F9DDD3E9E1D93" | ||
BuildableName = "libPods-SampleApp.a" | ||
BlueprintName = "Pods-SampleApp" | ||
ReferencedContainer = "container:Pods.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
Oops, something went wrong.