Skip to content

Commit aceeca1

Browse files
authored
chore: remove AmplifyTools podspec
1 parent 3e9b709 commit aceeca1

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

Amplify.podspec

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,11 @@ Pod::Spec.new do |s|
2626
s.swift_version = '5.0'
2727

2828
s.source_files = 'Amplify/**/*.swift'
29-
s.default_subspec = 'Default'
3029

3130
# There appears to be a bug in Xcode < 12 where SwiftUI isn't properly
3231
# weak-linked even though system frameworks should be weak-linked by default.
3332
# Explicitly weak link it here until we upgrade Amplify's platform support
3433
# version to >= 13.0. https://github.com/aws-amplify/amplify-ios/issues/878
3534
s.weak_frameworks = 'SwiftUI'
3635

37-
s.subspec 'Default' do |default|
38-
default.preserve_path = 'AmplifyTools'
39-
default.script_phase = {
40-
:name => 'Default',
41-
:script => 'echo "no-op"',
42-
:execution_position => :before_compile
43-
}
44-
end
45-
46-
s.subspec 'Tools' do |ss|
47-
ss.preserve_path = 'AmplifyTools'
48-
ss.script_phase = {
49-
:name => 'AmplifyTools',
50-
:script => 'mkdir -p "${PODS_ROOT}/AmplifyTools"; cp -vf "${PODS_TARGET_SRCROOT}/AmplifyTools/amplify-tools.sh" "${PODS_ROOT}/AmplifyTools/."',
51-
:execution_position => :before_compile
52-
}
53-
end
54-
5536
end

0 commit comments

Comments
 (0)