Skip to content

Commit

Permalink
Support an iOS project (#105)
Browse files Browse the repository at this point in the history
* Added an iOS project to support developements and enhance tests

* Create .gitignore for iosApp

* Bump android gradle plugin to 8.2.0

* Minor changes on iOS example app

* Moved iOS sample app to Examples folder

* Enhancing iOS sample app presentation
  • Loading branch information
ruicanas authored Dec 2, 2023
1 parent 29a2356 commit 8de529f
Show file tree
Hide file tree
Showing 17 changed files with 938 additions and 19 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,17 @@ kotlin {
publishLibraryVariants("release")
}

listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64()
).forEach {
it.binaries.framework {
baseName = "qrcode_kotlin"
isStatic = true
}
}

js {
compilations.all {
kotlinOptions {
Expand Down
27 changes: 27 additions & 0 deletions examples/iosApp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Xcode
.DS_Store
build/
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
xcuserdata/

# Swift
*.swiftpm

# CocoaPods
Pods/
*.xcworkspace

# Carthage
Carthage/

# macOS
*.DS_Store

# iOS
*.ipa
*.xcarchive
*.xcuserstate
DerivedData/
Loading

0 comments on commit 8de529f

Please sign in to comment.