Skip to content

Commit

Permalink
feat: iOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
CrabNejonas committed Sep 5, 2024
1 parent 33fa66c commit 0d9e465
Show file tree
Hide file tree
Showing 9 changed files with 698 additions and 1 deletion.
7 changes: 7 additions & 0 deletions bindings/packager/nodejs/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@
"enum": [
"pacman"
]
},
{
"description": "iOS application bundle",
"type": "string",
"enum": [
"ios"
]
}
]
},
Expand Down
7 changes: 7 additions & 0 deletions crates/packager/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@
"enum": [
"pacman"
]
},
{
"description": "iOS application bundle",
"type": "string",
"enum": [
"ios"
]
}
]
},
Expand Down
29 changes: 29 additions & 0 deletions crates/packager/src/package/ios/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
<color key="backgroundColor" red="0.15" green="0.15" blue="0.15" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="53" y="375"/>
</scene>
</scenes>
<resources>
<image name="splash_logo" width="2048" height="491"/>
</resources>
</document>
1 change: 1 addition & 0 deletions crates/packager/src/package/ios/PkgInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APPL????
Loading

0 comments on commit 0d9e465

Please sign in to comment.