Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sample directory and move all samples to there #44

Merged
merged 1 commit into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/local.properties
.idea
.DS_Store
build
/build
*/build
/captures
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
489A546C297F93F700A6532C /* Config.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Config.swift; sourceTree = "<group>"; };
489A5471297F99FC00A6532C /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
48D4A78629ACF39F00968B0B /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = "<group>"; };
7555FF7B242A565900829871 /* ios-sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ios-sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
7555FF7B242A565900829871 /* ychat-ios.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ychat-ios.app"; sourceTree = BUILT_PRODUCTS_DIR; };
7555FF82242A565900829871 /* CompletionView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CompletionView.swift; sourceTree = "<group>"; };
7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -264,7 +264,7 @@
7555FF72242A565900829871 = {
isa = PBXGroup;
children = (
7555FF7D242A565900829871 /* ios-sample */,
7555FF7D242A565900829871 /* YChatApp */,
7555FF7C242A565900829871 /* Products */,
7555FFB0242A642200829871 /* Frameworks */,
489A546A297F916C00A6532C /* EnvConfig.xcconfig */,
Expand All @@ -276,12 +276,12 @@
7555FF7C242A565900829871 /* Products */ = {
isa = PBXGroup;
children = (
7555FF7B242A565900829871 /* ios-sample.app */,
7555FF7B242A565900829871 /* ychat-ios.app */,
);
name = Products;
sourceTree = "<group>";
};
7555FF7D242A565900829871 /* ios-sample */ = {
7555FF7D242A565900829871 /* YChatApp */ = {
isa = PBXGroup;
children = (
488448DA297B8D19005B8A24 /* App */,
Expand All @@ -292,7 +292,7 @@
058557BA273AAA24004C7B11 /* Assets.xcassets */,
7555FF8C242A565B00829871 /* Info.plist */,
);
path = "ios-sample";
path = YChatApp;
sourceTree = "<group>";
};
7555FFB0242A642200829871 /* Frameworks */ = {
Expand All @@ -305,9 +305,9 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
7555FF7A242A565900829871 /* ios-sample */ = {
7555FF7A242A565900829871 /* ychat-ios */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "ios-sample" */;
buildConfigurationList = 7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "ychat-ios" */;
buildPhases = (
7555FFB5242A651A00829871 /* ShellScript */,
7555FF77242A565900829871 /* Sources */,
Expand All @@ -320,9 +320,9 @@
);
dependencies = (
);
name = "ios-sample";
name = "ychat-ios";
productName = "ios-sample";
productReference = 7555FF7B242A565900829871 /* ios-sample.app */;
productReference = 7555FF7B242A565900829871 /* ychat-ios.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -340,7 +340,7 @@
};
};
};
buildConfigurationList = 7555FF76242A565900829871 /* Build configuration list for PBXProject "ios-sample" */;
buildConfigurationList = 7555FF76242A565900829871 /* Build configuration list for PBXProject "ychat-ios" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
Expand All @@ -353,7 +353,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
7555FF7A242A565900829871 /* ios-sample */,
7555FF7A242A565900829871 /* ychat-ios */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -405,7 +405,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$SRCROOT/..\"\n./gradlew :ychat:embedAndSignAppleFrameworkForXcode\n";
shellScript = "cd \"$SRCROOT/../..\"\n./gradlew :ychat:embedAndSignAppleFrameworkForXcode\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -564,16 +564,18 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"ios-sample/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"YChatApp/Preview Content\"";
ENABLE_PREVIEWS = YES;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../ychat/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
INFOPLIST_FILE = "ios-sample/Info.plist";
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../ychat/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
INFOPLIST_FILE = YChatApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = YChat;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.0.1;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = "orgIdentifier.ios-sample";
PRODUCT_BUNDLE_IDENTIFIER = co.yml.ychat.ios;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -586,16 +588,18 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"ios-sample/Preview Content\"";
DEVELOPMENT_ASSET_PATHS = "\"YChatApp/Preview Content\"";
ENABLE_PREVIEWS = YES;
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../ychat/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
INFOPLIST_FILE = "ios-sample/Info.plist";
FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../ychat/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)";
INFOPLIST_FILE = YChatApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = YChat;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 0.0.1;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = "orgIdentifier.ios-sample";
PRODUCT_BUNDLE_IDENTIFIER = co.yml.ychat.ios;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand All @@ -605,7 +609,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
7555FF76242A565900829871 /* Build configuration list for PBXProject "ios-sample" */ = {
7555FF76242A565900829871 /* Build configuration list for PBXProject "ychat-ios" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7555FFA3242A565B00829871 /* Debug */,
Expand All @@ -614,7 +618,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "ios-sample" */ = {
7555FFA5242A565B00829871 /* Build configuration list for PBXNativeTarget "ychat-ios" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7555FFA6242A565B00829871 /* Debug */,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ dependencyResolutionManagement {
}

rootProject.name = "ychat-sdk"
include(":android-sample")
include(":sample:android")
include(":ychat")