segue_handler_plugin 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +30 -0
  3. data/Example/.ruby-version +1 -0
  4. data/Example/Gemfile +5 -0
  5. data/Example/Gemfile.lock +71 -0
  6. data/Example/Podfile +6 -0
  7. data/Example/Podfile.lock +14 -0
  8. data/Example/Pods/Headers/Private/WillowTreeSegueHandler/SegueHandler.h +19 -0
  9. data/Example/Pods/Local Podspecs/WillowTreeSegueHandler.podspec.json +25 -0
  10. data/Example/Pods/Manifest.lock +14 -0
  11. data/Example/Pods/Pods.xcodeproj/project.pbxproj +523 -0
  12. data/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/WillowTreeSegueHandler.xcscheme +60 -0
  13. data/Example/Pods/Target Support Files/Pods/Info.plist +26 -0
  14. data/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.markdown +26 -0
  15. data/Example/Pods/Target Support Files/Pods/Pods-acknowledgements.plist +56 -0
  16. data/Example/Pods/Target Support Files/Pods/Pods-dummy.m +5 -0
  17. data/Example/Pods/Target Support Files/Pods/Pods-frameworks.sh +91 -0
  18. data/Example/Pods/Target Support Files/Pods/Pods-resources.sh +95 -0
  19. data/Example/Pods/Target Support Files/Pods/Pods-umbrella.h +6 -0
  20. data/Example/Pods/Target Support Files/Pods/Pods.debug.xcconfig +8 -0
  21. data/Example/Pods/Target Support Files/Pods/Pods.modulemap +6 -0
  22. data/Example/Pods/Target Support Files/Pods/Pods.release.xcconfig +8 -0
  23. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/Info.plist +26 -0
  24. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/WillowTreeSegueHandler-dummy.m +5 -0
  25. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/WillowTreeSegueHandler-prefix.pch +4 -0
  26. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/WillowTreeSegueHandler-umbrella.h +7 -0
  27. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/WillowTreeSegueHandler.modulemap +6 -0
  28. data/Example/Pods/Target Support Files/WillowTreeSegueHandler/WillowTreeSegueHandler.xcconfig +5 -0
  29. data/Example/SegueBuilder.xcodeproj/project.pbxproj +390 -0
  30. data/Example/SegueBuilder.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  31. data/Example/SegueBuilder.xcworkspace/contents.xcworkspacedata +10 -0
  32. data/Example/SegueBuilder/AppDelegate.swift +49 -0
  33. data/Example/SegueBuilder/Assets.xcassets/AppIcon.appiconset/Contents.json +73 -0
  34. data/Example/SegueBuilder/Base.lproj/LaunchScreen.storyboard +27 -0
  35. data/Example/SegueBuilder/Base.lproj/Main.storyboard +151 -0
  36. data/Example/SegueBuilder/Info.plist +45 -0
  37. data/Example/SegueBuilder/SegueExtensions.swift +57 -0
  38. data/Example/SegueBuilder/ViewControllers.swift +77 -0
  39. data/Example/Storyboards.swift +0 -0
  40. data/Example/test.sh +20 -0
  41. data/LICENSE +19 -0
  42. data/README.md +75 -0
  43. data/WillowTreeSegueHandler.podspec +23 -0
  44. data/exe/segue-handler-generator +1107 -0
  45. data/exe/segue-handler-generator-build +30 -0
  46. data/lib/cocoapods_plugin.rb +1 -0
  47. data/lib/pod/command/generate_segue_handlers.rb +31 -0
  48. data/lib/segue_handler_plugin.rb +4 -0
  49. data/lib/segue_handler_plugin/version.rb +3 -0
  50. data/segue_handler_plugin.gemspec +20 -0
  51. metadata +95 -0
@@ -0,0 +1,60 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "0700"
4
+ version = "1.3">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForAnalyzing = "YES"
11
+ buildForTesting = "YES"
12
+ buildForRunning = "YES"
13
+ buildForProfiling = "YES"
14
+ buildForArchiving = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = 'primary'
17
+ BlueprintIdentifier = 'A2AC6425CEFFE7B0FF5C806F'
18
+ BlueprintName = 'WillowTreeSegueHandler'
19
+ ReferencedContainer = 'container:Pods.xcodeproj'
20
+ BuildableName = 'WillowTreeSegueHandler.framework'>
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28
+ shouldUseLaunchSchemeArgsEnv = "YES"
29
+ buildConfiguration = "Debug">
30
+ <AdditionalOptions>
31
+ </AdditionalOptions>
32
+ </TestAction>
33
+ <LaunchAction
34
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
35
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
36
+ launchStyle = "0"
37
+ useCustomWorkingDirectory = "NO"
38
+ ignoresPersistentStateOnLaunch = "NO"
39
+ debugDocumentVersioning = "YES"
40
+ debugServiceExtension = "internal"
41
+ buildConfiguration = "Debug"
42
+ allowLocationSimulation = "YES">
43
+ <AdditionalOptions>
44
+ </AdditionalOptions>
45
+ </LaunchAction>
46
+ <ProfileAction
47
+ savedToolIdentifier = ""
48
+ useCustomWorkingDirectory = "NO"
49
+ debugDocumentVersioning = "YES"
50
+ buildConfiguration = "Release"
51
+ shouldUseLaunchSchemeArgsEnv = "YES">
52
+ </ProfileAction>
53
+ <AnalyzeAction
54
+ buildConfiguration = "Debug">
55
+ </AnalyzeAction>
56
+ <ArchiveAction
57
+ buildConfiguration = "Release"
58
+ revealArchiveInOrganizer = "YES">
59
+ </ArchiveAction>
60
+ </Scheme>
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>${EXECUTABLE_NAME}</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>${PRODUCT_NAME}</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>FMWK</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>1.0.0</string>
19
+ <key>CFBundleSignature</key>
20
+ <string>????</string>
21
+ <key>CFBundleVersion</key>
22
+ <string>${CURRENT_PROJECT_VERSION}</string>
23
+ <key>NSPrincipalClass</key>
24
+ <string></string>
25
+ </dict>
26
+ </plist>
@@ -0,0 +1,26 @@
1
+ # Acknowledgements
2
+ This application makes use of the following third party libraries:
3
+
4
+ ## WillowTreeSegueHandler
5
+
6
+ Copyright (c) 2015 WillowTree, Inc.
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
25
+
26
+ Generated by CocoaPods - http://cocoapods.org
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>PreferenceSpecifiers</key>
6
+ <array>
7
+ <dict>
8
+ <key>FooterText</key>
9
+ <string>This application makes use of the following third party libraries:</string>
10
+ <key>Title</key>
11
+ <string>Acknowledgements</string>
12
+ <key>Type</key>
13
+ <string>PSGroupSpecifier</string>
14
+ </dict>
15
+ <dict>
16
+ <key>FooterText</key>
17
+ <string>Copyright (c) 2015 WillowTree, Inc.
18
+
19
+ Permission is hereby granted, free of charge, to any person obtaining a copy
20
+ of this software and associated documentation files (the "Software"), to deal
21
+ in the Software without restriction, including without limitation the rights
22
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
+ copies of the Software, and to permit persons to whom the Software is
24
+ furnished to do so, subject to the following conditions:
25
+
26
+ The above copyright notice and this permission notice shall be included in
27
+ all copies or substantial portions of the Software.
28
+
29
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
35
+ THE SOFTWARE.
36
+ </string>
37
+ <key>Title</key>
38
+ <string>WillowTreeSegueHandler</string>
39
+ <key>Type</key>
40
+ <string>PSGroupSpecifier</string>
41
+ </dict>
42
+ <dict>
43
+ <key>FooterText</key>
44
+ <string>Generated by CocoaPods - http://cocoapods.org</string>
45
+ <key>Title</key>
46
+ <string></string>
47
+ <key>Type</key>
48
+ <string>PSGroupSpecifier</string>
49
+ </dict>
50
+ </array>
51
+ <key>StringsTable</key>
52
+ <string>Acknowledgements</string>
53
+ <key>Title</key>
54
+ <string>Acknowledgements</string>
55
+ </dict>
56
+ </plist>
@@ -0,0 +1,5 @@
1
+ #import <Foundation/Foundation.h>
2
+ @interface PodsDummy_Pods : NSObject
3
+ @end
4
+ @implementation PodsDummy_Pods
5
+ @end
@@ -0,0 +1,91 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
5
+ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
6
+
7
+ SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
8
+
9
+ install_framework()
10
+ {
11
+ if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
12
+ local source="${BUILT_PRODUCTS_DIR}/$1"
13
+ elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
14
+ local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
15
+ elif [ -r "$1" ]; then
16
+ local source="$1"
17
+ fi
18
+
19
+ local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
20
+
21
+ if [ -L "${source}" ]; then
22
+ echo "Symlinked..."
23
+ source="$(readlink "${source}")"
24
+ fi
25
+
26
+ # use filter instead of exclude so missing patterns dont' throw errors
27
+ echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
28
+ rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
29
+
30
+ local basename
31
+ basename="$(basename -s .framework "$1")"
32
+ binary="${destination}/${basename}.framework/${basename}"
33
+ if ! [ -r "$binary" ]; then
34
+ binary="${destination}/${basename}"
35
+ fi
36
+
37
+ # Strip invalid architectures so "fat" simulator / device frameworks work on device
38
+ if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
39
+ strip_invalid_archs "$binary"
40
+ fi
41
+
42
+ # Resign the code if required by the build settings to avoid unstable apps
43
+ code_sign_if_enabled "${destination}/$(basename "$1")"
44
+
45
+ # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
46
+ if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
47
+ local swift_runtime_libs
48
+ swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
49
+ for lib in $swift_runtime_libs; do
50
+ echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
51
+ rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
52
+ code_sign_if_enabled "${destination}/${lib}"
53
+ done
54
+ fi
55
+ }
56
+
57
+ # Signs a framework with the provided identity
58
+ code_sign_if_enabled() {
59
+ if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
60
+ # Use the current code_sign_identitiy
61
+ echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
62
+ echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\""
63
+ /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1"
64
+ fi
65
+ }
66
+
67
+ # Strip invalid architectures
68
+ strip_invalid_archs() {
69
+ binary="$1"
70
+ # Get architectures for current file
71
+ archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
72
+ stripped=""
73
+ for arch in $archs; do
74
+ if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
75
+ # Strip non-valid architectures in-place
76
+ lipo -remove "$arch" -output "$binary" "$binary" || exit 1
77
+ stripped="$stripped $arch"
78
+ fi
79
+ done
80
+ if [[ "$stripped" ]]; then
81
+ echo "Stripped $binary of architectures:$stripped"
82
+ fi
83
+ }
84
+
85
+
86
+ if [[ "$CONFIGURATION" == "Debug" ]]; then
87
+ install_framework "Pods/WillowTreeSegueHandler.framework"
88
+ fi
89
+ if [[ "$CONFIGURATION" == "Release" ]]; then
90
+ install_framework "Pods/WillowTreeSegueHandler.framework"
91
+ fi
@@ -0,0 +1,95 @@
1
+ #!/bin/sh
2
+ set -e
3
+
4
+ mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
5
+
6
+ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
7
+ > "$RESOURCES_TO_COPY"
8
+
9
+ XCASSET_FILES=()
10
+
11
+ realpath() {
12
+ DIRECTORY="$(cd "${1%/*}" && pwd)"
13
+ FILENAME="${1##*/}"
14
+ echo "$DIRECTORY/$FILENAME"
15
+ }
16
+
17
+ install_resource()
18
+ {
19
+ case $1 in
20
+ *.storyboard)
21
+ echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
22
+ ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
23
+ ;;
24
+ *.xib)
25
+ echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
26
+ ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
27
+ ;;
28
+ *.framework)
29
+ echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
30
+ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
31
+ echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
32
+ rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
33
+ ;;
34
+ *.xcdatamodel)
35
+ echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\""
36
+ xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom"
37
+ ;;
38
+ *.xcdatamodeld)
39
+ echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\""
40
+ xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd"
41
+ ;;
42
+ *.xcmappingmodel)
43
+ echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\""
44
+ xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm"
45
+ ;;
46
+ *.xcassets)
47
+ ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1")
48
+ XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
49
+ ;;
50
+ /*)
51
+ echo "$1"
52
+ echo "$1" >> "$RESOURCES_TO_COPY"
53
+ ;;
54
+ *)
55
+ echo "${PODS_ROOT}/$1"
56
+ echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY"
57
+ ;;
58
+ esac
59
+ }
60
+
61
+ mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
62
+ rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
63
+ if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
64
+ mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
65
+ rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
66
+ fi
67
+ rm -f "$RESOURCES_TO_COPY"
68
+
69
+ if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
70
+ then
71
+ case "${TARGETED_DEVICE_FAMILY}" in
72
+ 1,2)
73
+ TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
74
+ ;;
75
+ 1)
76
+ TARGET_DEVICE_ARGS="--target-device iphone"
77
+ ;;
78
+ 2)
79
+ TARGET_DEVICE_ARGS="--target-device ipad"
80
+ ;;
81
+ *)
82
+ TARGET_DEVICE_ARGS="--target-device mac"
83
+ ;;
84
+ esac
85
+
86
+ # Find all other xcassets (this unfortunately includes those of path pods and other targets).
87
+ OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
88
+ while read line; do
89
+ if [[ $line != "`realpath $PODS_ROOT`*" ]]; then
90
+ XCASSET_FILES+=("$line")
91
+ fi
92
+ done <<<"$OTHER_XCASSETS"
93
+
94
+ printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
95
+ fi
@@ -0,0 +1,6 @@
1
+ #import <UIKit/UIKit.h>
2
+
3
+
4
+ FOUNDATION_EXPORT double PodsVersionNumber;
5
+ FOUNDATION_EXPORT const unsigned char PodsVersionString[];
6
+
@@ -0,0 +1,8 @@
1
+ EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
2
+ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3
+ LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4
+ OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/WillowTreeSegueHandler.framework/Headers"
5
+ OTHER_LDFLAGS = $(inherited) -framework "WillowTreeSegueHandler"
6
+ OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
7
+ PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
8
+ PODS_ROOT = ${SRCROOT}/Pods
@@ -0,0 +1,6 @@
1
+ framework module Pods {
2
+ umbrella header "Pods-umbrella.h"
3
+
4
+ export *
5
+ module * { export * }
6
+ }
@@ -0,0 +1,8 @@
1
+ EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
2
+ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
3
+ LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
4
+ OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/WillowTreeSegueHandler.framework/Headers"
5
+ OTHER_LDFLAGS = $(inherited) -framework "WillowTreeSegueHandler"
6
+ OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
7
+ PODS_FRAMEWORK_BUILD_PATH = $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods
8
+ PODS_ROOT = ${SRCROOT}/Pods
@@ -0,0 +1,26 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>${EXECUTABLE_NAME}</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string>org.cocoapods.${PRODUCT_NAME:rfc1034identifier}</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>${PRODUCT_NAME}</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>FMWK</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>0.0.1</string>
19
+ <key>CFBundleSignature</key>
20
+ <string>????</string>
21
+ <key>CFBundleVersion</key>
22
+ <string>${CURRENT_PROJECT_VERSION}</string>
23
+ <key>NSPrincipalClass</key>
24
+ <string></string>
25
+ </dict>
26
+ </plist>
@@ -0,0 +1,5 @@
1
+ #import <Foundation/Foundation.h>
2
+ @interface PodsDummy_WillowTreeSegueHandler : NSObject
3
+ @end
4
+ @implementation PodsDummy_WillowTreeSegueHandler
5
+ @end
@@ -0,0 +1,4 @@
1
+ #ifdef __OBJC__
2
+ #import <UIKit/UIKit.h>
3
+ #endif
4
+