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

feature: add macos support #73

Merged
merged 4 commits into from
May 15, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
change switch package manager plugin
osugikoji committed May 12, 2023
commit 50f63d48637bd031247f6ea22fb5eeae11f40aeb
Binary file modified YChat-1.4.0.zip
Binary file not shown.
20 changes: 10 additions & 10 deletions YChat.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -8,45 +8,45 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>macos-x86_64</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>YChat.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
</dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>YChat.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>macos</string>
</dict>
<dict>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>YChat.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Binary file modified YChat.xcframework/ios-arm64/YChat.framework/YChat
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?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>CFBundleExecutable</key>
<string>YChat</string>
<key>CFBundleIdentifier</key>
<string>co.yml.ychat.YChat</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>YChat</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module YChat {
umbrella header "YChat.h"

export *
module * { export * }
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -16,16 +16,9 @@
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneSimulator</string>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
</dict>
</plist>
Binary file not shown.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
framework module YChat {
umbrella header "YChat.h"

export *
module * { export * }

use Foundation
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?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>CFBundleExecutable</key>
<string>YChat</string>
<key>CFBundleIdentifier</key>
<string>co.yml.ychat.YChat</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>YChat</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
Binary file not shown.
1 change: 1 addition & 0 deletions YChat.xcframework/macos-arm64_x86_64/YChat.framework/YChat
1 change: 0 additions & 1 deletion YChat.xcframework/macos-x86_64/YChat.framework/Headers

This file was deleted.

1 change: 0 additions & 1 deletion YChat.xcframework/macos-x86_64/YChat.framework/Modules

This file was deleted.

1 change: 0 additions & 1 deletion YChat.xcframework/macos-x86_64/YChat.framework/Resources

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion YChat.xcframework/macos-x86_64/YChat.framework/YChat

This file was deleted.

This file was deleted.

Binary file not shown.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
object Versions {
const val GRADLE_PLUGIN = "7.3.0"
const val SPM_PLUGIN = "2.0.3"
const val SPM_PLUGIN = "2.0.5-arm64"
const val DETEKT_PLUGIN = "1.22.0"
const val KTLINT_PLUGIN = "11.0.0"
const val KOVER_PLUGIN = "0.6.1"
2 changes: 1 addition & 1 deletion ychat/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
kotlin("multiplatform")
kotlin("plugin.serialization").version(Versions.KOTLIN)
id("com.chromaticnoise.multiplatform-swiftpackage").version(Versions.SPM_PLUGIN)
id("io.github.luca992.multiplatform-swiftpackage").version(Versions.SPM_PLUGIN)
id("com.vanniktech.maven.publish")
id("com.android.library")
id("io.gitlab.arturbosch.detekt")