Commit Graph

1062 Commits

Author SHA1 Message Date
Riley Testut
37ca2905e9 [AltServer] Throws ALTServerError.deviceNotFound if altjit cannot find device
Includes custom recovery suggestion to mention connecting via USB is required for iOS 17 or later.
2023-09-08 17:54:59 -05:00
Riley Testut
56e0747893 Fixes interactive widget animation continuing indefinitely if error is thrown 2023-09-08 17:54:59 -05:00
Riley Testut
d0609b0269 Fixes not showing “AltServer Not Found” error when refreshing via widget 2023-09-08 17:54:59 -05:00
Riley Testut
1a4b2fd74e [AltServer] Updates app version to 1.7b1 2023-09-08 15:15:02 -05:00
Riley Testut
8935f9ee2d [AltJIT] Changes AltSign-Dynamic to not be embedded
Fixes “Cycle in dependencies” compiler error when archiving AltServer.
2023-09-08 15:14:13 -05:00
Riley Testut
3bee6ce642 [AltWidget] Fixes ActiveAppsWidget compiler error when deployment target < iOS 17 2023-09-08 15:08:16 -05:00
Riley Testut
8a672533cd Reloads widget timelines on app launch 2023-09-08 15:04:03 -05:00
Riley Testut
96ad129b00 [AltServer] Fixes exporting AltServer as generic Xcode archive 2023-09-08 14:53:32 -05:00
Riley Testut
6af7651a25 [AltServer] Fixes “SDK does not contain libarclite” error when archiving 2023-09-08 14:52:04 -05:00
Riley Testut
61f2347ece [AltJIT] Fixes “AltSign-Dynamic not found” runtime error at launch 2023-09-08 14:19:48 -05:00
Riley Testut
dd761daed6 [AltServer] Supports enabling JIT on devices running iOS 17
AltServer embeds the AltJIT CLI tool in its app bundle and runs it as an admin subprocess.
2023-09-08 14:15:55 -05:00
Riley Testut
1f499e77d3 [AltJIT] Removes unnecessary ALTErrorKeys.h/.m
Was originally added because AltJIT couldn’t link with AltSign, which is not true anymore.
2023-09-08 13:47:07 -05:00
Riley Testut
1ab5f02a1e Fixes ErrorDetailsViewController not displaying text below fold 2023-09-08 13:22:59 -05:00
Riley Testut
d846445448 [AltJIT] Adds AltJIT CLI tool to enable JIT on devices running iOS 17+
Commands:

altjit enable [app/pid] --udid [udid]
* Enables JIT for given app/process

altjit mount --udid [udid]
* Mounts personalized developer disk
2023-09-07 18:02:29 -05:00
Riley Testut
1a42aaeae8 [AltStoreCore] Fixes “any ALTAppPermission cannot conform to 'Hashable’” Xcode 15 compiler error 2023-09-05 13:38:49 -05:00
Riley Testut
547c1f97a6 [AltWidget] Replaces legacy PreviewProvider previews with #Preview macro 2023-09-05 13:12:58 -05:00
Riley Testut
b41b5361e5 [AltWidget] Updates Lock Screen widgets to adopt containerBackground() on iOS 17 2023-09-05 13:12:58 -05:00
Riley Testut
ce3b032dc1 [AltWidget] Refactors previous widgets to use AppsTimelineProvider 2023-09-05 13:12:30 -05:00
Riley Testut
21c2f8d5ce [AltWidget] Adds interactive Active Apps widget to view + refresh all active apps (iOS 17+) 2023-09-05 13:11:21 -05:00
Riley Testut
c7932bf7b1 [AltWidget] Refactors widgets into separate files 2023-09-05 13:11:21 -05:00
Riley Testut
1940fbd60f [AltWidget] Supports refreshing apps directly from home screen 2023-08-18 19:30:16 -05:00
Riley Testut
ff3fb64277 [AltWidget] Adopts containerBackground(for:) on iOS 17 2023-08-18 19:30:16 -05:00
Riley Testut
e6b0c90c7a [AltWidget] Fixes incorrect home screen widget margins on iOS 17 2023-08-18 19:29:33 -05:00
Riley Testut
7f148b1ce0 Converts legacy RefreshAllIntent into App Shortcut (iOS 17+) 2023-08-18 18:16:05 -05:00
Riley Testut
c97a11bbdf Fixes race condition causing duplicate background refresh notifications (or none) 2023-08-18 18:01:57 -05:00
Riley Testut
7a715e0ce6 Fixes not refreshing AltStore last when refreshing via Shortcut
Could potentially be an issue if AltStore needs to resign itself, e.g. with AltDaemon.
2023-08-18 17:01:43 -05:00
Riley Testut
b204f25849 [Apps] Updates Delta beta to 1.5b4 2023-08-16 14:08:56 -05:00
Riley Testut
b21daff145 [Apps] Updates Delta beta to 1.5b3 2023-08-16 14:08:40 -05:00
Riley Testut
e8c5d8dbd2 [AltServer] Updates LaunchAtLogin dependency to 4.2.0 2023-06-20 14:50:31 -05:00
Riley Testut
8d4a8cebb1 [Apps] Removes “No provisioning profile” news item 2023-06-02 15:41:57 -05:00
Riley Testut
e74c8cadb3 [Apps] Updates AltStore beta to 2.0b2 2023-05-31 15:32:52 -05:00
Riley Testut
5a127ee430 Updates build version to 6 2023-05-31 15:07:08 -05:00
Riley Testut
34105936ea [Permissions] Adds entries for most known privacy permissions 2023-05-31 15:06:20 -05:00
Riley Testut
7e29258d40 [AltStoreCore] Updates AltStore12ToAltStore13 mapping model for latest model changes
* Non-optional AppPermission.usageDescription
* Non-optional AppPermission.appBundleID
* Added AppPermission.sourceID
2023-05-30 15:37:10 -05:00
Riley Testut
d7bbf78b6b [AltStoreCore] Fixes incorrectly merging permissions for same app from different sources 2023-05-30 15:28:49 -05:00
Riley Testut
af61a5f052 Fixes crash when adding source with the same name as another source 2023-05-30 15:28:49 -05:00
Riley Testut
3efee63d41 [AltStoreCore] Makes AppPermission.usageDescription non-optional for backwards compatibility
Necessary to support switching between AltStore beta and public version.

Wraps private non-optional _usageDescription value in public accessor with optional return type to still treat it as “optional” value.
2023-05-30 14:24:35 -05:00
Riley Testut
2512b55c67 [Apps] Adds app permissions
AltStore 2.0 requires all app permissions to be listed in source JSON in order to install an app.
2023-05-30 13:53:11 -05:00
Riley Testut
1598166c29 Updates build version to 4 2023-05-30 13:04:47 -05:00
Riley Testut
2e9eb0b2f9 Fixes “non-sendable type 'Notification?' cannot cross actor boundary” warning 2023-05-30 13:00:18 -05:00
Riley Testut
13248c05e7 Revises appPermissions format in source JSON
Before, appPermissions was one array containing all permissions of different types.

Now, we split entitlement and privacy permissions into separate “entitlements” and “privacy” child arrays.
2023-05-30 12:57:45 -05:00
Riley Testut
48105f068b Changes ALTAppPermission.isKnown to check localizedName == nil, not localizedDescription
Privacy permissions always have nil localizedDescriptions, even if they’re known.
2023-05-30 12:53:26 -05:00
Riley Testut
cc01442e55 Fixes resigning some apps with incorrect entitlements
* Fixes resigning apps without required entitlements application-identifier, team-identifier, or get-task-allow
* Fixes resigning apps with wildcard keychain-access-groups
2023-05-30 12:18:46 -05:00
Riley Testut
418e594c1d Updates app version to 2.0b2 2023-05-29 20:14:09 -05:00
Riley Testut
b284a612b3 Updates Cocoapods to 1.12.1 2023-05-29 20:13:24 -05:00
Riley Testut
74468761bf [Permissions] Fixes incorrect entitlement keys and revises names + descriptions 2023-05-29 20:06:42 -05:00
Riley Testut
17aa1e6538 Fixes “Check for Updates” not updating any sources if one source fails 2023-05-29 20:06:42 -05:00
Riley Testut
4ec6bd3d2b Revises store page permissions UI (again)
* Switches back “Permissions” and “Privacy” section titles
* Shrinks privacy permissions card title font
* Combines privacy + entitlements back into single “Permissions” section
* Removes “Entitlements” section name
2023-05-29 16:50:17 -05:00
Riley Testut
0db5e3caab Adds “Disable Response Caching” debug setting
When enabled, AltStore will ignore cached responses for certain requests and will always make a new request to the server. This is useful for development when repeatedly testing changes to remote files.

Limited to UpdateKnownSourcesOperation for now, but will eventually affect fetching sources as well.
2023-05-29 16:50:17 -05:00
Riley Testut
c3721ba209 [AltStoreCore] Migrates Core Data model from v12 to v13 2023-05-29 16:50:17 -05:00