fix config race condition for wbstream in ios

This commit is contained in:
kulikov0 committed 2026-06-09 21:07:36 +02:00
1 parent f1ce863405
commit c6a688d8ab
4 files changed
+13 -9

No files matched your search

+8 -4
View File
@@ -1,5 +1,9 @@
#!/bin/sh
# Removes Apple developer team ID from the Xcode project before committing.
# After cloning, re-select your team in Xcode: Signing & Capabilities > Team.
sed -i '' 's/DEVELOPMENT_TEAM = .*;/DEVELOPMENT_TEAM = "";/' whitelist-bypass-proxy.xcodeproj/project.pbxproj
echo "Stripped DEVELOPMENT_TEAM from project.pbxproj"
# Removes the Apple developer team ID and bundle identifier from the Xcode
# project before committing, so neither your team nor a fixed bundle ID is
# published. After cloning, set your own in Xcode: Signing & Capabilities >
# Team, and change the Bundle Identifier to a unique string.
PBXPROJ=whitelist-bypass-proxy.xcodeproj/project.pbxproj
sed -i '' 's/DEVELOPMENT_TEAM = .*;/DEVELOPMENT_TEAM = "";/' "$PBXPROJ"
sed -i '' 's/PRODUCT_BUNDLE_IDENTIFIER = .*;/PRODUCT_BUNDLE_IDENTIFIER = "com.example.whitelist-bypass-proxy";/' "$PBXPROJ"
echo "Stripped DEVELOPMENT_TEAM and PRODUCT_BUNDLE_IDENTIFIER from project.pbxproj"