-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
FormX
committed
Mar 27, 2024
1 parent
e6f7c99
commit 103575c
Showing
5 changed files
with
160 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'FormX' | ||
s.version = '0.4.11' | ||
s.summary = 'FormX SDK for iOS' | ||
s.homepage = 'https://github.com/oursky/formx-sdk' | ||
s.author = { 'FormX' => '[email protected]' } | ||
s.swift_version = ['5.0', '5.1', '5.2'] | ||
|
||
s.source = { :http => "https://github.com/oursky/formx-sdk/releases/download/0.4.11/FormX.xcframework.zip" } | ||
s.vendored_frameworks = 'FormX.xcframework' | ||
|
||
s.ios.deployment_target = '14.0' | ||
s.ios.frameworks = ["Accelerate"] | ||
s.libraries = 'c++' | ||
|
||
s.prepare_command = <<-CMD | ||
curl -O -L "#{s.source[:http]}" | ||
unzip -o FormX.xcframework.zip | ||
rm FormX.xcframework.zip | ||
CMD | ||
end |
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,28 @@ | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "FormX", | ||
platforms: [.iOS(.v14)], | ||
products: [ | ||
.library( | ||
name: "FormX", | ||
targets: ["FormXTarget"]) | ||
], | ||
targets: [ | ||
.target(name: "FormXTarget", | ||
dependencies: ["FormX"], | ||
path: ".", | ||
linkerSettings: [ | ||
.linkedLibrary("c++"), | ||
.linkedFramework("OpenCL", .when(platforms: [.macOS])), | ||
.linkedFramework("Accelerate") | ||
] | ||
), | ||
.binaryTarget(name: "FormX", | ||
url: "https://github.com/oursky/formx-sdk/releases/download/0.4.11/FormX.xcframework.zip", | ||
checksum: "94a3cccadcf4d0d18d387e6c552f5daeebef029c37819f24292ec87387b90da7" | ||
) | ||
] | ||
) |
Empty file.
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,5 @@ | ||
install: | ||
- wget https://github.com/oursky/formx-sdk/releases/download/0.4.11/ai.formx.sdk.aar | ||
- wget https://github.com/oursky/formx-sdk/releases/download/0.4.11/pom.xml -O sdk-pom.xml | ||
- rm -f pom.xml | ||
- mvn install:install-file -Dfile=ai.formx.sdk.aar -Dpackaging=aar -DpomFile=sdk-pom.xml |
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,106 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<!-- This module was also published with a richer model, Gradle metadata, --> | ||
<!-- which should be used instead. Do not delete the following line which --> | ||
<!-- is to indicate to Gradle or any Gradle module metadata file consumer --> | ||
<!-- that they should prefer consuming it instead. --> | ||
<!-- do_not_remove: published-with-gradle-metadata --> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>ai.formx</groupId> | ||
<artifactId>sdk</artifactId> | ||
<version>0.4.11</version> | ||
<packaging>aar</packaging> | ||
<dependencies> | ||
<dependency> | ||
<groupId>androidx.databinding</groupId> | ||
<artifactId>viewbinding</artifactId> | ||
<version>7.2.2</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jetbrains.kotlin</groupId> | ||
<artifactId>kotlin-stdlib-jdk8</artifactId> | ||
<version>1.8.10</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.appcompat</groupId> | ||
<artifactId>appcompat</artifactId> | ||
<version>1.6.1</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.core</groupId> | ||
<artifactId>core</artifactId> | ||
<version>1.10.1</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.startup</groupId> | ||
<artifactId>startup-runtime</artifactId> | ||
<version>1.1.1</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.camera</groupId> | ||
<artifactId>camera-camera2</artifactId> | ||
<version>1.3.0-alpha07</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.camera</groupId> | ||
<artifactId>camera-lifecycle</artifactId> | ||
<version>1.3.0-alpha07</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.camera</groupId> | ||
<artifactId>camera-view</artifactId> | ||
<version>1.3.0-alpha07</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.exifinterface</groupId> | ||
<artifactId>exifinterface</artifactId> | ||
<version>1.3.6</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.oursky</groupId> | ||
<artifactId>opencv</artifactId> | ||
<version>4.6.0-SNAPSHOT</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.mlkit</groupId> | ||
<artifactId>object-detection-custom</artifactId> | ||
<version>17.0.0</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>retrofit</artifactId> | ||
<version>2.9.0</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.squareup.retrofit2</groupId> | ||
<artifactId>converter-gson</artifactId> | ||
<version>2.9.0</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.jetbrains.kotlinx</groupId> | ||
<artifactId>kotlinx-coroutines-core</artifactId> | ||
<version>1.4.3</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>androidx.lifecycle</groupId> | ||
<artifactId>lifecycle-runtime-ktx</artifactId> | ||
<version>2.5.1</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |