Skip to content

Commit

Permalink
Merge pull request #337 from CocoaPods/integration-specs-for-11707
Browse files Browse the repository at this point in the history
Update integration specs for CocoaPods/CocoaPods#11707
  • Loading branch information
dnkoutso authored Jan 3, 2023
2 parents a8bc477 + 831663a commit 736b2ff
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@ variant_for_slice()
"CoconutLib.xcframework/ios-arm64")
echo ""
;;
"CoconutLib.xcframework/macos-x86_64")
echo ""
"CoconutLib.xcframework/ios-arm64_x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "maccatalyst"
;;
"CoconutLib.xcframework/watchos-arm64_32_armv7k")
"CoconutLib.xcframework/macos-x86_64")
echo ""
;;
"CoconutLib.xcframework/tvos-arm64")
echo ""
;;
"CoconutLib.xcframework/tvos-arm64_x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/watchos-arm64_i386_x86_64-simulator")
echo "simulator"
"CoconutLib.xcframework/watchos-arm64_32_armv7k")
echo ""
;;
"CoconutLib.xcframework/ios-arm64_x86_64-simulator")
"CoconutLib.xcframework/watchos-arm64_i386_x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/tvos-arm64")
echo ""
;;
esac
}

Expand All @@ -50,27 +50,27 @@ archs_for_slice()
"CoconutLib.xcframework/ios-arm64")
echo "arm64"
;;
"CoconutLib.xcframework/macos-x86_64")
echo "x86_64"
"CoconutLib.xcframework/ios-arm64_x86_64-simulator")
echo "arm64 x86_64"
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "x86_64"
;;
"CoconutLib.xcframework/watchos-arm64_32_armv7k")
echo "arm64_32 armv7k"
"CoconutLib.xcframework/macos-x86_64")
echo "x86_64"
;;
"CoconutLib.xcframework/tvos-arm64")
echo "arm64"
;;
"CoconutLib.xcframework/tvos-arm64_x86_64-simulator")
echo "arm64 x86_64"
;;
"CoconutLib.xcframework/watchos-arm64_32_armv7k")
echo "arm64_32 armv7k"
;;
"CoconutLib.xcframework/watchos-arm64_i386_x86_64-simulator")
echo "arm64 i386 x86_64"
;;
"CoconutLib.xcframework/ios-arm64_x86_64-simulator")
echo "arm64 x86_64"
;;
"CoconutLib.xcframework/tvos-arm64")
echo "arm64"
;;
esac
}

Expand Down Expand Up @@ -153,5 +153,5 @@ install_xcframework() {
echo "Copied $source to $destination"
}

install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "library" "ios-arm64" "ios-x86_64-maccatalyst" "ios-arm64_x86_64-simulator"
install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "library" "ios-arm64" "ios-arm64_x86_64-simulator" "ios-x86_64-maccatalyst"

Original file line number Diff line number Diff line change
Expand Up @@ -17,53 +17,53 @@ RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
variant_for_slice()
{
case "$1" in
"CoconutLib.xcframework/tvos-x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/tvos-arm64")
"CoconutLib.xcframework/ios-armv7_arm64")
echo ""
;;
"CoconutLib.xcframework/watchos-i386-simulator")
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/watchos-armv7k_arm64_32")
"CoconutLib.xcframework/macos-x86_64")
echo ""
;;
"CoconutLib.xcframework/macos-x86_64")
"CoconutLib.xcframework/tvos-arm64")
echo ""
;;
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
"CoconutLib.xcframework/tvos-x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/ios-armv7_arm64")
"CoconutLib.xcframework/watchos-armv7k_arm64_32")
echo ""
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "simulator"
;;
esac
}

archs_for_slice()
{
case "$1" in
"CoconutLib.xcframework/tvos-x86_64-simulator")
"CoconutLib.xcframework/ios-armv7_arm64")
echo "arm64 armv7"
;;
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
echo "i386 x86_64"
;;
"CoconutLib.xcframework/macos-x86_64")
echo "x86_64"
;;
"CoconutLib.xcframework/tvos-arm64")
echo "arm64"
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "i386"
"CoconutLib.xcframework/tvos-x86_64-simulator")
echo "x86_64"
;;
"CoconutLib.xcframework/watchos-armv7k_arm64_32")
echo "arm64_32 armv7k"
;;
"CoconutLib.xcframework/macos-x86_64")
echo "x86_64"
;;
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
echo "i386 x86_64"
;;
"CoconutLib.xcframework/ios-armv7_arm64")
echo "arm64 armv7"
"CoconutLib.xcframework/watchos-i386-simulator")
echo "i386"
;;
esac
}
Expand Down Expand Up @@ -147,5 +147,5 @@ install_xcframework() {
echo "Copied $source to $destination"
}

install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "framework" "ios-i386_x86_64-simulator" "ios-armv7_arm64"
install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "framework" "ios-armv7_arm64" "ios-i386_x86_64-simulator"

Original file line number Diff line number Diff line change
Expand Up @@ -17,60 +17,60 @@ RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
variant_for_slice()
{
case "$1" in
"CoconutLib.xcframework/tvos-arm64")
"CoconutLib.xcframework/ios-armv7_arm64")
echo ""
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "maccatalyst"
;;
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "maccatalyst"
;;
"CoconutLib.xcframework/macos-x86_64")
echo ""
;;
"CoconutLib.xcframework/ios-armv7_arm64")
"CoconutLib.xcframework/tvos-arm64")
echo ""
;;
"CoconutLib.xcframework/tvos-x86_64-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "simulator"
;;
"CoconutLib.xcframework/watchos-armv7k_arm64_32")
echo ""
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "simulator"
;;
esac
}

archs_for_slice()
{
case "$1" in
"CoconutLib.xcframework/tvos-arm64")
echo "arm64"
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "x86_64"
"CoconutLib.xcframework/ios-armv7_arm64")
echo "arm64 armv7"
;;
"CoconutLib.xcframework/ios-i386_x86_64-simulator")
echo "i386 x86_64"
;;
"CoconutLib.xcframework/ios-x86_64-maccatalyst")
echo "x86_64"
;;
"CoconutLib.xcframework/macos-x86_64")
echo "x86_64"
;;
"CoconutLib.xcframework/ios-armv7_arm64")
echo "arm64 armv7"
"CoconutLib.xcframework/tvos-arm64")
echo "arm64"
;;
"CoconutLib.xcframework/tvos-x86_64-simulator")
echo "x86_64"
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "i386"
;;
"CoconutLib.xcframework/watchos-armv7k_arm64_32")
echo "arm64_32 armv7k"
;;
"CoconutLib.xcframework/watchos-i386-simulator")
echo "i386"
;;
esac
}

Expand Down Expand Up @@ -153,5 +153,5 @@ install_xcframework() {
echo "Copied $source to $destination"
}

install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "framework" "ios-x86_64-maccatalyst" "ios-i386_x86_64-simulator" "ios-armv7_arm64"
install_xcframework "${PODS_ROOT}/../BananaLib/CoconutLib.xcframework" "BananaLib" "framework" "ios-armv7_arm64" "ios-i386_x86_64-simulator" "ios-x86_64-maccatalyst"

0 comments on commit 736b2ff

Please sign in to comment.