Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativeScriptGenerator just hangs #11

Open
nvanfleet opened this issue Dec 19, 2022 · 1 comment
Open

NativeScriptGenerator just hangs #11

nvanfleet opened this issue Dec 19, 2022 · 1 comment

Comments

@nvanfleet
Copy link

I ended up trying my hand at migrating to PackageManager 5.7 and also to add the more modern APIs of 3.4.0 and 3.5.

https://github.com/nvanfleet/godot-swift/tree/3.5.0-support

Things are basically working (compiling etc) but when I run the command to build it just hangs at [2/4] Generating classes.swift'

From what I can tell it does successfully make the file based off of transform.swift.part. It seems like it should be completing or failing but will just hang on that stage permanently for some reason.

I am trying to learn more about the codebase but am a bit at a loss for now.

swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
note: file 'classes.swift' changed, recompiling
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[2/4] Generating classes.swift'^C
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[4/6] Generating classes.swift'^C
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[2/4] Generating classes.swift'^C
user@MacBook-Pro game % 
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[2/4] Generating classes.swift'^C
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
note: file 'constants.swift.part' changed, recompiling
note: file 'delegates.swift.part' changed, recompiling
note: file 'functions.swift.part' changed, recompiling
note: file 'AESContext.swift.part' changed, recompiling
note: file 'ARVRPositionalTracker.swift.part' changed, recompiling
note: file 'AStar2D.swift.part' changed, recompiling
note: file 'AnimationNode.swift.part' changed, recompiling
note: file 'AnimationNodeOneShot.swift.part' changed, recompiling
note: file 'AnyDelegate.swift.part' changed, recompiling
note: file 'ArrayMesh.swift.part' changed, recompiling
note: file 'BitMap.swift.part' changed, recompiling
note: file 'CallbackTweener.swift.part' changed, recompiling
note: file 'Crypto.swift.part' changed, recompiling
note: file 'CryptoKey.swift.part' changed, recompiling
note: file 'Curve2D.swift.part' changed, recompiling
note: file 'Curve3D.swift.part' changed, recompiling
note: file 'DynamicFontData.swift.part' changed, recompiling
note: file 'EditorExportPlugin.swift.part' changed, recompiling
note: file 'EditorSceneImporter.swift.part' changed, recompiling
note: file 'EditorSceneImporterGLTF.swift.part' changed, recompiling
note: file 'EditorSpatialGizmo.swift.part' changed, recompiling
note: file 'EditorSpatialGizmoPlugin.swift.part' changed, recompiling
note: file 'Environment.swift.part' changed, recompiling
note: file 'Font.swift.part' changed, recompiling
note: file 'GLTFAccessor.swift.part' changed, recompiling
note: file 'GLTFAnimation.swift.part' changed, recompiling
note: file 'GLTFBufferView.swift.part' changed, recompiling
note: file 'GLTFCamera.swift.part' changed, recompiling
note: file 'GLTFDocument.swift.part' changed, recompiling
note: file 'GLTFLight.swift.part' changed, recompiling
note: file 'GLTFMesh.swift.part' changed, recompiling
note: file 'GLTFNode.swift.part' changed, recompiling
note: file 'GLTFSkeleton.swift.part' changed, recompiling
note: file 'GLTFSkin.swift.part' changed, recompiling
note: file 'GLTFSpecGloss.swift.part' changed, recompiling
note: file 'GLTFState.swift.part' changed, recompiling
note: file 'GLTFTexture.swift.part' changed, recompiling
note: file 'Gradient.swift.part' changed, recompiling
note: file 'GradientTexture2D.swift.part' changed, recompiling
note: file 'HMACContext.swift.part' changed, recompiling
note: file 'HTTPClient.swift.part' changed, recompiling
note: file 'Image.swift.part' changed, recompiling
note: file 'InputEvent.swift.part' changed, recompiling
note: file 'InputEventKey.swift.part' changed, recompiling
note: file 'InputEventMouseMotion.swift.part' changed, recompiling
note: file 'IntervalTweener.swift.part' changed, recompiling
note: file 'JavaScriptObject.swift.part' changed, recompiling
note: file 'KinematicCollision.swift.part' changed, recompiling
note: file 'KinematicCollision2D.swift.part' changed, recompiling
note: file 'Mesh.swift.part' changed, recompiling
note: file 'MeshLibrary.swift.part' changed, recompiling
note: file 'MethodTweener.swift.part' changed, recompiling
note: file 'MultiMesh.swift.part' changed, recompiling
note: file 'NavigationMesh.swift.part' changed, recompiling
note: file 'NavigationPolygon.swift.part' changed, recompiling
note: file 'NetworkedMultiplayerCustom.swift.part' changed, recompiling
note: file 'NetworkedMultiplayerENet.swift.part' changed, recompiling
note: file 'NoiseTexture.swift.part' changed, recompiling
note: file 'OccluderShape.swift.part' changed, recompiling
note: file 'OccluderShapePolygon.swift.part' changed, recompiling
note: file 'OccluderShapeSphere.swift.part' changed, recompiling
note: file 'OpenSimplexNoise.swift.part' changed, recompiling
note: file 'PackedScene.swift.part' changed, recompiling
note: file 'PackedSceneGLTF.swift.part' changed, recompiling
note: file 'ParticlesMaterial.swift.part' changed, recompiling
note: file 'Physics2DTestMotionResult.swift.part' changed, recompiling
note: file 'PhysicsTestMotionResult.swift.part' changed, recompiling
note: file 'PlaneMesh.swift.part' changed, recompiling
note: file 'PrimitiveMesh.swift.part' changed, recompiling
note: file 'PropertyTweener.swift.part' changed, recompiling
note: file 'QuadMesh.swift.part' changed, recompiling
note: file 'ResourceImporter.swift.part' changed, recompiling
note: file 'SceneState.swift.part' changed, recompiling
note: file 'SceneTreeTween.swift.part' changed, recompiling
note: file 'Shape.swift.part' changed, recompiling
note: file 'SpatialMaterial.swift.part' changed, recompiling
note: file 'StyleBoxFlat.swift.part' changed, recompiling
note: file 'TextMesh.swift.part' changed, recompiling
note: file 'Texture3D.swift.part' changed, recompiling
note: file 'TextureArray.swift.part' changed, recompiling
note: file 'TextureLayered.swift.part' changed, recompiling
note: file 'Theme.swift.part' changed, recompiling
note: file 'Translation.swift.part' changed, recompiling
note: file 'Tweener.swift.part' changed, recompiling
note: file 'VisualScriptCustomNode.swift.part' changed, recompiling
note: file 'VisualShaderNodeBooleanUniform.swift.part' changed, recompiling
note: file 'VisualShaderNodeColorUniform.swift.part' changed, recompiling
note: file 'VisualShaderNodeCustom.swift.part' changed, recompiling
note: file 'VisualShaderNodeScalarUniform.swift.part' changed, recompiling
note: file 'VisualShaderNodeTransformUniform.swift.part' changed, recompiling
note: file 'VisualShaderNodeVec3Uniform.swift.part' changed, recompiling
note: file 'WebRTCDataChannel.swift.part' changed, recompiling
note: file 'WebSocketPeer.swift.part' changed, recompiling
note: file 'WebSocketServer.swift.part' changed, recompiling
note: file 'WebXRInterface.swift.part' changed, recompiling
note: file 'World.swift.part' changed, recompiling
note: file 'World2D.swift.part' changed, recompiling
note: file '_File.swift.part' changed, recompiling
note: file '_Semaphore.swift.part' changed, recompiling
note: file '_Thread.swift.part' changed, recompiling
note: file 'ARVRController.swift.part' changed, recompiling
note: file 'AcceptDialog.swift.part' changed, recompiling
note: file 'AnimatedSprite.swift.part' changed, recompiling
note: file 'AnimationPlayer.swift.part' changed, recompiling
note: file 'Area.swift.part' changed, recompiling
note: file 'Area2D.swift.part' changed, recompiling
note: file 'BakedLightmap.swift.part' changed, recompiling
note: file 'BaseButton.swift.part' changed, recompiling
note: file 'Button.swift.part' changed, recompiling
note: file 'CPUParticles.swift.part' changed, recompiling
note: file 'CPUParticles2D.swift.part' changed, recompiling
note: file 'CSGPolygon.swift.part' changed, recompiling
note: file 'CanvasItem.swift.part' changed, recompiling
note: file 'CanvasLayer.swift.part' changed, recompiling
note: file 'CollisionObject.swift.part' changed, recompiling
note: file 'CollisionObject2D.swift.part' changed, recompiling
note: file 'CollisionShape.swift.part' changed, recompiling
note: file 'ColorPicker.swift.part' changed, recompiling
note: file 'ColorPickerButton.swift.part' changed, recompiling
note: file 'Control.swift.part' changed, recompiling
note: file 'CullInstance.swift.part' changed, recompiling
note: file 'DirectionalLight.swift.part' changed, recompiling
note: file 'EditorInspector.swift.part' changed, recompiling
note: file 'EditorInterface.swift.part' changed, recompiling
note: file 'EditorProperty.swift.part' changed, recompiling
note: file 'EditorResourcePicker.swift.part' changed, recompiling
note: file 'EditorScriptPicker.swift.part' changed, recompiling
note: file 'EditorSpinSlider.swift.part' changed, recompiling
note: file 'EditorVCSInterface.swift.part' changed, recompiling
note: file 'FileSystemDock.swift.part' changed, recompiling
note: file 'FlowContainer.swift.part' changed, recompiling
note: file 'GeometryInstance.swift.part' changed, recompiling
note: file 'GraphEdit.swift.part' changed, recompiling
note: file 'GraphNode.swift.part' changed, recompiling
note: file 'GridMap.swift.part' changed, recompiling
note: file 'HBoxContainer.swift.part' changed, recompiling
note: file 'HFlowContainer.swift.part' changed, recompiling
note: file 'HTTPRequest.swift.part' changed, recompiling
note: file 'InterpolatedCamera.swift.part' changed, recompiling
note: file 'KinematicBody.swift.part' changed, recompiling
note: file 'KinematicBody2D.swift.part' changed, recompiling
note: file 'Label3D.swift.part' changed, recompiling
note: file 'Light.swift.part' changed, recompiling
note: file 'Line2D.swift.part' changed, recompiling
note: file 'LineEdit.swift.part' changed, recompiling
note: file 'Listener2D.swift.part' changed, recompiling
note: file 'MeshInstance.swift.part' changed, recompiling
note: file 'Navigation.swift.part' changed, recompiling
note: file 'Navigation2D.swift.part' changed, recompiling
note: file 'NavigationAgent.swift.part' changed, recompiling
note: file 'NavigationAgent2D.swift.part' changed, recompiling
note: file 'NavigationMeshInstance.swift.part' changed, recompiling
note: file 'NavigationObstacle.swift.part' changed, recompiling
note: file 'NavigationObstacle2D.swift.part' changed, recompiling
note: file 'NavigationPolygonInstance.swift.part' changed, recompiling
note: file 'Node.swift.part' changed, recompiling
note: file 'Occluder.swift.part' changed, recompiling
note: file 'OmniLight.swift.part' changed, recompiling
note: file 'OptionButton.swift.part' changed, recompiling
note: file 'Physics2DDirectBodyState.swift.part' changed, recompiling
note: file 'PhysicsBody.swift.part' changed, recompiling
note: file 'PhysicsBody2D.swift.part' changed, recompiling
note: file 'PhysicsDirectBodyState.swift.part' changed, recompiling
note: file 'PhysicsDirectSpaceState.swift.part' changed, recompiling
note: file 'PopupMenu.swift.part' changed, recompiling
note: file 'Portal.swift.part' changed, recompiling
note: file 'RayCast.swift.part' changed, recompiling
note: file 'RichTextLabel.swift.part' changed, recompiling
note: file 'Room.swift.part' changed, recompiling
note: file 'RoomGroup.swift.part' changed, recompiling
note: file 'RoomManager.swift.part' changed, recompiling
note: file 'SceneTree.swift.part' changed, recompiling
note: file 'ScriptEditor.swift.part' changed, recompiling
note: file 'ScrollContainer.swift.part' changed, recompiling
note: file 'Skeleton.swift.part' changed, recompiling
note: file 'SoftBody.swift.part' changed, recompiling
note: file 'Spatial.swift.part' changed, recompiling
note: file 'SpotLight.swift.part' changed, recompiling
note: file 'SpriteBase3D.swift.part' changed, recompiling
note: file 'TabContainer.swift.part' changed, recompiling
note: file 'Tabs.swift.part' changed, recompiling
note: file 'TextEdit.swift.part' changed, recompiling
note: file 'TextureButton.swift.part' changed, recompiling
note: file 'TextureProgress.swift.part' changed, recompiling
note: file 'TileMap.swift.part' changed, recompiling
note: file 'Tree.swift.part' changed, recompiling
note: file 'TreeItem.swift.part' changed, recompiling
note: file 'Tween.swift.part' changed, recompiling
note: file 'VFlowContainer.swift.part' changed, recompiling
note: file 'VehicleWheel.swift.part' changed, recompiling
note: file 'Viewport.swift.part' changed, recompiling
note: file 'VisibilityNotifier.swift.part' changed, recompiling
note: file 'VisualInstance.swift.part' changed, recompiling
note: file 'ARVRServer.swift.part' changed, recompiling
note: file 'AudioServer.swift.part' changed, recompiling
note: file 'ClassDB.swift.part' changed, recompiling
note: file 'Engine.swift.part' changed, recompiling
note: file 'IP.swift.part' changed, recompiling
note: file 'Input.swift.part' changed, recompiling
note: file 'InputMap.swift.part' changed, recompiling
note: file 'JavaScript.swift.part' changed, recompiling
note: file 'Navigation2DServer.swift.part' changed, recompiling
note: file 'NavigationMeshGenerator.swift.part' changed, recompiling
note: file 'NavigationServer.swift.part' changed, recompiling
note: file 'OS.swift.part' changed, recompiling
note: file 'Physics2DServer.swift.part' changed, recompiling
note: file 'PhysicsServer.swift.part' changed, recompiling
note: file 'Time.swift.part' changed, recompiling
note: file 'VisualServer.swift.part' changed, recompiling
note: file 'classes.swift' changed, recompiling
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[4/6] Generating classes.swift'^C
user@MacBook-Pro game % 
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
[6/8] Generating classes.swift'^C
user@MacBook-Pro game % swift build --product godot-swift-game -c debug --disable-sandbox
Building for debugging...
generating file 'classes.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
skipping method 'Godot::SpriteBase3D::get_axis' (unknown return type: enum.Vector3::Axis)
skipping property 'Godot::SpriteBase3D::axis' (could not find getter)
generating file 'common.swift'
note: in directory '/Users/user/src/game/.build/plugins/outputs/game/SwiftGame/GodotNativeScript'
note: file 'common.swift' changed, recompiling
[2/4] Generating classes.swift'
@nvanfleet
Copy link
Author

@Kyle-Ye in case this interests you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant