diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml
index 1f1f1ba..da7277f 100644
--- a/.github/workflows/issues.yml
+++ b/.github/workflows/issues.yml
@@ -1,7 +1,7 @@
name: 'Close stale issues and PR'
on:
schedule:
- - cron: '30 1 * * *'
+ - cron: '30 1 * * 2'
jobs:
stale:
@@ -11,7 +11,7 @@ jobs:
with:
stale-issue-label: 'stale'
exempt-issue-labels: 'enhancement'
- stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
+ stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
days-before-stale: 60
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d89da46..77c9e2b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+###### 2022.08.04 [v1.0.29]
+
+```
+feat(docs,build): updated docs to use asset catalogue with xcode 13 tools
+feat(docs): deprecated wiki
+```
+
###### 2022.02.05 [v1.0.28]
```
diff --git a/example/.gitignore b/example/.gitignore
index 0b4044f..07ee689 100644
--- a/example/.gitignore
+++ b/example/.gitignore
@@ -2,3 +2,6 @@ bin-debug
bin
out
*Distriqt*
+
+ane
+apm_packages
\ No newline at end of file
diff --git a/example/starling/config/ios/Entitlements.xml b/example/starling/config/ios/Entitlements.xml
new file mode 100644
index 0000000..fa2b1aa
--- /dev/null
+++ b/example/starling/config/ios/Entitlements.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/example/starling/config/ios/InfoAdditions.xml b/example/starling/config/ios/InfoAdditions.xml
new file mode 100644
index 0000000..8639df9
--- /dev/null
+++ b/example/starling/config/ios/InfoAdditions.xml
@@ -0,0 +1,18 @@
+
+
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+
+ MinimumOSVersion
+ 12.0
+
+ UILaunchStoryboardName
+ LaunchScreen
+
+
+
+
diff --git a/example/starling/libs/MetalWorksMobileTheme.swc b/example/starling/libs/MetalWorksMobileTheme.swc
index b325c2e..a3a9875 100644
Binary files a/example/starling/libs/MetalWorksMobileTheme.swc and b/example/starling/libs/MetalWorksMobileTheme.swc differ
diff --git a/example/starling/libs/feathers.swc b/example/starling/libs/feathers.swc
index 3a4c497..d9930c0 100644
Binary files a/example/starling/libs/feathers.swc and b/example/starling/libs/feathers.swc differ
diff --git a/example/starling/libs/starling.swc b/example/starling/libs/starling.swc
index 42a7597..9027457 100644
Binary files a/example/starling/libs/starling.swc and b/example/starling/libs/starling.swc differ
diff --git a/example/starling/project-lock.apm b/example/starling/project-lock.apm
new file mode 100644
index 0000000..66bf11a
--- /dev/null
+++ b/example/starling/project-lock.apm
@@ -0,0 +1,163 @@
+{
+ "dependencies": [
+ {
+ "packageVersion": {
+ "checksum": "8afe27b02118a50b910c5342bc9490af35bf4d6c4e992bf3bc6e2cc1a45382ca",
+ "dependencies": [],
+ "package": {
+ "description": "The DynamicIcon extension gives you the ability to change the application icon displayed for your application",
+ "docUrl": "https://github.com/distriqt/ANE-DynamicIcon/wiki",
+ "identifier": "com.distriqt.DynamicIcon",
+ "license": {
+ "public": true,
+ "type": "none",
+ "url": ""
+ },
+ "name": "DynamicIcon",
+ "publishedAt": "2022-02-05T04:20:51.506Z",
+ "purchaseUrl": "",
+ "type": "ane",
+ "url": "https://github.com/distriqt/ANE-DynamicIcon"
+ },
+ "parameters": [],
+ "publishedAt": "2022-02-05T00:00:00.000Z",
+ "sourceUrl": "https://github.com/distriqt/ANE-DynamicIcon/releases/download/v1.0.28/com.distriqt.DynamicIcon_1.0.28.airpackage",
+ "status": "release",
+ "version": "1.0.28"
+ },
+ "request": {
+ "packageIdentifier": "com.distriqt.DynamicIcon",
+ "source": null,
+ "version": "1.0.28"
+ }
+ },
+ {
+ "packageVersion": {
+ "checksum": "17543a806e8dd4074dd2726b17d09b3282870ad38b962b4d6ae8ea7483418d0d",
+ "dependencies": [],
+ "package": {
+ "description": "The Cross Platform Game Engine",
+ "docUrl": "https://doc.starling-framework.org",
+ "identifier": "starling",
+ "license": {
+ "public": true,
+ "type": "Simplified BSD",
+ "url": "https://github.com/Gamua/Starling-Framework/blob/master/LICENSE.md"
+ },
+ "name": "starling",
+ "publishedAt": "2021-07-27T13:22:30.211Z",
+ "purchaseUrl": "",
+ "tags": [
+ "framework",
+ "gpu",
+ "game engine",
+ "game development",
+ "gamedev",
+ "games"
+ ],
+ "type": "swc",
+ "url": "https://gamua.com/starling"
+ },
+ "parameters": [],
+ "publishedAt": "2021-09-08T10:52:06.732Z",
+ "sourceUrl": "https://github.com/Gamua/Starling-Framework/releases/download/v2.7/starling_2.7.0.airpackage",
+ "status": "",
+ "version": "2.7.0"
+ },
+ "request": {
+ "packageIdentifier": "starling",
+ "source": null,
+ "version": "2.7.0"
+ }
+ },
+ {
+ "packageVersion": {
+ "checksum": "3b2e521831514bbc599a39ecd4e157352f6388fd75e8b74d13506e5e7da63a31",
+ "dependencies": [
+ {
+ "id": "starling",
+ "version": "2.x.x"
+ },
+ {
+ "id": "feathersui",
+ "version": "4.1.x"
+ }
+ ],
+ "package": {
+ "description": "Metal Works mobile theme for Feathers UI (Starling version)",
+ "docUrl": "https://feathersui/api-reference/",
+ "identifier": "feathersui_MetalWorksMobileTheme",
+ "license": {
+ "public": true,
+ "type": "Simplified BSD",
+ "url": "https://github.com/feathersui/feathersui-starling/blob/v4.1.1/LICENSE.md"
+ },
+ "name": "Feathers UI Metal Works Mobile Theme",
+ "publishedAt": "2021-11-19T19:15:52.059Z",
+ "purchaseUrl": "",
+ "tags": [
+ "starling",
+ "theme",
+ "feathers"
+ ],
+ "type": "swc",
+ "url": "https://feathersui.com/as3-starling/"
+ },
+ "parameters": [],
+ "publishedAt": "2021-11-19T00:00:00.000Z",
+ "sourceUrl": "https://github.com/feathersui/feathersui-starling/releases/download/v4.1.1/feathersui_MetalWorksMobileTheme_4.1.1.airpackage",
+ "status": "release",
+ "version": "4.1.1"
+ },
+ "request": {
+ "packageIdentifier": "feathersui_MetalWorksMobileTheme",
+ "source": null,
+ "version": "4.1.1"
+ }
+ },
+ {
+ "packageVersion": {
+ "checksum": "f83c6bc73d1e43f2ed4a37b8654b33b27d13f6093e1022efb244eef3b49cd68d",
+ "dependencies": [
+ {
+ "id": "starling",
+ "version": "2.x.x"
+ }
+ ],
+ "package": {
+ "description": "Cross-platform user interface components for creative frontend projects built with Starling",
+ "docUrl": "https://feathersui/api-reference/",
+ "identifier": "feathersui",
+ "license": {
+ "public": true,
+ "type": "Simplified BSD",
+ "url": "https://github.com/feathersui/feathersui-starling/blob/v4.1.1/LICENSE.md"
+ },
+ "name": "feathersui",
+ "publishedAt": "2021-11-19T19:14:20.988Z",
+ "purchaseUrl": "",
+ "tags": [
+ "components",
+ "gui",
+ "starling",
+ "ui",
+ "widgets"
+ ],
+ "type": "swc",
+ "url": "https://feathersui.com/as3-starling/"
+ },
+ "parameters": [],
+ "publishedAt": "2021-11-19T00:00:00.000Z",
+ "sourceUrl": "https://github.com/feathersui/feathersui-starling/releases/download/v4.1.1/feathersui_4.1.1.airpackage",
+ "status": "release",
+ "version": "4.1.1"
+ },
+ "request": {
+ "packageIdentifier": "feathersui",
+ "source": null,
+ "version": "4.1.1"
+ }
+ }
+ ],
+ "uninstalledPackageIdentifiers": []
+}
diff --git a/example/starling/project.apm b/example/starling/project.apm
new file mode 100644
index 0000000..4c09187
--- /dev/null
+++ b/example/starling/project.apm
@@ -0,0 +1,28 @@
+{
+ "identifier": "com.distriqt.test",
+ "name": "TestDynamicIcon",
+ "filename": "TestDynamicIcon",
+ "version": "0.0.27",
+ "versionLabel": "",
+ "dependencies": [
+ {
+ "version": "1.0.28",
+ "id": "com.distriqt.DynamicIcon"
+ },
+ {
+ "version": "2.7.0",
+ "id": "starling"
+ },
+ {
+ "version": "4.1.1",
+ "id": "feathersui_MetalWorksMobileTheme"
+ },
+ {
+ "version": "4.1.1",
+ "id": "feathersui"
+ }
+ ],
+ "configuration": {},
+ "repositories": [],
+ "deployOptions": {}
+}
diff --git a/example/starling/src/AlternateIcon@2x.png b/example/starling/src/AlternateIcon@2x.png
deleted file mode 100644
index 27c6ebb..0000000
Binary files a/example/starling/src/AlternateIcon@2x.png and /dev/null differ
diff --git a/example/starling/src/AlternateIcon@3x.png b/example/starling/src/AlternateIcon@3x.png
deleted file mode 100644
index ee936c3..0000000
Binary files a/example/starling/src/AlternateIcon@3x.png and /dev/null differ
diff --git a/example/starling/src/Assets.car b/example/starling/src/Assets.car
index 1bb466c..2f4f18c 100644
Binary files a/example/starling/src/Assets.car and b/example/starling/src/Assets.car differ
diff --git a/example/starling/src/Default-375w-667h@2x~iphone.png b/example/starling/src/Default-375w-667h@2x~iphone.png
deleted file mode 100644
index 0302cf6..0000000
Binary files a/example/starling/src/Default-375w-667h@2x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default-414w-736h@3x~iphone.png b/example/starling/src/Default-414w-736h@3x~iphone.png
deleted file mode 100644
index 491873e..0000000
Binary files a/example/starling/src/Default-414w-736h@3x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default-568h@2x~iphone.png b/example/starling/src/Default-568h@2x~iphone.png
deleted file mode 100644
index a4023ca..0000000
Binary files a/example/starling/src/Default-568h@2x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default-812h@3x~iphone.png b/example/starling/src/Default-812h@3x~iphone.png
deleted file mode 100644
index 15e30e7..0000000
Binary files a/example/starling/src/Default-812h@3x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default-Landscape-414w-736h@3x~iphone.png b/example/starling/src/Default-Landscape-414w-736h@3x~iphone.png
deleted file mode 100644
index 7517d7f..0000000
Binary files a/example/starling/src/Default-Landscape-414w-736h@3x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default-Landscape-812h@3x~iphone.png b/example/starling/src/Default-Landscape-812h@3x~iphone.png
deleted file mode 100644
index 275f2d8..0000000
Binary files a/example/starling/src/Default-Landscape-812h@3x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default@2x~iphone.png b/example/starling/src/Default@2x~iphone.png
deleted file mode 100644
index 2d8139b..0000000
Binary files a/example/starling/src/Default@2x~iphone.png and /dev/null differ
diff --git a/example/starling/src/Default~iphone.png b/example/starling/src/Default~iphone.png
deleted file mode 100644
index 2d8139b..0000000
Binary files a/example/starling/src/Default~iphone.png and /dev/null differ
diff --git a/example/starling/src/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/example/starling/src/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib
new file mode 100644
index 0000000..a4fa4b4
Binary files /dev/null and b/example/starling/src/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ
diff --git a/example/starling/src/LaunchScreen.storyboardc/Info.plist b/example/starling/src/LaunchScreen.storyboardc/Info.plist
new file mode 100644
index 0000000..32288e8
Binary files /dev/null and b/example/starling/src/LaunchScreen.storyboardc/Info.plist differ
diff --git a/example/starling/src/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/example/starling/src/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib
new file mode 100644
index 0000000..099ec13
Binary files /dev/null and b/example/starling/src/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ
diff --git a/example/starling/src/TestDynamicIcon-app.xml b/example/starling/src/TestDynamicIcon-app.xml
index 300501f..324994d 100644
--- a/example/starling/src/TestDynamicIcon-app.xml
+++ b/example/starling/src/TestDynamicIcon-app.xml
@@ -1,5 +1,5 @@
-
+
com.distriqt.test
TestDynamicIcon
TestDynamicIcon
@@ -18,15 +18,24 @@
icons/icon29x29.png
icons/icon32x32.png
icons/icon36x36.png
+ icons/icon40x40.png
icons/icon48x48.png
icons/icon57x57.png
+ icons/icon58x58.png
+ icons/icon60x60.png
icons/icon72x72.png
icons/icon76x76.png
+ icons/icon80x80.png
+ icons/icon87x87.png
icons/icon114x114.png
icons/icon120x120.png
icons/icon128x128.png
+ icons/icon144x144.png
icons/icon152x152.png
+ icons/icon167x167.png
+ icons/icon180x180.png
icons/icon512x512.png
+ icons/icon1024x1024.png
@@ -37,12 +46,51 @@
2
- NSAppTransportSecurity
-
- NSAllowsArbitraryLoads
-
-
-
+ MinimumOSVersion
+ 12.0
+
+ UILaunchStoryboardName
+ LaunchScreen
+
+
+ CFBundleIcons
+
+ CFBundleAlternateIcons
+
+ IconName
+
+ CFBundleIconFiles
+
+ AlternateIcon
+
+
+
+ CFBundlePrimaryIcon
+
+ CFBundleIconFiles
+
+ Icon-Iphone-180.png
+ Icon-Ipad-152.png
+ Icon-167.png
+ Icon@2x-Large.png
+ Icon-Iphone-120.png
+ Icon@2x.png
+ Icon-Iphone-87.png
+ Icon-Small-80.png
+ Icon-Ipad-76.png
+ Icon-Large.png
+ Icon-Iphone-60.png
+ Icon-Small@2x.png
+ Icon.png
+ Icon-Small-50.png
+ Icon-Small-40.png
+ Icon-Small.png
+
+ CFBundleIconName
+ AppIcon
+
+
+
]]>
high
@@ -54,7 +102,7 @@
-
+
diff --git a/example/starling/src/icons/icon1024x1024.png b/example/starling/src/icons/icon1024x1024.png
new file mode 100644
index 0000000..817d6d3
Binary files /dev/null and b/example/starling/src/icons/icon1024x1024.png differ
diff --git a/example/starling/src/icons/icon114x114.png b/example/starling/src/icons/icon114x114.png
index 663aecb..be78a1b 100644
Binary files a/example/starling/src/icons/icon114x114.png and b/example/starling/src/icons/icon114x114.png differ
diff --git a/example/starling/src/icons/icon120x120.png b/example/starling/src/icons/icon120x120.png
index 5a202c0..44aa2a3 100644
Binary files a/example/starling/src/icons/icon120x120.png and b/example/starling/src/icons/icon120x120.png differ
diff --git a/example/starling/src/icons/icon128x128.png b/example/starling/src/icons/icon128x128.png
index 560deef..baa1112 100644
Binary files a/example/starling/src/icons/icon128x128.png and b/example/starling/src/icons/icon128x128.png differ
diff --git a/example/starling/src/icons/icon144x144.png b/example/starling/src/icons/icon144x144.png
new file mode 100644
index 0000000..b539c96
Binary files /dev/null and b/example/starling/src/icons/icon144x144.png differ
diff --git a/example/starling/src/icons/icon152x152.png b/example/starling/src/icons/icon152x152.png
index 370a26e..5b3e0b3 100644
Binary files a/example/starling/src/icons/icon152x152.png and b/example/starling/src/icons/icon152x152.png differ
diff --git a/example/starling/src/icons/icon167x167.png b/example/starling/src/icons/icon167x167.png
new file mode 100644
index 0000000..bc842cd
Binary files /dev/null and b/example/starling/src/icons/icon167x167.png differ
diff --git a/example/starling/src/icons/icon16x16.png b/example/starling/src/icons/icon16x16.png
index 2c12887..b9ce9a8 100644
Binary files a/example/starling/src/icons/icon16x16.png and b/example/starling/src/icons/icon16x16.png differ
diff --git a/example/starling/src/icons/icon180x180.png b/example/starling/src/icons/icon180x180.png
new file mode 100644
index 0000000..2bd1ff7
Binary files /dev/null and b/example/starling/src/icons/icon180x180.png differ
diff --git a/example/starling/src/icons/icon20x20.png b/example/starling/src/icons/icon20x20.png
new file mode 100644
index 0000000..a54c288
Binary files /dev/null and b/example/starling/src/icons/icon20x20.png differ
diff --git a/example/starling/src/icons/icon29x29.png b/example/starling/src/icons/icon29x29.png
index 7f71a80..a937f40 100644
Binary files a/example/starling/src/icons/icon29x29.png and b/example/starling/src/icons/icon29x29.png differ
diff --git a/example/starling/src/icons/icon32x32.png b/example/starling/src/icons/icon32x32.png
index b0908fb..1f90311 100644
Binary files a/example/starling/src/icons/icon32x32.png and b/example/starling/src/icons/icon32x32.png differ
diff --git a/example/starling/src/icons/icon36x36.png b/example/starling/src/icons/icon36x36.png
index 713943a..b9a8dff 100644
Binary files a/example/starling/src/icons/icon36x36.png and b/example/starling/src/icons/icon36x36.png differ
diff --git a/example/starling/src/icons/icon40x40.png b/example/starling/src/icons/icon40x40.png
new file mode 100644
index 0000000..18865f4
Binary files /dev/null and b/example/starling/src/icons/icon40x40.png differ
diff --git a/example/starling/src/icons/icon48x48.png b/example/starling/src/icons/icon48x48.png
index 216c67a..27dd6c6 100644
Binary files a/example/starling/src/icons/icon48x48.png and b/example/starling/src/icons/icon48x48.png differ
diff --git a/example/starling/src/icons/icon512x512.png b/example/starling/src/icons/icon512x512.png
index 8f68727..fa2dbfa 100644
Binary files a/example/starling/src/icons/icon512x512.png and b/example/starling/src/icons/icon512x512.png differ
diff --git a/example/starling/src/icons/icon57x57.png b/example/starling/src/icons/icon57x57.png
index c2a1c36..6904555 100644
Binary files a/example/starling/src/icons/icon57x57.png and b/example/starling/src/icons/icon57x57.png differ
diff --git a/example/starling/src/icons/icon58x58.png b/example/starling/src/icons/icon58x58.png
new file mode 100644
index 0000000..d0cd647
Binary files /dev/null and b/example/starling/src/icons/icon58x58.png differ
diff --git a/example/starling/src/icons/icon60x60.png b/example/starling/src/icons/icon60x60.png
new file mode 100644
index 0000000..e2e5787
Binary files /dev/null and b/example/starling/src/icons/icon60x60.png differ
diff --git a/example/starling/src/icons/icon72x72.png b/example/starling/src/icons/icon72x72.png
index b4687a7..d40dff3 100644
Binary files a/example/starling/src/icons/icon72x72.png and b/example/starling/src/icons/icon72x72.png differ
diff --git a/example/starling/src/icons/icon76x76.png b/example/starling/src/icons/icon76x76.png
index 5dbed75..4923755 100644
Binary files a/example/starling/src/icons/icon76x76.png and b/example/starling/src/icons/icon76x76.png differ
diff --git a/example/starling/src/icons/icon80x80.png b/example/starling/src/icons/icon80x80.png
new file mode 100644
index 0000000..d7e5191
Binary files /dev/null and b/example/starling/src/icons/icon80x80.png differ
diff --git a/example/starling/src/icons/icon87x87.png b/example/starling/src/icons/icon87x87.png
new file mode 100644
index 0000000..f8a3843
Binary files /dev/null and b/example/starling/src/icons/icon87x87.png differ
diff --git a/lib/VERSION.md b/lib/VERSION.md
index 178b9b0..8fc05c3 100644
--- a/lib/VERSION.md
+++ b/lib/VERSION.md
@@ -2,4 +2,4 @@
| Extension | Version | Android Lib | iOS Lib |
| --- | --- | --- | --- |
-| com.distriqt.DynamicIcon | 1.0.28 | | |
+| com.distriqt.DynamicIcon | 1.0.29 | | |
diff --git a/lib/com.distriqt.DynamicIcon.ane b/lib/com.distriqt.DynamicIcon.ane
index 262c78f..14b27cb 100644
Binary files a/lib/com.distriqt.DynamicIcon.ane and b/lib/com.distriqt.DynamicIcon.ane differ
diff --git a/lib/packaging/resign b/lib/packaging/resign
index 41c1a7f..0717812 100755
--- a/lib/packaging/resign
+++ b/lib/packaging/resign
@@ -36,17 +36,17 @@ rm -rf "$WORKING_DIR"
unzip -qq -o $IPA -d $WORKING_DIR
find . -iname '$WORKING_DIR/*.DS_Store' -delete
-APP_NAME=$(ls -1 $WORKING_DIR/Payload)
-
rm -rf "$WORKING_DIR/Payload/$APP_NAME/_CodeSignature/"
+rm -f "$WORKING_DIR/Payload/$APP_NAME/embedded.mobileprovision"
-cp $INFO_PLIST "$WORKING_DIR/Payload/$APP_NAME/Info.plist"
+APP_NAME=$(ls -1 $WORKING_DIR/Payload)
+cp $INFO_PLIST "$WORKING_DIR/Payload/$APP_NAME/Info.plist"
#####################################
echo "Create Signing Entitlements"
ENTITLEMENTS="$OUTPUT/Entitlements.plist"
-rm -f "$ENTITLEMENTS"
+rm -f "$ENTITLEMENTS"
WORKING_PROFILE_PLIST="$OUTPUT/$WORKING_PROFILE.plist"
security cms -D -i "$WORKING_PROFILE" > "$WORKING_PROFILE_PLIST"
@@ -57,14 +57,14 @@ BUNDLE_IDENTIFIER=$(/usr/libexec/Plistbuddy -c "Print :CFBundleIdentifier" "$WOR
APS_ENVIRONMENT=$(/usr/libexec/Plistbuddy -c "Print Entitlements:aps-environment" "$WORKING_PROFILE_PLIST")
BETA_REPORTS=$(/usr/libexec/Plistbuddy -c "Print Entitlements:beta-reports-active" "$WORKING_PROFILE_PLIST")
PROVISIONING_GET_TASK_ALLOW=$(/usr/libexec/Plistbuddy -c "Print :Entitlements:get-task-allow" "$WORKING_PROFILE_PLIST")
-
-echo "\tAPP_NAME = $APP_NAME"
-echo "\tTEAM_IDENTIFIER = $TEAM_IDENTIFIER"
-echo "\tAPPLICATION_IDENTIFIER_PREFIX = $APPLICATION_IDENTIFIER_PREFIX"
-echo "\tBUNDLE_IDENTIFIER = $BUNDLE_IDENTIFIER"
-echo "\tAPS_ENVIRONMENT = $APS_ENVIRONMENT"
-echo "\tBETA_REPORTS = $BETA_REPORTS"
-echo "\tPROVISIONING_GET_TASK_ALLOW = $PROVISIONING_GET_TASK_ALLOW"
+
+echo " APP_NAME = $APP_NAME"
+echo " TEAM_IDENTIFIER = $TEAM_IDENTIFIER"
+echo " APPLICATION_IDENTIFIER_PREFIX = $APPLICATION_IDENTIFIER_PREFIX"
+echo " BUNDLE_IDENTIFIER = $BUNDLE_IDENTIFIER"
+echo " APS_ENVIRONMENT = $APS_ENVIRONMENT"
+echo " BETA_REPORTS = $BETA_REPORTS"
+echo " PROVISIONING_GET_TASK_ALLOW = $PROVISIONING_GET_TASK_ALLOW"
/usr/libexec/PlistBuddy -c "Add :application-identifier string $APPLICATION_IDENTIFIER_PREFIX.$BUNDLE_IDENTIFIER" "$ENTITLEMENTS"
@@ -72,19 +72,30 @@ echo "\tPROVISIONING_GET_TASK_ALLOW = $PROVISIONING_GET_TASK_ALLOW"
/usr/libexec/PlistBuddy -c "Add :keychain-access-groups array" "$ENTITLEMENTS"
/usr/libexec/PlistBuddy -c "Add :keychain-access-groups:0 string $APPLICATION_IDENTIFIER_PREFIX.$BUNDLE_IDENTIFIER" "$ENTITLEMENTS"
if [ $APS_ENVIRONMENT ]; then
- echo "Setting aps-environment=$APS_ENVIRONMENT"
+ echo "Setting aps-environment=$APS_ENVIRONMENT"
/usr/libexec/PlistBuddy -c "Add :aps-environment string $APS_ENVIRONMENT" "$ENTITLEMENTS"
fi
if [ $BETA_REPORTS ]; then
- echo "Setting beta-reports-active=$BETA_REPORTS"
+ echo "Setting beta-reports-active=$BETA_REPORTS"
/usr/libexec/PlistBuddy -c "Add :beta-reports-active bool $BETA_REPORTS" "$ENTITLEMENTS"
fi
-cp "$ENTITLEMENTS" "$WORKING_DIR/Payload/$APP_NAME/archived-expanded-entitlements.xcent"
+
+# Uncomment these lines if you are using AppleSignIn
+#/usr/libexec/PlistBuddy -c "Add :com.apple.developer.applesignin array" "$ENTITLEMENTS"
+#/usr/libexec/PlistBuddy -c "Add :com.apple.developer.applesignin:0 string Default" "$ENTITLEMENTS"
+
#####################################
-# echo "Sign Application"
+echo "Sign Frameworks"
+
+find $WORKING_DIR/Payload/$APP_NAME/Frameworks/ -name "*.framework" -exec codesign --force --sign "$SIGNING_IDENTITY" --generate-entitlement-der {} \;
+
+
+#####################################
+echo "Sign Application"
codesign --force --entitlements "$ENTITLEMENTS" --sign "$SIGNING_IDENTITY" "$WORKING_DIR/Payload/$APP_NAME" --verbose
-codesign --verify --verbose --deep --no-strict "$WORKING_DIR/Payload/$APP_NAME"
+
+#codesign --verify --verbose --deep --no-strict "$WORKING_DIR/Payload/$APP_NAME"
OUTPUT_IPA="$OUTPUT/"$IPA_NAME"_resigned.ipa"
@@ -95,9 +106,9 @@ mv ".tmp_output.ipa" "$OUTPUT_IPA"
# Cleanup
-# rm -Rf "$WORKING_DIR"
+rm -Rf "$WORKING_DIR"
rm -f "$ENTITLEMENTS"
rm -f "$WORKING_PROFILE_PLIST"
rm -f "$WORKING_PROFILE"
-# ideviceinstaller -i "$OUTPUT_IPA"
\ No newline at end of file
+# ideviceinstaller -i "$OUTPUT_IPA"
\ No newline at end of file
diff --git a/lib/swc/com.distriqt.DynamicIcon.swc b/lib/swc/com.distriqt.DynamicIcon.swc
index 0ad6040..5aa130f 100644
Binary files a/lib/swc/com.distriqt.DynamicIcon.swc and b/lib/swc/com.distriqt.DynamicIcon.swc differ