Skip to content
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
2 changes: 1 addition & 1 deletion packages/cli/src/__tests__/e2e/p1/create.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Commands:
wasm [options] <language> <name> Create a Polywrap wasm wrapper. langs:
assemblyscript, rust, golang, interface
app [options] <language> <name> Create a Polywrap application. langs:
typescript, python, rust, android
typescript, python, rust, android, ios
plugin [options] <language> <name> Create a Polywrap plugin. langs:
typescript, rust, python
template [options] <url> <name> Download template from a URL. formats:
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const urlStr = intlMsg.commands_create_options_t_url();

export const supportedLangs = {
wasm: ["assemblyscript", "rust", "golang", "interface"] as const,
app: ["typescript", "python", "rust", "android"] as const,
app: ["typescript", "python", "rust", "android", "ios"] as const,
plugin: ["typescript", "rust", "python"] as const,
};

Expand Down
44 changes: 44 additions & 0 deletions packages/templates/app/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Polywrap
wrap

# AppCode
.idea/
.idea_modules/

# User-specific
*.iml

# Xcode
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/
*.moved-aside

# Compiled Source
*.pyc
*.o
*.out

# CocoaPods
Pods/

# Carthage
Carthage/Build

# Swift Package Manager
.build/

# macOS
.DS_Store
.AppleDouble
.LSOverride

# Unix
*.swp
*~
20 changes: 20 additions & 0 deletions packages/templates/app/ios/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Template' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!

# Pods for Template
pod 'PolywrapClient', '0.0.8'

target 'TemplateTests' do
inherit! :search_paths
# Pods for testing
end

target 'TemplateUITests' do
# Pods for testing
end

end
32 changes: 32 additions & 0 deletions packages/templates/app/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
PODS:
- AsyncObjects (2.1.0):
- OrderedCollections (~> 1.0.0)
- MessagePacker (0.4.7)
- OrderedCollections (1.0.4)
- PolywrapClient (0.0.8):
- AsyncObjects (~> 2.1.0)
- MessagePacker (~> 0.4.7)
- PolywrapClientNative (~> 0.0.7)
- PolywrapClientNative (0.0.7)

DEPENDENCIES:
- PolywrapClient (= 0.0.8)

SPEC REPOS:
trunk:
- AsyncObjects
- MessagePacker
- OrderedCollections
- PolywrapClient
- PolywrapClientNative

SPEC CHECKSUMS:
AsyncObjects: 37d04187100fd9cd545a6570a8ad727c5a3c5090
MessagePacker: ab2fe250e86ea7aedd1a9ee47a37083edd41fd02
OrderedCollections: c754ce5f9e42cf22b73afd73582317347903ab6d
PolywrapClient: c8f2edac2500bbc421dfe7d2c4af757fa6db7224
PolywrapClientNative: 30398b076b00c8bbf5c2046cfa1c1554c3c31321

PODFILE CHECKSUM: 90587966da0d18a791d29e2a8d3181c36468506e

COCOAPODS: 1.12.1
Loading