Skip to content
Snippets Groups Projects
Commit cf3ca5d4 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Merge branch 'feature/example-app-deployment' into 'development'

Prepare example app for deployment

See merge request elixxir/elixxir-dapps-sdk-swift!120
parents d9f89ee8 a795890e
No related branches found
No related tags found
2 merge requests!120Prepare example app for deployment,!102Release 1.0.0
Showing with 61 additions and 8 deletions
......@@ -14,6 +14,7 @@
/* Begin PBXFileReference section */
31964B8A28A6D37100BBDC17 /* XXMessenger.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = XXMessenger.app; sourceTree = BUILT_PRODUCTS_DIR; };
31964B9128A6D37200BBDC17 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
31EF69BC28F035DE00BD83FC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
......@@ -48,6 +49,7 @@
isa = PBXGroup;
children = (
31964B9128A6D37200BBDC17 /* Assets.xcassets */,
31EF69BC28F035DE00BD83FC /* Info.plist */,
);
path = XXMessenger;
sourceTree = "<group>";
......@@ -256,9 +258,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = S6JDM2WW29;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = XXMessenger/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
......@@ -271,6 +275,9 @@
);
PRODUCT_BUNDLE_IDENTIFIER = xx.network.XXMessengerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
......@@ -283,9 +290,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = S6JDM2WW29;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = XXMessenger/Info.plist;
INFOPLIST_KEY_LSApplicationCategoryType = "";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
......@@ -298,6 +307,9 @@
);
PRODUCT_BUNDLE_IDENTIFIER = xx.network.XXMessengerExample;
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>NSLocalNetworkUsageDescription</key>
<string>Network usage required for debugging purposes </string>
<key>NSBonjourServices</key>
<array>
<string>_pulse._tcp</string>
</array>
</dict>
</plist>
......@@ -59,6 +59,7 @@ struct AppEnvironment {
var home: () -> HomeEnvironment
}
#if DEBUG
extension AppEnvironment {
static let unimplemented = AppEnvironment(
dbManager: .unimplemented,
......@@ -74,6 +75,7 @@ extension AppEnvironment {
home: { .unimplemented }
)
}
#endif
let appReducer = Reducer<AppState, AppAction, AppEnvironment>
{ state, action, env in
......
......@@ -115,6 +115,7 @@ public struct HomeEnvironment {
public var backup: () -> BackupEnvironment
}
#if DEBUG
extension HomeEnvironment {
public static let unimplemented = HomeEnvironment(
messenger: .unimplemented,
......@@ -127,6 +128,7 @@ extension HomeEnvironment {
backup: { .unimplemented }
)
}
#endif
public let homeReducer = Reducer<HomeState, HomeAction, HomeEnvironment>
{ state, action, env in
......
......@@ -62,6 +62,7 @@ public struct RegisterEnvironment {
public var bgQueue: AnySchedulerOf<DispatchQueue>
}
#if DEBUG
extension RegisterEnvironment {
public static let unimplemented = RegisterEnvironment(
messenger: .unimplemented,
......@@ -71,6 +72,7 @@ extension RegisterEnvironment {
bgQueue: .unimplemented
)
}
#endif
public let registerReducer = Reducer<RegisterState, RegisterAction, RegisterEnvironment>
{ state, action, env in
......
......@@ -82,6 +82,7 @@ public struct RestoreEnvironment {
public var bgQueue: AnySchedulerOf<DispatchQueue>
}
#if DEBUG
extension RestoreEnvironment {
public static let unimplemented = RestoreEnvironment(
messenger: .unimplemented,
......@@ -92,6 +93,7 @@ extension RestoreEnvironment {
bgQueue: .unimplemented
)
}
#endif
public let restoreReducer = Reducer<RestoreState, RestoreAction, RestoreEnvironment>
{ state, action, env in
......
......@@ -38,6 +38,7 @@ public struct WelcomeEnvironment {
public var bgQueue: AnySchedulerOf<DispatchQueue>
}
#if DEBUG
extension WelcomeEnvironment {
public static let unimplemented = WelcomeEnvironment(
messenger: .unimplemented,
......@@ -45,6 +46,7 @@ extension WelcomeEnvironment {
bgQueue: .unimplemented
)
}
#endif
public let welcomeReducer = Reducer<WelcomeState, WelcomeAction, WelcomeEnvironment>
{ state, action, env in
......
......@@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/kean/Pulse.git",
"state" : {
"revision" : "786611d3094e33f27d4546b260a966352bc45fd6",
"version" : "2.1.2"
"revision" : "6b682c529d98a38e6fdffee2a8bfa40c8de30821",
"version" : "2.1.3"
}
},
{
......@@ -86,8 +86,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump.git",
"state" : {
"revision" : "c9b6b940d95c0a925c63f6858943415714d8a981",
"version" : "0.5.2"
"revision" : "819d9d370cd721c9d87671e29d947279292e4541",
"version" : "0.6.0"
}
},
{
......
#!/bin/sh
script_dir=$(dirname $(realpath $0))
project_dir="$script_dir/Project"
repo_dir="$script_dir/../../"
if [ -n "$(git -C $repo_dir status --porcelain)" ]; then
echo "Repository has uncommitted changes!"
exit 1
fi
cd $project_dir
xcrun agvtool next-version
build_number=$(xcrun agvtool what-version -terse)
cd $repo_dir
git commit -a -m "Bump xx-messenger example app build number to $build_number"
......@@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-custom-dump.git",
"state" : {
"revision" : "c9b6b940d95c0a925c63f6858943415714d8a981",
"version" : "0.5.2"
"revision" : "819d9d370cd721c9d87671e29d947279292e4541",
"version" : "0.6.0"
}
},
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment