diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d341f6c..f1ce457 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -19,4 +19,4 @@ jobs: - uses: actions/checkout@v1 - name: Build - run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]} + run: xcodebuild archive -project "MTMR.xcodeproj" -destination "name=Any Mac" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d1b03be..f6b06fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,18 +12,18 @@ jobs: runs-on: macOS-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 12.x + node-version: 20 - name: Install create-dmg run: npm i -g create-dmg - name: Build Archive - run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]} + run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -destination "name=Any Mac" -archivePath Release/App.xcarchive DEVELOPMENT_TEAM="" CODE_SIGN_IDENTITY="" | xcpretty -c && exit ${PIPESTATUS[0]} - name: Build App run: xcodebuild -project "MTMR.xcodeproj" -exportArchive -archivePath Release/App.xcarchive -exportOptionsPlist export-options.plist -exportPath Release | xcpretty -c && exit ${PIPESTATUS[0]} diff --git a/MTMR.xcodeproj/project.pbxproj b/MTMR.xcodeproj/project.pbxproj index 874daa9..069fad6 100644 --- a/MTMR.xcodeproj/project.pbxproj +++ b/MTMR.xcodeproj/project.pbxproj @@ -680,8 +680,8 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_IDENTITY = "Developer ID Application"; - CODE_SIGN_STYLE = Manual; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = D6D8BR2QNB; FRAMEWORK_SEARCH_PATHS = ( diff --git a/MTMR/Info.plist b/MTMR/Info.plist index 078b880..51014e1 100644 --- a/MTMR/Info.plist +++ b/MTMR/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.27 + 0.28 CFBundleVersion - 448 + 457 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion @@ -39,7 +39,7 @@ NSHomeKitUsageDescription MTMR needs access to HomeKit for work NSHumanReadableCopyright - Copyright © 2018 - 2020 Anton Palgunov. All rights reserved. + Copyright © 2018 - 2024 Anton Palgunov. All rights reserved. NSLocationAlwaysAndWhenInUseUsageDescription Weather widget need your location for correct work NSLocationAlwaysUsageDescription diff --git a/build.sh b/build.sh index 28283cd..c6ec3fb 100755 --- a/build.sh +++ b/build.sh @@ -6,6 +6,7 @@ rm -r Release 2>/dev/null xcodebuild archive \ -scheme "$NAME" \ + -destination "name=Any Mac" \ -archivePath Release/App.xcarchive | xcpretty -c xcodebuild \ diff --git a/test.sh b/test.sh index c140089..0abb22e 100755 --- a/test.sh +++ b/test.sh @@ -12,6 +12,7 @@ rm -r Release 2>/dev/null xcodebuild archive \ -scheme "$NAME" \ + -destination "name=Any Mac" \ -archivePath Release/App.xcarchive | xcpretty xcodebuild \