pythonnative 0.40.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pythonnative/__init__.py +411 -0
- pythonnative/_ios_log.py +92 -0
- pythonnative/_yoga.cp313-win_amd64.pyd +0 -0
- pythonnative/alerts.py +236 -0
- pythonnative/animated.py +1687 -0
- pythonnative/animation_graph.py +78 -0
- pythonnative/appearance.py +124 -0
- pythonnative/bootstrap.py +100 -0
- pythonnative/bridge/__init__.py +302 -0
- pythonnative/bridge/android.py +78 -0
- pythonnative/bridge/codec.py +170 -0
- pythonnative/bridge/commits.py +114 -0
- pythonnative/bridge/fake.py +243 -0
- pythonnative/bridge/ios.py +138 -0
- pythonnative/bridge/web.py +489 -0
- pythonnative/cli/__init__.py +7 -0
- pythonnative/cli/pn.py +1214 -0
- pythonnative/component.py +271 -0
- pythonnative/components/__init__.py +111 -0
- pythonnative/components/_base.py +166 -0
- pythonnative/components/controls.py +521 -0
- pythonnative/components/layout.py +518 -0
- pythonnative/components/lists.py +785 -0
- pythonnative/components/media.py +204 -0
- pythonnative/components/overlays.py +107 -0
- pythonnative/components/pressable.py +252 -0
- pythonnative/components/structural.py +167 -0
- pythonnative/components/text.py +291 -0
- pythonnative/devclient.py +824 -0
- pythonnative/devserver/__init__.py +34 -0
- pythonnative/devserver/server.py +718 -0
- pythonnative/devserver/static/animation_graph.js +82 -0
- pythonnative/devserver/static/bridge.js +147 -0
- pythonnative/devserver/static/colors.js +70 -0
- pythonnative/devserver/static/host.js +552 -0
- pythonnative/devserver/static/index.html +60 -0
- pythonnative/devserver/static/layout.js +85 -0
- pythonnative/devserver/static/preview.css +415 -0
- pythonnative/devserver/static/renderer.js +1994 -0
- pythonnative/devserver/static/shell.js +345 -0
- pythonnative/devserver/static/yoga/LICENSE +21 -0
- pythonnative/devserver/static/yoga/binaries/yoga-wasm-base64-esm.js +75 -0
- pythonnative/devserver/static/yoga/src/generated/YGEnums.d.ts +189 -0
- pythonnative/devserver/static/yoga/src/generated/YGEnums.js +211 -0
- pythonnative/devserver/static/yoga/src/generated/YGEnums.js.map +1 -0
- pythonnative/devserver/static/yoga/src/index.d.ts +12 -0
- pythonnative/devserver/static/yoga/src/index.js +16 -0
- pythonnative/devserver/static/yoga/src/index.js.map +1 -0
- pythonnative/devserver/static/yoga/src/load.d.ts +11 -0
- pythonnative/devserver/static/yoga/src/load.js +17 -0
- pythonnative/devserver/static/yoga/src/load.js.map +1 -0
- pythonnative/devserver/static/yoga/src/wrapAssembly.d.ts +155 -0
- pythonnative/devserver/static/yoga/src/wrapAssembly.js +125 -0
- pythonnative/devserver/static/yoga/src/wrapAssembly.js.map +1 -0
- pythonnative/devserver/watcher.py +267 -0
- pythonnative/devserver/ws.py +421 -0
- pythonnative/diagnostics.py +241 -0
- pythonnative/element.py +159 -0
- pythonnative/equality.py +19 -0
- pythonnative/events.py +231 -0
- pythonnative/gestures.py +1333 -0
- pythonnative/hooks.py +1621 -0
- pythonnative/hosts/__init__.py +63 -0
- pythonnative/hosts/base.py +596 -0
- pythonnative/hosts/native.py +302 -0
- pythonnative/hot_reload.py +585 -0
- pythonnative/layout.py +328 -0
- pythonnative/mutations.py +142 -0
- pythonnative/native/android/build.gradle +52 -0
- pythonnative/native/android/gradle.properties +3 -0
- pythonnative/native/android/settings.gradle +12 -0
- pythonnative/native/android/src/main/AndroidManifest.xml +11 -0
- pythonnative/native/android/src/main/cpp/CMakeLists.txt +9 -0
- pythonnative/native/android/src/main/cpp/yoga_jni.cpp +52 -0
- pythonnative/native/android/src/main/java/com/pythonnative/generated/NativeModules.kt +5 -0
- pythonnative/native/android/src/main/java/com/pythonnative/generated/NativeProps.kt +3705 -0
- pythonnative/native/android/src/main/java/com/pythonnative/generated/PNContracts.kt +129 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/PNBridge.kt +261 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/PythonHost.kt +20 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/animation/AnimationGraph.kt +108 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/animation/AnimationSpecs.kt +141 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/animation/PNAnimator.kt +257 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/CommitState.kt +106 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/JsonUtil.kt +175 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/MainThread.kt +40 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/PNLog.kt +33 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/PNRegistry.kt +82 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/PNTransaction.kt +80 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/TransactionApplier.kt +117 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/bridge/ViewRegistry.kt +74 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/BuiltinComponents.kt +37 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ButtonManager.kt +32 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ComponentManager.kt +213 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ContainerManagers.kt +69 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ControlManagers.kt +186 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/DatePickerManager.kt +123 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ImageLoader.kt +141 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ImageManager.kt +162 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ModalManager.kt +134 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/PNColor.kt +201 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/PickerManager.kt +86 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/PortalManager.kt +55 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/PressableManager.kt +122 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ScreenStackManager.kt +110 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ScrollViewManager.kt +214 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/SegmentedControlManager.kt +113 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/StatusBarManager.kt +52 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/TabBarManager.kt +131 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/TextInputManager.kt +250 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/TextManager.kt +233 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/ViewStyler.kt +355 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/VirtualListManager.kt +159 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/components/WebViewManager.kt +149 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/gestures/GestureArbiter.kt +233 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/gestures/GestureCoordinator.kt +127 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/gestures/GestureRecognizers.kt +527 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/layout/NativeLayout.kt +145 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/layout/YogaNode.kt +29 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/BuiltinModules.kt +73 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/DeviceModules.kt +316 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/HostModule.kt +61 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/MediaModules.kt +200 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/NativeModule.kt +158 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/NotificationsModule.kt +100 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/PermissionsModule.kt +99 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/StorageModules.kt +89 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/modules/SystemModules.kt +178 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/plugins/GeneratedPlugins.kt +16 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/screens/PNScreenFragment.kt +188 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/screens/ScreenRegistry.kt +80 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/views/PNAccessibilityDelegate.kt +48 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/views/PNBorderDrawable.kt +76 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/views/PNEditText.kt +18 -0
- pythonnative/native/android/src/main/java/com/pythonnative/runtime/views/PNFrameLayout.kt +49 -0
- pythonnative/native/android/src/test/java/com/pythonnative/runtime/AnimationSpecsTest.kt +75 -0
- pythonnative/native/android/src/test/java/com/pythonnative/runtime/GestureArbiterTest.kt +197 -0
- pythonnative/native/android/src/test/java/com/pythonnative/runtime/PNColorTest.kt +47 -0
- pythonnative/native/android/src/test/java/com/pythonnative/runtime/PNTransactionTest.kt +78 -0
- pythonnative/native/android/src/test/java/com/pythonnative/runtime/PromiseTest.kt +89 -0
- pythonnative/native/ios/Package.swift +23 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Animation/PNAnimationGraph.swift +199 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Animation/PNAnimator.swift +312 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Bridge/PNBridge.swift +255 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Bridge/PNCommit.swift +104 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Bridge/PNRegistry.swift +142 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Bridge/PNTransaction.swift +166 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Bridge/PNViewRegistry.swift +53 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNButtonManagers.swift +207 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNColor.swift +173 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNComponentManager.swift +183 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNContainerView.swift +56 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNControlManagers.swift +281 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNImageManager.swift +222 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNOverlayManagers.swift +243 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNPressableManager.swift +114 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNScreenStackManager.swift +107 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNScrollViewManager.swift +197 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNTabBarManager.swift +106 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNTextInputManager.swift +297 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNTextManager.swift +230 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNTransform.swift +82 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNViewManager.swift +86 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNViewState.swift +87 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNViewStyler.swift +340 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNVirtualListManager.swift +155 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Components/PNWebViewManager.swift +124 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Generated/NativeModules.swift +1 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Generated/NativeProps.swift +3775 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Generated/PNContracts.swift +46 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Gestures/PNGestureCoordinator.swift +260 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Layout/PNLayout.swift +173 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/AlertModule.swift +92 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/HostModule.swift +80 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/LifecycleModules.swift +174 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/MediaModules.swift +177 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/PNNativeModule.swift +168 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/PermissionModules.swift +266 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Modules/SystemModules.swift +251 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Plugins/PNPluginRegistration.swift +8 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Screens/PNScreenRegistry.swift +46 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Screens/PNViewController.swift +237 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Support/PNCompat.swift +46 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Support/PNJSON.swift +173 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Support/PNLog.swift +47 -0
- pythonnative/native/ios/Sources/PythonNativeKit/Support/PNWindow.swift +51 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNAnimationGraphTests.swift +26 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNColorTests.swift +50 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNCommitTests.swift +86 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNGestureTests.swift +101 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNManagerTests.swift +126 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNModuleTests.swift +111 -0
- pythonnative/native/ios/Tests/PythonNativeKitTests/PNTransactionTests.swift +91 -0
- pythonnative/native/yoga/LICENSE +21 -0
- pythonnative/native/yoga/Package.swift +9 -0
- pythonnative/native/yoga/VENDORED.md +2 -0
- pythonnative/native/yoga/include/PNStyle.h +10 -0
- pythonnative/native/yoga/include/module.modulemap +5 -0
- pythonnative/native/yoga/include/yoga/YGConfig.h +158 -0
- pythonnative/native/yoga/include/yoga/YGEnums.h +142 -0
- pythonnative/native/yoga/include/yoga/YGMacros.h +99 -0
- pythonnative/native/yoga/include/yoga/YGNode.h +304 -0
- pythonnative/native/yoga/include/yoga/YGNodeLayout.h +35 -0
- pythonnative/native/yoga/include/yoga/YGNodeStyle.h +130 -0
- pythonnative/native/yoga/include/yoga/YGPixelGrid.h +29 -0
- pythonnative/native/yoga/include/yoga/YGValue.h +84 -0
- pythonnative/native/yoga/include/yoga/Yoga.h +21 -0
- pythonnative/native/yoga/python.cpp +16 -0
- pythonnative/native/yoga/style.cpp +272 -0
- pythonnative/native/yoga/yoga/CMakeLists.txt +41 -0
- pythonnative/native/yoga/yoga/YGConfig.cpp +92 -0
- pythonnative/native/yoga/yoga/YGConfig.h +158 -0
- pythonnative/native/yoga/yoga/YGEnums.cpp +262 -0
- pythonnative/native/yoga/yoga/YGEnums.h +142 -0
- pythonnative/native/yoga/yoga/YGMacros.h +99 -0
- pythonnative/native/yoga/yoga/YGNode.cpp +366 -0
- pythonnative/native/yoga/yoga/YGNode.h +304 -0
- pythonnative/native/yoga/yoga/YGNodeLayout.cpp +92 -0
- pythonnative/native/yoga/yoga/YGNodeLayout.h +35 -0
- pythonnative/native/yoga/yoga/YGNodeStyle.cpp +405 -0
- pythonnative/native/yoga/yoga/YGNodeStyle.h +130 -0
- pythonnative/native/yoga/yoga/YGPixelGrid.cpp +22 -0
- pythonnative/native/yoga/yoga/YGPixelGrid.h +29 -0
- pythonnative/native/yoga/yoga/YGValue.cpp +20 -0
- pythonnative/native/yoga/yoga/YGValue.h +84 -0
- pythonnative/native/yoga/yoga/Yoga.h +21 -0
- pythonnative/native/yoga/yoga/algorithm/AbsoluteLayout.cpp +563 -0
- pythonnative/native/yoga/yoga/algorithm/AbsoluteLayout.h +41 -0
- pythonnative/native/yoga/yoga/algorithm/Align.h +72 -0
- pythonnative/native/yoga/yoga/algorithm/Baseline.cpp +78 -0
- pythonnative/native/yoga/yoga/algorithm/Baseline.h +21 -0
- pythonnative/native/yoga/yoga/algorithm/BoundAxis.h +79 -0
- pythonnative/native/yoga/yoga/algorithm/Cache.cpp +121 -0
- pythonnative/native/yoga/yoga/algorithm/Cache.h +30 -0
- pythonnative/native/yoga/yoga/algorithm/CalculateLayout.cpp +2428 -0
- pythonnative/native/yoga/yoga/algorithm/CalculateLayout.h +38 -0
- pythonnative/native/yoga/yoga/algorithm/FlexDirection.h +120 -0
- pythonnative/native/yoga/yoga/algorithm/FlexLine.cpp +124 -0
- pythonnative/native/yoga/yoga/algorithm/FlexLine.h +75 -0
- pythonnative/native/yoga/yoga/algorithm/PixelGrid.cpp +132 -0
- pythonnative/native/yoga/yoga/algorithm/PixelGrid.h +29 -0
- pythonnative/native/yoga/yoga/algorithm/SizingMode.h +73 -0
- pythonnative/native/yoga/yoga/algorithm/TrailingPosition.h +44 -0
- pythonnative/native/yoga/yoga/config/Config.cpp +135 -0
- pythonnative/native/yoga/yoga/config/Config.h +92 -0
- pythonnative/native/yoga/yoga/debug/AssertFatal.cpp +53 -0
- pythonnative/native/yoga/yoga/debug/AssertFatal.h +29 -0
- pythonnative/native/yoga/yoga/debug/Log.cpp +107 -0
- pythonnative/native/yoga/yoga/debug/Log.h +34 -0
- pythonnative/native/yoga/yoga/enums/Align.h +47 -0
- pythonnative/native/yoga/yoga/enums/BoxSizing.h +40 -0
- pythonnative/native/yoga/yoga/enums/Dimension.h +40 -0
- pythonnative/native/yoga/yoga/enums/Direction.h +41 -0
- pythonnative/native/yoga/yoga/enums/Display.h +41 -0
- pythonnative/native/yoga/yoga/enums/Edge.h +47 -0
- pythonnative/native/yoga/yoga/enums/Errata.h +41 -0
- pythonnative/native/yoga/yoga/enums/ExperimentalFeature.h +39 -0
- pythonnative/native/yoga/yoga/enums/FlexDirection.h +42 -0
- pythonnative/native/yoga/yoga/enums/Gutter.h +41 -0
- pythonnative/native/yoga/yoga/enums/Justify.h +44 -0
- pythonnative/native/yoga/yoga/enums/LogLevel.h +44 -0
- pythonnative/native/yoga/yoga/enums/MeasureMode.h +41 -0
- pythonnative/native/yoga/yoga/enums/NodeType.h +40 -0
- pythonnative/native/yoga/yoga/enums/Overflow.h +41 -0
- pythonnative/native/yoga/yoga/enums/PhysicalEdge.h +21 -0
- pythonnative/native/yoga/yoga/enums/PositionType.h +41 -0
- pythonnative/native/yoga/yoga/enums/Unit.h +42 -0
- pythonnative/native/yoga/yoga/enums/Wrap.h +41 -0
- pythonnative/native/yoga/yoga/enums/YogaEnums.h +85 -0
- pythonnative/native/yoga/yoga/event/event.cpp +87 -0
- pythonnative/native/yoga/yoga/event/event.h +130 -0
- pythonnative/native/yoga/yoga/module.modulemap +21 -0
- pythonnative/native/yoga/yoga/node/CachedMeasurement.h +53 -0
- pythonnative/native/yoga/yoga/node/LayoutResults.cpp +48 -0
- pythonnative/native/yoga/yoga/node/LayoutResults.h +122 -0
- pythonnative/native/yoga/yoga/node/LayoutableChildren.h +148 -0
- pythonnative/native/yoga/yoga/node/Node.cpp +443 -0
- pythonnative/native/yoga/yoga/node/Node.h +337 -0
- pythonnative/native/yoga/yoga/numeric/Comparison.h +81 -0
- pythonnative/native/yoga/yoga/numeric/FloatOptional.h +93 -0
- pythonnative/native/yoga/yoga/style/SmallValueBuffer.h +133 -0
- pythonnative/native/yoga/yoga/style/Style.h +757 -0
- pythonnative/native/yoga/yoga/style/StyleLength.h +107 -0
- pythonnative/native/yoga/yoga/style/StyleValueHandle.h +98 -0
- pythonnative/native/yoga/yoga/style/StyleValuePool.h +127 -0
- pythonnative/native_modules/__init__.py +124 -0
- pythonnative/native_modules/app_state.py +99 -0
- pythonnative/native_modules/battery.py +75 -0
- pythonnative/native_modules/biometrics.py +42 -0
- pythonnative/native_modules/camera.py +65 -0
- pythonnative/native_modules/clipboard.py +46 -0
- pythonnative/native_modules/fallback.py +324 -0
- pythonnative/native_modules/file_system.py +145 -0
- pythonnative/native_modules/haptics.py +75 -0
- pythonnative/native_modules/linking.py +123 -0
- pythonnative/native_modules/location.py +75 -0
- pythonnative/native_modules/net_info.py +112 -0
- pythonnative/native_modules/notifications.py +129 -0
- pythonnative/native_modules/permissions.py +108 -0
- pythonnative/native_modules/registry.py +526 -0
- pythonnative/native_modules/secure_store.py +52 -0
- pythonnative/native_modules/share.py +51 -0
- pythonnative/native_views/__init__.py +375 -0
- pythonnative/native_views/base.py +316 -0
- pythonnative/native_views/bridge_backend.py +277 -0
- pythonnative/navigation/__init__.py +103 -0
- pythonnative/navigation/container.py +154 -0
- pythonnative/navigation/handle.py +540 -0
- pythonnative/navigation/hooks.py +133 -0
- pythonnative/navigation/host.py +58 -0
- pythonnative/navigation/linking.py +200 -0
- pythonnative/navigation/navigators.py +659 -0
- pythonnative/navigation/screen.py +149 -0
- pythonnative/navigation/state.py +269 -0
- pythonnative/net.py +248 -0
- pythonnative/platform.py +166 -0
- pythonnative/platform_metrics.py +252 -0
- pythonnative/preview.py +287 -0
- pythonnative/profiling.py +101 -0
- pythonnative/project/__init__.py +68 -0
- pythonnative/project/android.py +557 -0
- pythonnative/project/builder.py +817 -0
- pythonnative/project/config.py +773 -0
- pythonnative/project/deps.py +719 -0
- pythonnative/project/devices.py +304 -0
- pythonnative/project/doctor.py +283 -0
- pythonnative/project/fingerprint.py +171 -0
- pythonnative/project/icons.py +247 -0
- pythonnative/project/ios.py +325 -0
- pythonnative/project/lockfile.py +100 -0
- pythonnative/project/permissions.py +361 -0
- pythonnative/project/plugins.py +519 -0
- pythonnative/project/runtime_assets.py +183 -0
- pythonnative/py.typed +0 -0
- pythonnative/query.py +153 -0
- pythonnative/reconciler/__init__.py +29 -0
- pythonnative/reconciler/boundaries.py +375 -0
- pythonnative/reconciler/children.py +88 -0
- pythonnative/reconciler/core.py +1165 -0
- pythonnative/reconciler/layout_pass.py +393 -0
- pythonnative/reconciler/vnode.py +266 -0
- pythonnative/refresh.py +55 -0
- pythonnative/runtime.py +306 -0
- pythonnative/scheduler.py +159 -0
- pythonnative/sdk/__init__.py +153 -0
- pythonnative/sdk/_components.py +427 -0
- pythonnative/sdk/builtins.py +91 -0
- pythonnative/sdk/codegen.py +149 -0
- pythonnative/sdk/module_codegen.py +184 -0
- pythonnative/sdk/schema.py +224 -0
- pythonnative/sdk/templates/contracts.kt +46 -0
- pythonnative/sdk/templates/contracts.swift +46 -0
- pythonnative/storage.py +184 -0
- pythonnative/style.py +841 -0
- pythonnative/suspense.py +183 -0
- pythonnative/templates/android_template/app/build.gradle +75 -0
- pythonnative/templates/android_template/app/proguard-rules.pro +21 -0
- pythonnative/templates/android_template/app/src/androidTest/java/com/pythonnative/android_template/ExampleInstrumentedTest.kt +24 -0
- pythonnative/templates/android_template/app/src/debug/AndroidManifest.xml +7 -0
- pythonnative/templates/android_template/app/src/main/AndroidManifest.xml +32 -0
- pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/MainActivity.kt +130 -0
- pythonnative/templates/android_template/app/src/main/java/com/pythonnative/android_template/ScreenFragment.kt +13 -0
- pythonnative/templates/android_template/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
- pythonnative/templates/android_template/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +30 -0
- pythonnative/templates/android_template/app/src/main/res/layout/activity_main.xml +10 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +6 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +6 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-hdpi/ic_launcher.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-mdpi/ic_launcher.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xhdpi/ic_launcher.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp +0 -0
- pythonnative/templates/android_template/app/src/main/res/navigation/nav_graph.xml +22 -0
- pythonnative/templates/android_template/app/src/main/res/values/colors.xml +5 -0
- pythonnative/templates/android_template/app/src/main/res/values/strings.xml +5 -0
- pythonnative/templates/android_template/app/src/main/res/values/themes.xml +9 -0
- pythonnative/templates/android_template/app/src/main/res/values-night/themes.xml +7 -0
- pythonnative/templates/android_template/app/src/main/res/xml/backup_rules.xml +13 -0
- pythonnative/templates/android_template/app/src/main/res/xml/data_extraction_rules.xml +19 -0
- pythonnative/templates/android_template/app/src/test/java/com/pythonnative/android_template/ExampleUnitTest.kt +17 -0
- pythonnative/templates/android_template/build.gradle +10 -0
- pythonnative/templates/android_template/gradle/wrapper/gradle-wrapper.jar +0 -0
- pythonnative/templates/android_template/gradle/wrapper/gradle-wrapper.properties +6 -0
- pythonnative/templates/android_template/gradle.properties +23 -0
- pythonnative/templates/android_template/gradlew +185 -0
- pythonnative/templates/android_template/gradlew.bat +89 -0
- pythonnative/templates/android_template/settings.gradle +17 -0
- pythonnative/templates/ios_template/ios_template/AppDelegate.swift +51 -0
- pythonnative/templates/ios_template/ios_template/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- pythonnative/templates/ios_template/ios_template/Assets.xcassets/AppIcon.appiconset/Contents.json +13 -0
- pythonnative/templates/ios_template/ios_template/Assets.xcassets/Contents.json +6 -0
- pythonnative/templates/ios_template/ios_template/Base.lproj/LaunchScreen.storyboard +25 -0
- pythonnative/templates/ios_template/ios_template/BridgingHeader.h +14 -0
- pythonnative/templates/ios_template/ios_template/Info.plist +28 -0
- pythonnative/templates/ios_template/ios_template/PythonRuntime.swift +390 -0
- pythonnative/templates/ios_template/ios_template/SceneDelegate.swift +61 -0
- pythonnative/templates/ios_template/ios_template/ViewController.swift +23 -0
- pythonnative/templates/ios_template/ios_template.xcodeproj/project.pbxproj +745 -0
- pythonnative/templates/ios_template/ios_template.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- pythonnative/templates/ios_template/ios_templateTests/ios_templateTests.swift +36 -0
- pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITests.swift +41 -0
- pythonnative/templates/ios_template/ios_templateUITests/ios_templateUITestsLaunchTests.swift +32 -0
- pythonnative/testing/__init__.py +53 -0
- pythonnative/testing/backend.py +276 -0
- pythonnative/testing/harness.py +369 -0
- pythonnative/utils.py +145 -0
- pythonnative-0.40.0.dist-info/DELVEWHEEL +2 -0
- pythonnative-0.40.0.dist-info/METADATA +150 -0
- pythonnative-0.40.0.dist-info/RECORD +418 -0
- pythonnative-0.40.0.dist-info/WHEEL +5 -0
- pythonnative-0.40.0.dist-info/entry_points.txt +2 -0
- pythonnative-0.40.0.dist-info/licenses/LICENSE +21 -0
- pythonnative-0.40.0.dist-info/top_level.txt +1 -0
- pythonnative.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll +0 -0
|
@@ -0,0 +1,745 @@
|
|
|
1
|
+
// !$*UTF8*$!
|
|
2
|
+
{
|
|
3
|
+
archiveVersion = 1;
|
|
4
|
+
classes = {
|
|
5
|
+
};
|
|
6
|
+
objectVersion = 60;
|
|
7
|
+
objects = {
|
|
8
|
+
|
|
9
|
+
/* Begin PBXBuildFile section */
|
|
10
|
+
146EBB822A40CCC900E4A2B3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBB812A40CCC900E4A2B3 /* AppDelegate.swift */; };
|
|
11
|
+
146EBB842A40CCC900E4A2B3 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBB832A40CCC900E4A2B3 /* SceneDelegate.swift */; };
|
|
12
|
+
146EBB862A40CCC900E4A2B3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBB852A40CCC900E4A2B3 /* ViewController.swift */; };
|
|
13
|
+
146EBB8B2A40CCCE00E4A2B3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 146EBB8A2A40CCCE00E4A2B3 /* Assets.xcassets */; };
|
|
14
|
+
146EBB8E2A40CCCE00E4A2B3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 146EBB8C2A40CCCE00E4A2B3 /* LaunchScreen.storyboard */; };
|
|
15
|
+
146EBB992A40CCCE00E4A2B3 /* ios_templateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBB982A40CCCE00E4A2B3 /* ios_templateTests.swift */; };
|
|
16
|
+
146EBBA32A40CCCE00E4A2B3 /* ios_templateUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBBA22A40CCCE00E4A2B3 /* ios_templateUITests.swift */; };
|
|
17
|
+
146EBBA52A40CCCE00E4A2B3 /* ios_templateUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 146EBBA42A40CCCE00E4A2B3 /* ios_templateUITestsLaunchTests.swift */; };
|
|
18
|
+
AA0000000000000000000002 /* PythonRuntime.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000001 /* PythonRuntime.swift */; };
|
|
19
|
+
AA0000000000000000000004 /* Python.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000003 /* Python.xcframework */; };
|
|
20
|
+
AA0000000000000000000005 /* Python.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000003 /* Python.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
|
|
21
|
+
AA0000000000000000000007 /* app in Resources */ = {isa = PBXBuildFile; fileRef = AA0000000000000000000006 /* app */; };
|
|
22
|
+
AA000000000000000000000D /* PythonNativeKit in Frameworks */ = {isa = PBXBuildFile; productRef = AA000000000000000000000C /* PythonNativeKit */; };
|
|
23
|
+
/* End PBXBuildFile section */
|
|
24
|
+
|
|
25
|
+
/* Begin PBXContainerItemProxy section */
|
|
26
|
+
146EBB952A40CCCE00E4A2B3 /* PBXContainerItemProxy */ = {
|
|
27
|
+
isa = PBXContainerItemProxy;
|
|
28
|
+
containerPortal = 146EBB762A40CCC900E4A2B3 /* Project object */;
|
|
29
|
+
proxyType = 1;
|
|
30
|
+
remoteGlobalIDString = 146EBB7D2A40CCC900E4A2B3;
|
|
31
|
+
remoteInfo = ios_template;
|
|
32
|
+
};
|
|
33
|
+
146EBB9F2A40CCCE00E4A2B3 /* PBXContainerItemProxy */ = {
|
|
34
|
+
isa = PBXContainerItemProxy;
|
|
35
|
+
containerPortal = 146EBB762A40CCC900E4A2B3 /* Project object */;
|
|
36
|
+
proxyType = 1;
|
|
37
|
+
remoteGlobalIDString = 146EBB7D2A40CCC900E4A2B3;
|
|
38
|
+
remoteInfo = ios_template;
|
|
39
|
+
};
|
|
40
|
+
/* End PBXContainerItemProxy section */
|
|
41
|
+
|
|
42
|
+
/* Begin PBXFileReference section */
|
|
43
|
+
146EBB7E2A40CCC900E4A2B3 /* ios_template.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ios_template.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
44
|
+
146EBB812A40CCC900E4A2B3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
|
45
|
+
146EBB832A40CCC900E4A2B3 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
|
|
46
|
+
146EBB852A40CCC900E4A2B3 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
|
|
47
|
+
146EBB8A2A40CCCE00E4A2B3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
|
|
48
|
+
146EBB8D2A40CCCE00E4A2B3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
49
|
+
146EBB8F2A40CCCE00E4A2B3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
50
|
+
146EBB942A40CCCE00E4A2B3 /* ios_templateTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ios_templateTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
51
|
+
146EBB982A40CCCE00E4A2B3 /* ios_templateTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ios_templateTests.swift; sourceTree = "<group>"; };
|
|
52
|
+
146EBB9E2A40CCCE00E4A2B3 /* ios_templateUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ios_templateUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
53
|
+
146EBBA22A40CCCE00E4A2B3 /* ios_templateUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ios_templateUITests.swift; sourceTree = "<group>"; };
|
|
54
|
+
146EBBA42A40CCCE00E4A2B3 /* ios_templateUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ios_templateUITestsLaunchTests.swift; sourceTree = "<group>"; };
|
|
55
|
+
AA0000000000000000000001 /* PythonRuntime.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PythonRuntime.swift; sourceTree = "<group>"; };
|
|
56
|
+
AA0000000000000000000003 /* Python.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = Python.xcframework; sourceTree = "<group>"; };
|
|
57
|
+
AA0000000000000000000006 /* app */ = {isa = PBXFileReference; lastKnownFileType = folder; path = app; sourceTree = "<group>"; };
|
|
58
|
+
AA0000000000000000000008 /* app_packages.iphoneos */ = {isa = PBXFileReference; lastKnownFileType = folder; path = app_packages.iphoneos; sourceTree = "<group>"; };
|
|
59
|
+
AA000000000000000000000F /* app_packages.iphonesimulator */ = {isa = PBXFileReference; lastKnownFileType = folder; path = app_packages.iphonesimulator; sourceTree = "<group>"; };
|
|
60
|
+
AA000000000000000000000B /* BridgingHeader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BridgingHeader.h; sourceTree = "<group>"; };
|
|
61
|
+
/* End PBXFileReference section */
|
|
62
|
+
|
|
63
|
+
/* Begin PBXFrameworksBuildPhase section */
|
|
64
|
+
146EBB7B2A40CCC900E4A2B3 /* Frameworks */ = {
|
|
65
|
+
isa = PBXFrameworksBuildPhase;
|
|
66
|
+
buildActionMask = 2147483647;
|
|
67
|
+
files = (
|
|
68
|
+
AA0000000000000000000004 /* Python.xcframework in Frameworks */,
|
|
69
|
+
AA000000000000000000000D /* PythonNativeKit in Frameworks */,
|
|
70
|
+
);
|
|
71
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
72
|
+
};
|
|
73
|
+
146EBB912A40CCCE00E4A2B3 /* Frameworks */ = {
|
|
74
|
+
isa = PBXFrameworksBuildPhase;
|
|
75
|
+
buildActionMask = 2147483647;
|
|
76
|
+
files = (
|
|
77
|
+
);
|
|
78
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
79
|
+
};
|
|
80
|
+
146EBB9B2A40CCCE00E4A2B3 /* Frameworks */ = {
|
|
81
|
+
isa = PBXFrameworksBuildPhase;
|
|
82
|
+
buildActionMask = 2147483647;
|
|
83
|
+
files = (
|
|
84
|
+
);
|
|
85
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
86
|
+
};
|
|
87
|
+
/* End PBXFrameworksBuildPhase section */
|
|
88
|
+
|
|
89
|
+
/* Begin PBXGroup section */
|
|
90
|
+
146EBB752A40CCC900E4A2B3 = {
|
|
91
|
+
isa = PBXGroup;
|
|
92
|
+
children = (
|
|
93
|
+
146EBB802A40CCC900E4A2B3 /* ios_template */,
|
|
94
|
+
146EBB972A40CCCE00E4A2B3 /* ios_templateTests */,
|
|
95
|
+
146EBBA12A40CCCE00E4A2B3 /* ios_templateUITests */,
|
|
96
|
+
AA0000000000000000000003 /* Python.xcframework */,
|
|
97
|
+
AA0000000000000000000006 /* app */,
|
|
98
|
+
AA0000000000000000000008 /* app_packages.iphoneos */,
|
|
99
|
+
AA000000000000000000000F /* app_packages.iphonesimulator */,
|
|
100
|
+
146EBB7F2A40CCC900E4A2B3 /* Products */,
|
|
101
|
+
);
|
|
102
|
+
sourceTree = "<group>";
|
|
103
|
+
};
|
|
104
|
+
146EBB7F2A40CCC900E4A2B3 /* Products */ = {
|
|
105
|
+
isa = PBXGroup;
|
|
106
|
+
children = (
|
|
107
|
+
146EBB7E2A40CCC900E4A2B3 /* ios_template.app */,
|
|
108
|
+
146EBB942A40CCCE00E4A2B3 /* ios_templateTests.xctest */,
|
|
109
|
+
146EBB9E2A40CCCE00E4A2B3 /* ios_templateUITests.xctest */,
|
|
110
|
+
);
|
|
111
|
+
name = Products;
|
|
112
|
+
sourceTree = "<group>";
|
|
113
|
+
};
|
|
114
|
+
146EBB802A40CCC900E4A2B3 /* ios_template */ = {
|
|
115
|
+
isa = PBXGroup;
|
|
116
|
+
children = (
|
|
117
|
+
146EBB812A40CCC900E4A2B3 /* AppDelegate.swift */,
|
|
118
|
+
146EBB832A40CCC900E4A2B3 /* SceneDelegate.swift */,
|
|
119
|
+
146EBB852A40CCC900E4A2B3 /* ViewController.swift */,
|
|
120
|
+
AA0000000000000000000001 /* PythonRuntime.swift */,
|
|
121
|
+
AA000000000000000000000B /* BridgingHeader.h */,
|
|
122
|
+
146EBB8A2A40CCCE00E4A2B3 /* Assets.xcassets */,
|
|
123
|
+
146EBB8C2A40CCCE00E4A2B3 /* LaunchScreen.storyboard */,
|
|
124
|
+
146EBB8F2A40CCCE00E4A2B3 /* Info.plist */,
|
|
125
|
+
);
|
|
126
|
+
path = ios_template;
|
|
127
|
+
sourceTree = "<group>";
|
|
128
|
+
};
|
|
129
|
+
146EBB972A40CCCE00E4A2B3 /* ios_templateTests */ = {
|
|
130
|
+
isa = PBXGroup;
|
|
131
|
+
children = (
|
|
132
|
+
146EBB982A40CCCE00E4A2B3 /* ios_templateTests.swift */,
|
|
133
|
+
);
|
|
134
|
+
path = ios_templateTests;
|
|
135
|
+
sourceTree = "<group>";
|
|
136
|
+
};
|
|
137
|
+
146EBBA12A40CCCE00E4A2B3 /* ios_templateUITests */ = {
|
|
138
|
+
isa = PBXGroup;
|
|
139
|
+
children = (
|
|
140
|
+
146EBBA22A40CCCE00E4A2B3 /* ios_templateUITests.swift */,
|
|
141
|
+
146EBBA42A40CCCE00E4A2B3 /* ios_templateUITestsLaunchTests.swift */,
|
|
142
|
+
);
|
|
143
|
+
path = ios_templateUITests;
|
|
144
|
+
sourceTree = "<group>";
|
|
145
|
+
};
|
|
146
|
+
/* End PBXGroup section */
|
|
147
|
+
|
|
148
|
+
/* Begin PBXNativeTarget section */
|
|
149
|
+
146EBB7D2A40CCC900E4A2B3 /* ios_template */ = {
|
|
150
|
+
isa = PBXNativeTarget;
|
|
151
|
+
buildConfigurationList = 146EBBA82A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_template" */;
|
|
152
|
+
buildPhases = (
|
|
153
|
+
146EBB7A2A40CCC900E4A2B3 /* Sources */,
|
|
154
|
+
146EBB7B2A40CCC900E4A2B3 /* Frameworks */,
|
|
155
|
+
146EBB7C2A40CCC900E4A2B3 /* Resources */,
|
|
156
|
+
AA000000000000000000000A /* Install Python runtime */,
|
|
157
|
+
146EBC002A40CCCE00E4A2B3 /* Embed Frameworks */,
|
|
158
|
+
);
|
|
159
|
+
buildRules = (
|
|
160
|
+
);
|
|
161
|
+
dependencies = (
|
|
162
|
+
);
|
|
163
|
+
name = ios_template;
|
|
164
|
+
packageProductDependencies = (
|
|
165
|
+
AA000000000000000000000C /* PythonNativeKit */,
|
|
166
|
+
);
|
|
167
|
+
productName = ios_template;
|
|
168
|
+
productReference = 146EBB7E2A40CCC900E4A2B3 /* ios_template.app */;
|
|
169
|
+
productType = "com.apple.product-type.application";
|
|
170
|
+
};
|
|
171
|
+
146EBB932A40CCCE00E4A2B3 /* ios_templateTests */ = {
|
|
172
|
+
isa = PBXNativeTarget;
|
|
173
|
+
buildConfigurationList = 146EBBAB2A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_templateTests" */;
|
|
174
|
+
buildPhases = (
|
|
175
|
+
146EBB902A40CCCE00E4A2B3 /* Sources */,
|
|
176
|
+
146EBB912A40CCCE00E4A2B3 /* Frameworks */,
|
|
177
|
+
146EBB922A40CCCE00E4A2B3 /* Resources */,
|
|
178
|
+
);
|
|
179
|
+
buildRules = (
|
|
180
|
+
);
|
|
181
|
+
dependencies = (
|
|
182
|
+
146EBB962A40CCCE00E4A2B3 /* PBXTargetDependency */,
|
|
183
|
+
);
|
|
184
|
+
name = ios_templateTests;
|
|
185
|
+
productName = ios_templateTests;
|
|
186
|
+
productReference = 146EBB942A40CCCE00E4A2B3 /* ios_templateTests.xctest */;
|
|
187
|
+
productType = "com.apple.product-type.bundle.unit-test";
|
|
188
|
+
};
|
|
189
|
+
146EBB9D2A40CCCE00E4A2B3 /* ios_templateUITests */ = {
|
|
190
|
+
isa = PBXNativeTarget;
|
|
191
|
+
buildConfigurationList = 146EBBAE2A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_templateUITests" */;
|
|
192
|
+
buildPhases = (
|
|
193
|
+
146EBB9A2A40CCCE00E4A2B3 /* Sources */,
|
|
194
|
+
146EBB9B2A40CCCE00E4A2B3 /* Frameworks */,
|
|
195
|
+
146EBB9C2A40CCCE00E4A2B3 /* Resources */,
|
|
196
|
+
);
|
|
197
|
+
buildRules = (
|
|
198
|
+
);
|
|
199
|
+
dependencies = (
|
|
200
|
+
146EBBA02A40CCCE00E4A2B3 /* PBXTargetDependency */,
|
|
201
|
+
);
|
|
202
|
+
name = ios_templateUITests;
|
|
203
|
+
productName = ios_templateUITests;
|
|
204
|
+
productReference = 146EBB9E2A40CCCE00E4A2B3 /* ios_templateUITests.xctest */;
|
|
205
|
+
productType = "com.apple.product-type.bundle.ui-testing";
|
|
206
|
+
};
|
|
207
|
+
/* End PBXNativeTarget section */
|
|
208
|
+
|
|
209
|
+
/* Begin PBXProject section */
|
|
210
|
+
146EBB762A40CCC900E4A2B3 /* Project object */ = {
|
|
211
|
+
isa = PBXProject;
|
|
212
|
+
attributes = {
|
|
213
|
+
BuildIndependentTargetsInParallel = 1;
|
|
214
|
+
LastSwiftUpdateCheck = 1430;
|
|
215
|
+
LastUpgradeCheck = 1430;
|
|
216
|
+
TargetAttributes = {
|
|
217
|
+
146EBB7D2A40CCC900E4A2B3 = {
|
|
218
|
+
CreatedOnToolsVersion = 14.3.1;
|
|
219
|
+
};
|
|
220
|
+
146EBB932A40CCCE00E4A2B3 = {
|
|
221
|
+
CreatedOnToolsVersion = 14.3.1;
|
|
222
|
+
TestTargetID = 146EBB7D2A40CCC900E4A2B3;
|
|
223
|
+
};
|
|
224
|
+
146EBB9D2A40CCCE00E4A2B3 = {
|
|
225
|
+
CreatedOnToolsVersion = 14.3.1;
|
|
226
|
+
TestTargetID = 146EBB7D2A40CCC900E4A2B3;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
buildConfigurationList = 146EBB792A40CCC900E4A2B3 /* Build configuration list for PBXProject "ios_template" */;
|
|
231
|
+
compatibilityVersion = "Xcode 14.0";
|
|
232
|
+
developmentRegion = en;
|
|
233
|
+
hasScannedForEncodings = 0;
|
|
234
|
+
knownRegions = (
|
|
235
|
+
en,
|
|
236
|
+
Base,
|
|
237
|
+
);
|
|
238
|
+
mainGroup = 146EBB752A40CCC900E4A2B3;
|
|
239
|
+
packageReferences = (
|
|
240
|
+
AA000000000000000000000E /* XCLocalSwiftPackageReference "PythonNativeKit" */,
|
|
241
|
+
);
|
|
242
|
+
productRefGroup = 146EBB7F2A40CCC900E4A2B3 /* Products */;
|
|
243
|
+
projectDirPath = "";
|
|
244
|
+
projectRoot = "";
|
|
245
|
+
targets = (
|
|
246
|
+
146EBB7D2A40CCC900E4A2B3 /* ios_template */,
|
|
247
|
+
146EBB932A40CCCE00E4A2B3 /* ios_templateTests */,
|
|
248
|
+
146EBB9D2A40CCCE00E4A2B3 /* ios_templateUITests */,
|
|
249
|
+
);
|
|
250
|
+
};
|
|
251
|
+
/* End PBXProject section */
|
|
252
|
+
|
|
253
|
+
/* Begin PBXCopyFilesBuildPhase section */
|
|
254
|
+
146EBC002A40CCCE00E4A2B3 /* Embed Frameworks */ = {
|
|
255
|
+
isa = PBXCopyFilesBuildPhase;
|
|
256
|
+
buildActionMask = 2147483647;
|
|
257
|
+
dstPath = "";
|
|
258
|
+
dstSubfolderSpec = 10;
|
|
259
|
+
files = (
|
|
260
|
+
AA0000000000000000000005 /* Python.xcframework in Embed Frameworks */,
|
|
261
|
+
);
|
|
262
|
+
name = "Embed Frameworks";
|
|
263
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
264
|
+
};
|
|
265
|
+
/* End PBXCopyFilesBuildPhase section */
|
|
266
|
+
|
|
267
|
+
/* Begin PBXResourcesBuildPhase section */
|
|
268
|
+
146EBB7C2A40CCC900E4A2B3 /* Resources */ = {
|
|
269
|
+
isa = PBXResourcesBuildPhase;
|
|
270
|
+
buildActionMask = 2147483647;
|
|
271
|
+
files = (
|
|
272
|
+
146EBB8E2A40CCCE00E4A2B3 /* LaunchScreen.storyboard in Resources */,
|
|
273
|
+
146EBB8B2A40CCCE00E4A2B3 /* Assets.xcassets in Resources */,
|
|
274
|
+
AA0000000000000000000007 /* app in Resources */,
|
|
275
|
+
);
|
|
276
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
277
|
+
};
|
|
278
|
+
146EBB922A40CCCE00E4A2B3 /* Resources */ = {
|
|
279
|
+
isa = PBXResourcesBuildPhase;
|
|
280
|
+
buildActionMask = 2147483647;
|
|
281
|
+
files = (
|
|
282
|
+
);
|
|
283
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
284
|
+
};
|
|
285
|
+
146EBB9C2A40CCCE00E4A2B3 /* Resources */ = {
|
|
286
|
+
isa = PBXResourcesBuildPhase;
|
|
287
|
+
buildActionMask = 2147483647;
|
|
288
|
+
files = (
|
|
289
|
+
);
|
|
290
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
291
|
+
};
|
|
292
|
+
/* End PBXResourcesBuildPhase section */
|
|
293
|
+
|
|
294
|
+
/* Begin PBXShellScriptBuildPhase section */
|
|
295
|
+
AA000000000000000000000A /* Install Python runtime */ = {
|
|
296
|
+
isa = PBXShellScriptBuildPhase;
|
|
297
|
+
alwaysOutOfDate = 1;
|
|
298
|
+
buildActionMask = 2147483647;
|
|
299
|
+
files = (
|
|
300
|
+
);
|
|
301
|
+
inputFileListPaths = (
|
|
302
|
+
);
|
|
303
|
+
inputPaths = (
|
|
304
|
+
);
|
|
305
|
+
name = "Install Python runtime";
|
|
306
|
+
outputFileListPaths = (
|
|
307
|
+
);
|
|
308
|
+
outputPaths = (
|
|
309
|
+
);
|
|
310
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
311
|
+
shellPath = /bin/sh;
|
|
312
|
+
shellScript = "set -e
|
|
313
|
+
if [ ! -d \"$PROJECT_DIR/Python.xcframework\" ]; then
|
|
314
|
+
echo \"error: Python.xcframework is missing from the project. Build with 'pn run ios' or 'pn build ios' so the PythonNative CLI links the embedded runtime; the raw template cannot be built directly.\"
|
|
315
|
+
exit 1
|
|
316
|
+
fi
|
|
317
|
+
# Third-party packages are resolved per destination (device vs simulator)
|
|
318
|
+
# because binary wheels differ between the two. The pn CLI stages one
|
|
319
|
+
# folder per platform; install the one matching this build.
|
|
320
|
+
case \"$EFFECTIVE_PLATFORM_NAME\" in
|
|
321
|
+
-iphoneos) PACKAGES_SLICE=\"app_packages.iphoneos\" ;;
|
|
322
|
+
-iphonesimulator) PACKAGES_SLICE=\"app_packages.iphonesimulator\" ;;
|
|
323
|
+
*) echo \"error: unsupported platform '$EFFECTIVE_PLATFORM_NAME' (expected -iphoneos or -iphonesimulator).\"; exit 1 ;;
|
|
324
|
+
esac
|
|
325
|
+
if [ ! -d \"$PROJECT_DIR/app\" ] || [ ! -d \"$PROJECT_DIR/$PACKAGES_SLICE\" ]; then
|
|
326
|
+
echo \"error: app/ or $PACKAGES_SLICE/ has not been staged. Build with 'pn run ios' or 'pn build ios' so the PythonNative CLI stages the Python sources.\"
|
|
327
|
+
exit 1
|
|
328
|
+
fi
|
|
329
|
+
if [ ! -d \"$PROJECT_DIR/$PACKAGES_SLICE/pythonnative\" ]; then
|
|
330
|
+
echo \"error: the pythonnative package is missing from $PACKAGES_SLICE/. Re-run 'pn run ios' or 'pn build ios'.\"
|
|
331
|
+
exit 1
|
|
332
|
+
fi
|
|
333
|
+
echo \"Installing $PACKAGES_SLICE into the app bundle\"
|
|
334
|
+
mkdir -p \"$CODESIGNING_FOLDER_PATH/app_packages\"
|
|
335
|
+
rsync -au --delete \"$PROJECT_DIR/$PACKAGES_SLICE/\" \"$CODESIGNING_FOLDER_PATH/app_packages/\"
|
|
336
|
+
source \"$PROJECT_DIR/Python.xcframework/build/utils.sh\"
|
|
337
|
+
install_python Python.xcframework app app_packages
|
|
338
|
+
";
|
|
339
|
+
showEnvVarsInLog = 0;
|
|
340
|
+
};
|
|
341
|
+
/* End PBXShellScriptBuildPhase section */
|
|
342
|
+
|
|
343
|
+
/* Begin PBXSourcesBuildPhase section */
|
|
344
|
+
146EBB7A2A40CCC900E4A2B3 /* Sources */ = {
|
|
345
|
+
isa = PBXSourcesBuildPhase;
|
|
346
|
+
buildActionMask = 2147483647;
|
|
347
|
+
files = (
|
|
348
|
+
146EBB862A40CCC900E4A2B3 /* ViewController.swift in Sources */,
|
|
349
|
+
AA0000000000000000000002 /* PythonRuntime.swift in Sources */,
|
|
350
|
+
146EBB822A40CCC900E4A2B3 /* AppDelegate.swift in Sources */,
|
|
351
|
+
146EBB842A40CCC900E4A2B3 /* SceneDelegate.swift in Sources */,
|
|
352
|
+
);
|
|
353
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
354
|
+
};
|
|
355
|
+
146EBB902A40CCCE00E4A2B3 /* Sources */ = {
|
|
356
|
+
isa = PBXSourcesBuildPhase;
|
|
357
|
+
buildActionMask = 2147483647;
|
|
358
|
+
files = (
|
|
359
|
+
146EBB992A40CCCE00E4A2B3 /* ios_templateTests.swift in Sources */,
|
|
360
|
+
);
|
|
361
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
362
|
+
};
|
|
363
|
+
146EBB9A2A40CCCE00E4A2B3 /* Sources */ = {
|
|
364
|
+
isa = PBXSourcesBuildPhase;
|
|
365
|
+
buildActionMask = 2147483647;
|
|
366
|
+
files = (
|
|
367
|
+
146EBBA52A40CCCE00E4A2B3 /* ios_templateUITestsLaunchTests.swift in Sources */,
|
|
368
|
+
146EBBA32A40CCCE00E4A2B3 /* ios_templateUITests.swift in Sources */,
|
|
369
|
+
);
|
|
370
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
371
|
+
};
|
|
372
|
+
/* End PBXSourcesBuildPhase section */
|
|
373
|
+
|
|
374
|
+
/* Begin PBXTargetDependency section */
|
|
375
|
+
146EBB962A40CCCE00E4A2B3 /* PBXTargetDependency */ = {
|
|
376
|
+
isa = PBXTargetDependency;
|
|
377
|
+
target = 146EBB7D2A40CCC900E4A2B3 /* ios_template */;
|
|
378
|
+
targetProxy = 146EBB952A40CCCE00E4A2B3 /* PBXContainerItemProxy */;
|
|
379
|
+
};
|
|
380
|
+
146EBBA02A40CCCE00E4A2B3 /* PBXTargetDependency */ = {
|
|
381
|
+
isa = PBXTargetDependency;
|
|
382
|
+
target = 146EBB7D2A40CCC900E4A2B3 /* ios_template */;
|
|
383
|
+
targetProxy = 146EBB9F2A40CCCE00E4A2B3 /* PBXContainerItemProxy */;
|
|
384
|
+
};
|
|
385
|
+
/* End PBXTargetDependency section */
|
|
386
|
+
|
|
387
|
+
/* Begin PBXVariantGroup section */
|
|
388
|
+
146EBB8C2A40CCCE00E4A2B3 /* LaunchScreen.storyboard */ = {
|
|
389
|
+
isa = PBXVariantGroup;
|
|
390
|
+
children = (
|
|
391
|
+
146EBB8D2A40CCCE00E4A2B3 /* Base */,
|
|
392
|
+
);
|
|
393
|
+
name = LaunchScreen.storyboard;
|
|
394
|
+
sourceTree = "<group>";
|
|
395
|
+
};
|
|
396
|
+
/* End PBXVariantGroup section */
|
|
397
|
+
|
|
398
|
+
/* Begin XCBuildConfiguration section */
|
|
399
|
+
146EBBA62A40CCCE00E4A2B3 /* Debug */ = {
|
|
400
|
+
isa = XCBuildConfiguration;
|
|
401
|
+
buildSettings = {
|
|
402
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
403
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
404
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
405
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
406
|
+
CLANG_ENABLE_MODULES = YES;
|
|
407
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
408
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
409
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
410
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
411
|
+
CLANG_WARN_COMMA = YES;
|
|
412
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
413
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
414
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
415
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
416
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
417
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
418
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
419
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
420
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
421
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
422
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
423
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
424
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
425
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
426
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
427
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
428
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
429
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
430
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
431
|
+
COPY_PHASE_STRIP = NO;
|
|
432
|
+
DEBUG_INFORMATION_FORMAT = dwarf;
|
|
433
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
434
|
+
ENABLE_TESTABILITY = YES;
|
|
435
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
436
|
+
GCC_DYNAMIC_NO_PIC = NO;
|
|
437
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
438
|
+
GCC_OPTIMIZATION_LEVEL = 0;
|
|
439
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
440
|
+
"DEBUG=1",
|
|
441
|
+
"$(inherited)",
|
|
442
|
+
);
|
|
443
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
444
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
445
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
446
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
447
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
448
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
449
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
450
|
+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
|
451
|
+
MTL_FAST_MATH = YES;
|
|
452
|
+
ONLY_ACTIVE_ARCH = YES;
|
|
453
|
+
SDKROOT = iphoneos;
|
|
454
|
+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
|
|
455
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
456
|
+
};
|
|
457
|
+
name = Debug;
|
|
458
|
+
};
|
|
459
|
+
146EBBA72A40CCCE00E4A2B3 /* Release */ = {
|
|
460
|
+
isa = XCBuildConfiguration;
|
|
461
|
+
buildSettings = {
|
|
462
|
+
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
463
|
+
CLANG_ANALYZER_NONNULL = YES;
|
|
464
|
+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
|
465
|
+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
|
|
466
|
+
CLANG_ENABLE_MODULES = YES;
|
|
467
|
+
CLANG_ENABLE_OBJC_ARC = YES;
|
|
468
|
+
CLANG_ENABLE_OBJC_WEAK = YES;
|
|
469
|
+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
|
470
|
+
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
471
|
+
CLANG_WARN_COMMA = YES;
|
|
472
|
+
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
473
|
+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
474
|
+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
475
|
+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
|
|
476
|
+
CLANG_WARN_EMPTY_BODY = YES;
|
|
477
|
+
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
478
|
+
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
479
|
+
CLANG_WARN_INT_CONVERSION = YES;
|
|
480
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
481
|
+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
482
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
483
|
+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
484
|
+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
|
485
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
486
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
487
|
+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
488
|
+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
|
|
489
|
+
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
490
|
+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
491
|
+
COPY_PHASE_STRIP = NO;
|
|
492
|
+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
493
|
+
ENABLE_NS_ASSERTIONS = NO;
|
|
494
|
+
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
495
|
+
GCC_C_LANGUAGE_STANDARD = gnu11;
|
|
496
|
+
GCC_NO_COMMON_BLOCKS = YES;
|
|
497
|
+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
498
|
+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
499
|
+
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
500
|
+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
501
|
+
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
502
|
+
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
503
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
504
|
+
MTL_ENABLE_DEBUG_INFO = NO;
|
|
505
|
+
MTL_FAST_MATH = YES;
|
|
506
|
+
SDKROOT = iphoneos;
|
|
507
|
+
SWIFT_COMPILATION_MODE = wholemodule;
|
|
508
|
+
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
|
509
|
+
VALIDATE_PRODUCT = YES;
|
|
510
|
+
};
|
|
511
|
+
name = Release;
|
|
512
|
+
};
|
|
513
|
+
146EBBA92A40CCCE00E4A2B3 /* Debug */ = {
|
|
514
|
+
isa = XCBuildConfiguration;
|
|
515
|
+
buildSettings = {
|
|
516
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
517
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
|
518
|
+
CLANG_ENABLE_MODULES = NO;
|
|
519
|
+
CODE_SIGN_STYLE = Automatic;
|
|
520
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
521
|
+
DEVELOPMENT_TEAM = "";
|
|
522
|
+
"FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = (
|
|
523
|
+
"$(inherited)",
|
|
524
|
+
"$(PROJECT_DIR)/Python.xcframework/ios-arm64",
|
|
525
|
+
);
|
|
526
|
+
"FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = (
|
|
527
|
+
"$(inherited)",
|
|
528
|
+
"$(PROJECT_DIR)/Python.xcframework/ios-arm64_x86_64-simulator",
|
|
529
|
+
);
|
|
530
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
531
|
+
INFOPLIST_FILE = ios_template/Info.plist;
|
|
532
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
|
533
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
|
534
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
535
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
536
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
|
537
|
+
"$(inherited)",
|
|
538
|
+
"@executable_path/Frameworks",
|
|
539
|
+
);
|
|
540
|
+
MARKETING_VERSION = 1.0;
|
|
541
|
+
OTHER_LDFLAGS = (
|
|
542
|
+
"$(inherited)",
|
|
543
|
+
"-Wl,-exported_symbol,_pn_bridge_apply",
|
|
544
|
+
"-Wl,-exported_symbol,_pn_bridge_measure",
|
|
545
|
+
"-Wl,-exported_symbol,_pn_bridge_command",
|
|
546
|
+
"-Wl,-exported_symbol,_pn_bridge_animate",
|
|
547
|
+
"-Wl,-exported_symbol,_pn_bridge_call",
|
|
548
|
+
"-Wl,-exported_symbol,_pn_bridge_free",
|
|
549
|
+
"-Wl,-exported_symbol,_pn_bridge_set_callback",
|
|
550
|
+
"-Wl,-exported_symbol,_pn_bridge_protocol_version",
|
|
551
|
+
"-Wl,-exported_symbol,_main",
|
|
552
|
+
);
|
|
553
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-template";
|
|
554
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
555
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
|
556
|
+
SWIFT_OBJC_BRIDGING_HEADER = "ios_template/BridgingHeader.h";
|
|
557
|
+
SWIFT_PRECOMPILE_BRIDGING_HEADER = NO;
|
|
558
|
+
SWIFT_VERSION = 5.0;
|
|
559
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
560
|
+
};
|
|
561
|
+
name = Debug;
|
|
562
|
+
};
|
|
563
|
+
146EBBAA2A40CCCE00E4A2B3 /* Release */ = {
|
|
564
|
+
isa = XCBuildConfiguration;
|
|
565
|
+
buildSettings = {
|
|
566
|
+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
567
|
+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
|
|
568
|
+
CLANG_ENABLE_MODULES = NO;
|
|
569
|
+
CODE_SIGN_STYLE = Automatic;
|
|
570
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
571
|
+
DEVELOPMENT_TEAM = "";
|
|
572
|
+
"FRAMEWORK_SEARCH_PATHS[sdk=iphoneos*]" = (
|
|
573
|
+
"$(inherited)",
|
|
574
|
+
"$(PROJECT_DIR)/Python.xcframework/ios-arm64",
|
|
575
|
+
);
|
|
576
|
+
"FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]" = (
|
|
577
|
+
"$(inherited)",
|
|
578
|
+
"$(PROJECT_DIR)/Python.xcframework/ios-arm64_x86_64-simulator",
|
|
579
|
+
);
|
|
580
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
581
|
+
INFOPLIST_FILE = ios_template/Info.plist;
|
|
582
|
+
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
|
583
|
+
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
|
|
584
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
585
|
+
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
|
586
|
+
LD_RUNPATH_SEARCH_PATHS = (
|
|
587
|
+
"$(inherited)",
|
|
588
|
+
"@executable_path/Frameworks",
|
|
589
|
+
);
|
|
590
|
+
MARKETING_VERSION = 1.0;
|
|
591
|
+
OTHER_LDFLAGS = (
|
|
592
|
+
"$(inherited)",
|
|
593
|
+
"-Wl,-exported_symbol,_pn_bridge_apply",
|
|
594
|
+
"-Wl,-exported_symbol,_pn_bridge_measure",
|
|
595
|
+
"-Wl,-exported_symbol,_pn_bridge_command",
|
|
596
|
+
"-Wl,-exported_symbol,_pn_bridge_animate",
|
|
597
|
+
"-Wl,-exported_symbol,_pn_bridge_call",
|
|
598
|
+
"-Wl,-exported_symbol,_pn_bridge_free",
|
|
599
|
+
"-Wl,-exported_symbol,_pn_bridge_set_callback",
|
|
600
|
+
"-Wl,-exported_symbol,_pn_bridge_protocol_version",
|
|
601
|
+
"-Wl,-exported_symbol,_main",
|
|
602
|
+
);
|
|
603
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-template";
|
|
604
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
605
|
+
SWIFT_EMIT_LOC_STRINGS = YES;
|
|
606
|
+
SWIFT_OBJC_BRIDGING_HEADER = "ios_template/BridgingHeader.h";
|
|
607
|
+
SWIFT_PRECOMPILE_BRIDGING_HEADER = NO;
|
|
608
|
+
SWIFT_VERSION = 5.0;
|
|
609
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
610
|
+
};
|
|
611
|
+
name = Release;
|
|
612
|
+
};
|
|
613
|
+
146EBBAC2A40CCCE00E4A2B3 /* Debug */ = {
|
|
614
|
+
isa = XCBuildConfiguration;
|
|
615
|
+
buildSettings = {
|
|
616
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
617
|
+
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
618
|
+
CODE_SIGN_STYLE = Automatic;
|
|
619
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
620
|
+
DEVELOPMENT_TEAM = "";
|
|
621
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
622
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
623
|
+
MARKETING_VERSION = 1.0;
|
|
624
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-templateTests";
|
|
625
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
626
|
+
SWIFT_EMIT_LOC_STRINGS = NO;
|
|
627
|
+
SWIFT_VERSION = 5.0;
|
|
628
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
629
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ios_template.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/ios_template";
|
|
630
|
+
};
|
|
631
|
+
name = Debug;
|
|
632
|
+
};
|
|
633
|
+
146EBBAD2A40CCCE00E4A2B3 /* Release */ = {
|
|
634
|
+
isa = XCBuildConfiguration;
|
|
635
|
+
buildSettings = {
|
|
636
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
637
|
+
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
638
|
+
CODE_SIGN_STYLE = Automatic;
|
|
639
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
640
|
+
DEVELOPMENT_TEAM = "";
|
|
641
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
642
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
|
|
643
|
+
MARKETING_VERSION = 1.0;
|
|
644
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-templateTests";
|
|
645
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
646
|
+
SWIFT_EMIT_LOC_STRINGS = NO;
|
|
647
|
+
SWIFT_VERSION = 5.0;
|
|
648
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
649
|
+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ios_template.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/ios_template";
|
|
650
|
+
};
|
|
651
|
+
name = Release;
|
|
652
|
+
};
|
|
653
|
+
146EBBAF2A40CCCE00E4A2B3 /* Debug */ = {
|
|
654
|
+
isa = XCBuildConfiguration;
|
|
655
|
+
buildSettings = {
|
|
656
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
657
|
+
CODE_SIGN_STYLE = Automatic;
|
|
658
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
659
|
+
DEVELOPMENT_TEAM = "";
|
|
660
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
661
|
+
MARKETING_VERSION = 1.0;
|
|
662
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-templateUITests";
|
|
663
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
664
|
+
SWIFT_EMIT_LOC_STRINGS = NO;
|
|
665
|
+
SWIFT_VERSION = 5.0;
|
|
666
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
667
|
+
TEST_TARGET_NAME = ios_template;
|
|
668
|
+
};
|
|
669
|
+
name = Debug;
|
|
670
|
+
};
|
|
671
|
+
146EBBB02A40CCCE00E4A2B3 /* Release */ = {
|
|
672
|
+
isa = XCBuildConfiguration;
|
|
673
|
+
buildSettings = {
|
|
674
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
675
|
+
CODE_SIGN_STYLE = Automatic;
|
|
676
|
+
CURRENT_PROJECT_VERSION = 1;
|
|
677
|
+
DEVELOPMENT_TEAM = "";
|
|
678
|
+
GENERATE_INFOPLIST_FILE = YES;
|
|
679
|
+
MARKETING_VERSION = 1.0;
|
|
680
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.pythonnative.ios-templateUITests";
|
|
681
|
+
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
682
|
+
SWIFT_EMIT_LOC_STRINGS = NO;
|
|
683
|
+
SWIFT_VERSION = 5.0;
|
|
684
|
+
TARGETED_DEVICE_FAMILY = "1,2";
|
|
685
|
+
TEST_TARGET_NAME = ios_template;
|
|
686
|
+
};
|
|
687
|
+
name = Release;
|
|
688
|
+
};
|
|
689
|
+
/* End XCBuildConfiguration section */
|
|
690
|
+
|
|
691
|
+
/* Begin XCConfigurationList section */
|
|
692
|
+
146EBB792A40CCC900E4A2B3 /* Build configuration list for PBXProject "ios_template" */ = {
|
|
693
|
+
isa = XCConfigurationList;
|
|
694
|
+
buildConfigurations = (
|
|
695
|
+
146EBBA62A40CCCE00E4A2B3 /* Debug */,
|
|
696
|
+
146EBBA72A40CCCE00E4A2B3 /* Release */,
|
|
697
|
+
);
|
|
698
|
+
defaultConfigurationIsVisible = 0;
|
|
699
|
+
defaultConfigurationName = Release;
|
|
700
|
+
};
|
|
701
|
+
146EBBA82A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_template" */ = {
|
|
702
|
+
isa = XCConfigurationList;
|
|
703
|
+
buildConfigurations = (
|
|
704
|
+
146EBBA92A40CCCE00E4A2B3 /* Debug */,
|
|
705
|
+
146EBBAA2A40CCCE00E4A2B3 /* Release */,
|
|
706
|
+
);
|
|
707
|
+
defaultConfigurationIsVisible = 0;
|
|
708
|
+
defaultConfigurationName = Release;
|
|
709
|
+
};
|
|
710
|
+
146EBBAB2A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_templateTests" */ = {
|
|
711
|
+
isa = XCConfigurationList;
|
|
712
|
+
buildConfigurations = (
|
|
713
|
+
146EBBAC2A40CCCE00E4A2B3 /* Debug */,
|
|
714
|
+
146EBBAD2A40CCCE00E4A2B3 /* Release */,
|
|
715
|
+
);
|
|
716
|
+
defaultConfigurationIsVisible = 0;
|
|
717
|
+
defaultConfigurationName = Release;
|
|
718
|
+
};
|
|
719
|
+
146EBBAE2A40CCCE00E4A2B3 /* Build configuration list for PBXNativeTarget "ios_templateUITests" */ = {
|
|
720
|
+
isa = XCConfigurationList;
|
|
721
|
+
buildConfigurations = (
|
|
722
|
+
146EBBAF2A40CCCE00E4A2B3 /* Debug */,
|
|
723
|
+
146EBBB02A40CCCE00E4A2B3 /* Release */,
|
|
724
|
+
);
|
|
725
|
+
defaultConfigurationIsVisible = 0;
|
|
726
|
+
defaultConfigurationName = Release;
|
|
727
|
+
};
|
|
728
|
+
/* End XCConfigurationList section */
|
|
729
|
+
|
|
730
|
+
/* Begin XCLocalSwiftPackageReference section */
|
|
731
|
+
AA000000000000000000000E /* XCLocalSwiftPackageReference "PythonNativeKit" */ = {
|
|
732
|
+
isa = XCLocalSwiftPackageReference;
|
|
733
|
+
relativePath = PythonNativeKit;
|
|
734
|
+
};
|
|
735
|
+
/* End XCLocalSwiftPackageReference section */
|
|
736
|
+
|
|
737
|
+
/* Begin XCSwiftPackageProductDependency section */
|
|
738
|
+
AA000000000000000000000C /* PythonNativeKit */ = {
|
|
739
|
+
isa = XCSwiftPackageProductDependency;
|
|
740
|
+
productName = PythonNativeKit;
|
|
741
|
+
};
|
|
742
|
+
/* End XCSwiftPackageProductDependency section */
|
|
743
|
+
};
|
|
744
|
+
rootObject = 146EBB762A40CCC900E4A2B3 /* Project object */;
|
|
745
|
+
}
|