Commit Graph

122 Commits

Author SHA1 Message Date
Bram Kragten
03ecd38fdb Update logo (#2418) 2023-10-09 09:06:30 -07:00
Zac West
99b9880d9b Remove unused icons accidentally checked in (#1389) 2021-01-18 23:20:11 -08:00
Zac West
e0ae2903bc Generate Mac-specific icons (#1328)
Generates all the Mac-specific icon sizes. Apple requires this for Mac App Store submission. I'm not sure what Catalyst is using.
2021-01-01 17:26:16 -08:00
Zac West
4d9a530637 Reorganize files in repo, pull out build settings from pbxproj (#1140)
This is somewhat in prep of being able to make the project file generated, but also just organizes things into more concrete directory structures.

This pulls out _all_ of the build settings from the root level, and most from the target level, into xcconfigs.

The new directory structure looks like:

- Sources
  - App
    - (everything from HomeAssistant/)
  - WatchApp
  - Shared
  - MacBridge
  - Extensions
    - Intents
    - NotificationContent
    - NotificationService
    - Share
    - Today
    - Watch
    - Widgets
- Tests
  - App
  - UI
  - Shared

Somewhat intentionally, the file structure under these is not yet standardized/organized.

The project targets are now:

- App
- WatchApp
- Shared-iOS
- Shared-watchOS
- MacBridge
- Tests-App
- Tests-UI
- Tests-Shared
- Extension-Intents
- Extension-NotificationContent
- Extension-NotificationService
- Extension-Share
- Extension-Today
- Extension-Widget
- WatchExtension-Watch

This does not yet clean up resources vs. sources, nor does it handle some of the "it's in Sources/App but it's part of Shared" crossover directory issues.
2020-10-03 00:15:04 -07:00
Zac West
64f1e3598f Add Mac Bridge (#1069)
- Adds a plugin and protocol for it which can talk to AppKit.
- Cleans up some build settings to the root level, moves version and build number to the xcconfig so we don't need to mutate Info.plist each time.
2020-09-21 21:20:29 -07:00
Zac West
81a3b0b71e Bump to 2020.7 (2)…and work around some code signing issues (#1062)
Starting in the 12.0gm (but not 12.0b6) and in 12.2b1, when our Shared.framework has a dependency on Sodium's xcframework-via-SPM, it is both statically linked into the binary of the framework and copied into Frameworks/. This causes codesign to fail, because it is not expecting a binary file inside.

Reproduced this in a sample project and filed FB8721223 -- it is certainly not expected behavior. Doubly fun if is the presence of this .a causes e.g. notarization to fail. This requires manually removing the directory in Shared.framework. This can't be done as a build phase in Shared.framework because Xcode is doing the incorrect file copy _after_ all build phases, so I put it as a post-build scheme script for the Debug and Release schemes.
2020-09-20 16:58:24 -07:00
Zac West
a8224b6600 Bump version to 2020.7 (1) (#1027) 2020-09-16 20:55:01 -07:00
Zac West
3744da699d Bump to 2020.6 (15) (#1024) 2020-09-15 23:26:59 -07:00
Zac West
1f0a10040b Bump to 2020.6 (14) (#1004) 2020-09-12 13:00:51 -07:00
Zac West
4da876a986 Bump to 2020.6 (13) (#991)
Lucky number 13.
2020-09-07 17:25:10 -07:00
Zac West
b67cb28f46 Bump to 2020.6 (12) (#988) 2020-09-07 12:51:17 -07:00
Zac West
7a5ddd5b9c Fix a few iOS issues from Scene refactor & iOS 14 (#980)
- Bumps Realm to 5.3.6 to fix #822. Removes the hacky workaround. Refs #907 -- if this does not fix it, please let us know.
- Fixes the Update checker (for Mac) incorrectly firing on iOS, along with a couple other places that I used `#available(macCatalyst)` instead of `Current.isCatalyst` (the former is equivalent to `#available(iOS)`.
- Fixes single-scene startup not having a scene immediately causing the delayed WebViewWindowController access to assert.
2020-09-02 19:05:08 -07:00
Zac West
47ed6cb26b Bump to 2020.6 (10) (#976) 2020-08-31 19:35:24 -07:00
Zac West
c30329d0bc Bump to 2020.6 (9) 2020-08-30 11:38:50 -07:00
Zac West
5b0b015c87 Bump build to (8) (#959) 2020-08-30 10:24:53 -07:00
Zac West
ef5ae9f84a Remove Internal URL setting in Catalyst, bump build (#955)
Apple's documentation for the CaptiveNetwork API we use to query SSID information reads:

> This function returns NULL in Mac apps built with Mac Catalyst.

The header file for the same thing reads:

> On Mac Catalyst platform, to receive current Wi-Fi network information, an application must have "com.apple.developer.networking.wifi-info" entitlement and user's authorization to access location.

It seems the former is correct - even with the "access Wi-Fi info" entitlement specified, we cannot access Wi-Fi info on Catalyst, nor can I add the entitlement in the provisioning center. Hides the setting until I can figure out how to get to the information -- CoreWLAN on macOS has access to the data, but we can't access it directly since the contents of the framework are not available in Catalyst (but are, oddly, `import`-able).

Also adds the read-file/read-downloads entitlements since they are needed for weird downloaded-to-`~/Downloads` problems.
2020-08-30 00:06:27 -07:00
Zac West
ae9cc47285 Catalyst support polish (#938)
- Open Finder for log files instead of zipping
- Hide Background Refresh on Catalyst
- Fix white background flash in Event Log in Dark Mode
- Hide Siri shortcut button on Catalyst
- Update to iOS 14 API for zoom
- Fix About appearance, add Mac-specific links
- Hide System Sounds & give instructions on Import
- Catalyst location update handling - less focus on monitored regions
- Avoid requesting color updates every time focus changes to the window
- About, Preferences & Help menu items
- Hide About in Settings on Catalyst
- Add Actions menu
2020-08-24 17:28:51 -07:00
Zac West
8ac836139e Bump to 2020.6 (5) 2020-08-20 22:32:36 -07:00
Zac West
03a5f1b7f9 Fix widgets going to TestFlight (#911)
- Requires disabling dead code stripping on the Intents and Widgets extensions.
- Requires not opting into submitting Bitcode when uploading for iOS symbols (checkbox on upload time).
- Fixes not weak linking against WidgetKit which avoids a crash on launch on iOS 13.
2020-08-15 20:39:44 -07:00
Zac West
a55d9b4ef6 Bump to 2020.6 (2) (#910) 2020-08-15 16:25:02 -07:00
Zac West
eb555038cd Bump version to 2020.6 (1) (#905) 2020-08-14 12:30:14 -07:00
Zac West
121e06b8fd Use Tag webhook, change event (#889)
- Updates to use the `scan_tag` webhook added in home-assistant/core#38721.
- Bumps Realm dependency and build numbers for the next build, since this is the only change for it.
2020-08-10 10:00:21 -07:00
Zac West
7aa3da0701 Version bump to 2020.5 (6) (#888) 2020-08-09 13:39:39 -07:00
Zac West
87dda3bdb1 Version bump to 2020.5 (5) (#881)
* Version bump to 2020.5 (5)

* Re-run pod install because why not
2020-08-08 17:13:11 -07:00
Zac West
6f72ee0ffb Bump build (#879) 2020-08-07 14:59:55 -07:00
Zac West
5476ae63b8 Version bump to 2020.5 (3) (#875) 2020-08-06 22:36:29 -07:00
Robbie Trencheny
4ef6a9ce3c Version bump to 2020.5 (2) 2020-08-06 15:24:14 -07:00
Robbie Trencheny
d736d63e9a Version bump to 2020.5 (1) 2020-07-28 20:12:33 -07:00
Robbie Trencheny
5c822c7985 Version bump to 2020.4 (8) 2020-07-20 10:32:21 -07:00
Robbie Trencheny
440439aa55 Version bump to 2020.4 (7) 2020-07-16 21:42:33 -07:00
Robbie Trencheny
45d5226cbd Version bump to 2020.4 (6) 2020-07-16 21:40:10 -07:00
Robbie Trencheny
981ac3ea81 Version bump to 2020.4 (5) 2020-07-14 16:26:21 -07:00
Robbie Trencheny
042b20f9a8 Version bump to 2020.4 (4) 2020-07-11 12:03:31 -07:00
Robbie Trencheny
3d6759eb7a Version bump to 2020.4 (3) 2020-07-10 11:30:52 -07:00
Robbie Trencheny
9619125cd3 Version bump to 2020.4 (2) 2020-07-07 18:10:21 -07:00
Robbie Trencheny
8467c4da7e Version bump to 2020.4 (1) 2020-07-07 18:05:11 -07:00
Robbie Trencheny
f959bbcd0b Rollback version for clean release 2020-07-07 18:05:00 -07:00
Robbie Trencheny
b416ed7ffe Version bump to 2020.3.1 (1) 2020-07-02 21:06:15 -07:00
Robbie Trencheny
8b90d73a0f Set to 2020.3.1 2020-07-02 21:05:58 -07:00
Robbie Trencheny
59a312de32 Version bump to 2020.3 (5) 2020-06-29 18:05:20 -07:00
Robbie Trencheny
8496b53d98 Version bump to 2020.3 (4) 2020-06-28 14:37:11 -07:00
Robbie Trencheny
87d67cb257 Version bump to 2020.3 (3) 2020-06-26 09:38:35 -07:00
Robbie Trencheny
6b7c94f341 Version bump to 2020.3 (2) 2020-06-21 17:04:46 -07:00
Robbie Trencheny
57893e0406 Version bump to 2020.3 (1) 2020-06-17 09:26:43 -07:00
Robbie Trencheny
4628b54180 Version bump to 2020.2 (5) 2020-06-16 12:41:15 -07:00
Robbie Trencheny
b2af6268b1 Version bump to 2020.2 (4) 2020-06-16 09:25:51 -07:00
Travis CI
5131ec770b [ci skip] Version bump to 2020.2 (3) 2020-06-13 03:01:32 +00:00
Travis CI
3c3ff0794d [ci skip] Version bump to 2020.2 (2) 2020-06-13 01:33:57 +00:00
Robbie Trencheny
adeee341b3 Version bump to 2020.2 (1) 2020-06-12 18:29:55 -07:00
Travis CI
f128522161 [ci skip] Version bump to 2020.1 (23) 2020-06-13 01:27:08 +00:00