Skip to content

Commit c7d8461

Browse files
authored
Fix zipping (#554)
1 parent 920c5be commit c7d8461

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Tools/build.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -274,17 +274,11 @@ build_ios_static() {
274274
# Returns:
275275
# None
276276
#######################################
277-
zip_ios() {
277+
zip_ios() {
278278
echo "zipping for iOS release"
279279
cd Release
280-
zip -q -r Leanplum.framework.zip \
281-
$(find . -maxdepth 2 -type d -name "Leanplum.*")
282-
mv Leanplum.framework.zip ..
283-
284-
echo "zipping for iOS Location release"
285-
zip -q -r LeanplumLocation.framework.zip \
286-
$(find . -maxdepth 2 -type d -name "LeanplumLocation*")
287-
mv LeanplumLocation.framework.zip ..
280+
zip -q -r Leanplum.zip .
281+
mv Leanplum.zip ..
288282

289283
echo "zipping static xcframework for SPM"
290284
cd static

0 commit comments

Comments
 (0)