Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test for SPM in podspec file #344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions install_spm_dependency/after/Podfile.lock
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: 3129292856666993bfab50114a18b42b0cd94991
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "Reachability",
"version": "3.1.0",
"license": "BSD",
"homepage": "https://github.com/tonymillion/Reachability",
"authors": {
"Tony Million": "tonymillion@gmail.com"
},
"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,
"visionos": null,
"watchos": null
}
}
12 changes: 12 additions & 0 deletions install_spm_dependency/after/Pods/Manifest.lock
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: 3129292856666993bfab50114a18b42b0cd94991
251 changes: 251 additions & 0 deletions install_spm_dependency/after/Pods/Pods.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@

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

Package References:
- isa: XCRemoteSwiftPackageReference
repositoryURL: https://github.com/apple/example-package-fisheryates.git
requirement:
kind: upToNextMajorVersion
minimumVersion: 1.2.3

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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1500"
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>
Loading