Skip to content

Commit d06ec8f

Browse files
authored
dont delete headers unnecessarily (#235)
1 parent 4e11391 commit d06ec8f

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

build.sh

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -169,34 +169,6 @@ build_ios_dylib() {
169169
rm -f "${RELEASE_DIR}/Leanplum.framework/Leanplum"
170170
mv "${RELEASE_DIR}/Leanplum" "${RELEASE_DIR}/Leanplum.framework/"
171171

172-
# Delete unnecessary headers
173-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/Leanplum.h" \
174-
"${RELEASE_DIR}/Leanplum.framework/"
175-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/LPInbox.h" \
176-
"${RELEASE_DIR}/Leanplum.framework/"
177-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/LPActionArg.h" \
178-
"${RELEASE_DIR}/Leanplum.framework/"
179-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/LPActionContext.h" \
180-
"${RELEASE_DIR}/Leanplum.framework/"
181-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/LeanplumCompatibility.h" \
182-
"${RELEASE_DIR}/Leanplum.framework/"
183-
mv "${RELEASE_DIR}/Leanplum.framework/Headers/LPVar.h" \
184-
"${RELEASE_DIR}/Leanplum.framework/"
185-
rm -rf "${RELEASE_DIR}/Leanplum.framework/Headers"
186-
mkdir "${RELEASE_DIR}/Leanplum.framework/Headers"
187-
mv "${RELEASE_DIR}/Leanplum.framework/Leanplum.h" \
188-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
189-
mv "${RELEASE_DIR}/Leanplum.framework/LPInbox.h" \
190-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
191-
mv "${RELEASE_DIR}/Leanplum.framework/LPActionArg.h" \
192-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
193-
mv "${RELEASE_DIR}/Leanplum.framework/LPActionContext.h" \
194-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
195-
mv "${RELEASE_DIR}/Leanplum.framework/LeanplumCompatibility.h" \
196-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
197-
mv "${RELEASE_DIR}/Leanplum.framework/LPVar.h" \
198-
"${RELEASE_DIR}/Leanplum.framework/Headers/"
199-
200172
rm -rf "${RELEASE_DIR}/Leanplum.framework/_CodeSignature"
201173
# Update modulemap with correct import, since umbrella header is not generated by cocoapods with
202174
# a custom module_name set.

0 commit comments

Comments
 (0)