Skip to content

Commit

Permalink
Set DEVELOPMENT_TEAM secret
Browse files Browse the repository at this point in the history
  • Loading branch information
melekr committed Aug 2, 2024
1 parent 1b13b09 commit 9b4b9c2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,10 @@ jobs:
cp $MAC_PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
- name: Build frameworks
run: sh scripts/xcframeworkgen.sh
env:
BACKTRACE_VERSION: ${{ github.ref_name }}
DEVELOPMENT_TEAM: ${{ secrets.DEVELOPMENT_TEAM }}
run: sh scripts/xcframeworkgen.sh

- name: Tar files to preserve file permissions
run: tar -cvzf Archive_XCFrameworks_${{ github.ref_name }}.tar.gz frameworks/
Expand Down
26 changes: 13 additions & 13 deletions Backtrace.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2465,12 +2465,12 @@
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=appletvos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=driverkit*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=macosx*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=watchos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=xros*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=appletvos*]" = "";
"DEVELOPMENT_TEAM[sdk=driverkit*]" = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = "";
"DEVELOPMENT_TEAM[sdk=watchos*]" = "";
"DEVELOPMENT_TEAM[sdk=xros*]" = "";
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
Expand Down Expand Up @@ -2550,20 +2550,20 @@
"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=driverkit*]" = "-";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application: SAUCE LABS INC (JWKXD469L2)";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "3rd Party Mac Developer Application";
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=xros*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=appletvos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=driverkit*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=macosx*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=watchos*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=xros*]" = JWKXD469L2;
"DEVELOPMENT_TEAM[sdk=appletvos*]" = "";
"DEVELOPMENT_TEAM[sdk=driverkit*]" = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = "";
"DEVELOPMENT_TEAM[sdk=watchos*]" = "";
"DEVELOPMENT_TEAM[sdk=xros*]" = "";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
Expand Down
10 changes: 5 additions & 5 deletions scripts/xcframeworkgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ xcodebuild archive \
-derivedDataPath ${DERIVED_DATA_PATH} \
-configuration Release \
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO
DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO

xcodebuild archive \
-workspace Backtrace.xcworkspace \
Expand All @@ -31,7 +31,7 @@ xcodebuild archive \
-derivedDataPath ${DERIVED_DATA_PATH} \
-configuration Release \
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO
DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO

xcodebuild archive \
-workspace Backtrace.xcworkspace \
Expand All @@ -41,7 +41,7 @@ xcodebuild archive \
-derivedDataPath ${DERIVED_DATA_PATH} \
-configuration Release \
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO
DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO

xcodebuild archive \
-workspace Backtrace.xcworkspace \
Expand All @@ -51,7 +51,7 @@ xcodebuild archive \
-derivedDataPath ${DERIVED_DATA_PATH} \
-configuration Release \
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO
DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO

xcodebuild archive \
-workspace Backtrace.xcworkspace \
Expand All @@ -61,7 +61,7 @@ xcodebuild archive \
-derivedDataPath ${DERIVED_DATA_PATH} \
-configuration Release \
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO
DEVELOPMENT_TEAM=$DEVELOPMENT_TEAM BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO

xcodebuild -create-xcframework \
-archive ${BUILD_PATH}/Backtrace-iOS-lib.xcarchive -framework Backtrace.framework \
Expand Down

0 comments on commit 9b4b9c2

Please sign in to comment.