-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Intents and PNService targets from xcodegen (#1729)
* Add PNService to xcodegen * Add intents to xcodegen * Load Keystore PostBuild script (#1730) * Load Keystore PostBuild script Only on Archive for Release configuration loads secrects * add build script
- Loading branch information
1 parent
287ab8d
commit 4840a07
Showing
9 changed files
with
203 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
targets: | ||
station.intents: | ||
type: app-extension | ||
platform: iOS | ||
info: | ||
path: intents/Info.plist | ||
properties: | ||
NSExtension: | ||
NSExtensionAttributes: | ||
IntentsRestrictedWhileLocked: [] | ||
IntentsRestrictedWhileProtectedDataUnavailable: [] | ||
IntentsSupported: [RuuviTagSelectionIntent] | ||
NSExtensionPointIdentifier: com.apple.intents-service | ||
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).IntentHandler | ||
CFBundleDisplayName: Ruuvi Station | ||
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE) | ||
CFBundleShortVersionString: $(MARKETING_VERSION) | ||
CFBundleVersion: $(CURRENT_PROJECT_VERSION) | ||
NSHumanReadableCopyright: Copyright © 2023 Ruuvi Innovations Oy. All rights reserved. | ||
settings: | ||
base: | ||
CODE_SIGN_ENTITLEMENTS: station_intents.entitlements | ||
sources: | ||
- path: intents | ||
- path: ruuvi-widgets | ||
excludes: | ||
- Info.plist | ||
dependencies: | ||
- package: Swinject | ||
- package: BTKit | ||
- package: Future | ||
- package: GRDB | ||
- package: Humidity | ||
- package: Realm | ||
- package: KeychainAccess | ||
- package: Realm | ||
product: RealmSwift | ||
- target: RuuviUser | ||
embed: true | ||
- target: RuuviCloud | ||
embed: true | ||
- target: RuuviOntology | ||
embed: true | ||
- target: RuuviPool | ||
embed: true | ||
- target: RuuviLocal | ||
embed: true | ||
- target: RuuviPersistence | ||
embed: true | ||
- target: RuuviContext | ||
embed: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
targets: | ||
station.intents: | ||
type: app-extension | ||
platform: iOS | ||
info: | ||
path: intents/Info.plist | ||
properties: | ||
NSExtension: | ||
NSExtensionAttributes: | ||
IntentsRestrictedWhileLocked: [] | ||
IntentsRestrictedWhileProtectedDataUnavailable: [] | ||
IntentsSupported: [RuuviTagSelectionIntent] | ||
NSExtensionPointIdentifier: com.apple.intents-service | ||
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).IntentHandler | ||
CFBundleDisplayName: Ruuvi Station | ||
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE) | ||
CFBundleShortVersionString: $(MARKETING_VERSION) | ||
CFBundleVersion: $(CURRENT_PROJECT_VERSION) | ||
NSHumanReadableCopyright: Copyright © 2023 Ruuvi Innovations Oy. All rights reserved. | ||
settings: | ||
base: | ||
CODE_SIGN_ENTITLEMENTS: station_intents.entitlements | ||
sources: | ||
- path: intents | ||
- path: ruuvi-widgets | ||
excludes: | ||
- Info.plist | ||
dependencies: | ||
- package: Swinject | ||
- package: BTKit | ||
- package: Future | ||
- package: GRDB | ||
- package: Humidity | ||
- package: Realm | ||
- package: KeychainAccess | ||
- package: Realm | ||
product: RealmSwift | ||
- package: RuuviUser | ||
- package: RuuviUser | ||
product: RuuviUserCoordinator | ||
- package: RuuviCloud | ||
- package: RuuviCloud | ||
product: RuuviCloudPure | ||
- package: RuuviCloud | ||
product: RuuviCloudApi | ||
- package: RuuviOntology | ||
- package: RuuviPool | ||
- package: RuuviLocal | ||
- package: RuuviPersistence | ||
- package: RuuviContext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
targets: | ||
station.pnservice: | ||
type: app-extension | ||
platform: iOS | ||
info: | ||
path: pnservice/Info.plist | ||
properties: | ||
NSExtension: | ||
NSExtensionPointIdentifier: com.apple.usernotifications.service | ||
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).NotificationService | ||
CFBundleDisplayName: Ruuvi Station | ||
CFBundlePackageType: $(PRODUCT_BUNDLE_PACKAGE_TYPE) | ||
CFBundleShortVersionString: $(MARKETING_VERSION) | ||
CFBundleVersion: $(CURRENT_PROJECT_VERSION) | ||
NSHumanReadableCopyright: Copyright © 2023 Ruuvi Innovations Oy. All rights reserved. | ||
settings: | ||
base: | ||
CODE_SIGN_ENTITLEMENTS: pnservice.entitlements | ||
sources: | ||
- path: pnservice | ||
- path: station/Resources/Strings/ | ||
- path: station/Resources/Sounds/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
if [ "${CONFIGURATION}" = "Release" ]; then | ||
BUILD_APP_DIR=${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME} | ||
git clone git@github.com:ruuvi/com.ruuvi.station.ios.keystore.git | ||
if [ $? -eq 0 ]; then | ||
/bin/cp -rf com.ruuvi.station.ios.keystore/GoogleService-Info.plist "$BUILD_APP_DIR/GoogleService-Info.plist" | ||
/bin/cp -rf com.ruuvi.station.ios.keystore/Networking.plist "$BUILD_APP_DIR/Networking.plist" | ||
rm -rf com.ruuvi.station.ios.keystore | ||
else | ||
if grep -q "{ set your API key here }" $SCRIPT_INPUT_FILE_0; then | ||
echo "warning: Missing OpenWeatherMap API key. In order to make Virtual Sensors work please obtain API key on https://openweathermap.org and put into station/Classes/Networking/Assembly/Networking.plist" | ||
fi | ||
if grep -q "1:925543306936:ios:84f5fda343c52e7671c64d" $SCRIPT_INPUT_FILE_1; then | ||
echo "warning: Demo GoogleServices credentials. If you want to use your own GoogleServices credentials, please replace the station/Resources/Plists/GoogleService-Info.plist file" | ||
fi | ||
fi | ||
fi |