Hello Worldプロジェクトでcanvasを使用すると、Xcode11が毎回クラッシュする

mawus

AppStoreからXcode11をインストールし、SwiftUIプロジェクトを作成しました。ContentViewをキャンバスで表示しようとすると、Xcodeが毎回クラッシュします

DerivedDataをクリーンアップして削除し、さまざまなビューとさまざまなプロジェクトを作成しようとしましたが、成功しませんでした

Application Specific Information:
ProductBuildVersion: 11A420a

Dyld Error Message:
  Symbol not found: _$s7SwiftUI7BindingV13dynamicMemberACyqd__Gs15WritableKeyPathCyxqd__G_tcluig
  Referenced from: /Applications/Xcode.app/Contents/PlugIns/UVKit.framework/UVKit
  Expected in: /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                            0x000000011043b44e __abort_with_payload + 10
1   dyld                            0x000000011046499e abort_with_payload_wrapper_internal + 80
2   dyld                            0x00000001104649d0 abort_with_payload + 9
3   dyld                            0x00000001104621b3 dyld::halt(char const*) + 463
4   dyld                            0x00000001103eca02 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 140
5   libdyld.dylib                   0x00007fff6c59d29e dyld_stub_binder + 282
6   ???                             0x0000000131da48e8 OBJC_CLASS_$__TtCV5UVKit19DiagnosticsPullDown10MenuTarget + 120
7   com.apple.dt.UVKit              0x0000000131ceb3d9 protocol witness for View.body.getter in conformance InsetEditor + 9
8   com.apple.SwiftUI               0x00007fff4259da39 ViewBody.apply(_:) + 585
9   com.apple.SwiftUI               0x00007fff4259ec29 protocol witness for static UntypedAttribute._update(_:graph:attribute:) in conformance ViewBody<A> + 137
10  com.apple.AttributeGraph        0x00007fff490ec259 partial apply + 25
11  com.apple.AttributeGraph        0x00007fff490d55a7 AG::Graph::UpdateStack::update() + 1111
12  com.apple.AttributeGraph        0x00007fff490d5865 AG::Graph::update_attribute(unsigned int, bool) + 377
13  com.apple.AttributeGraph        0x00007fff490d8e6f AG::Graph::input_value_ref_slow(unsigned int, unsigned int, AGTypeID, bool*) + 199
14  com.apple.SwiftUI               0x00007fff425f32b9 LayoutTraitsProxy.layoutTraits() + 41
15  com.apple.SwiftUI               0x00007fff42a5d8e3 accumulateSpacing #1 (ofChild:) in StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 563
16  com.apple.SwiftUI               0x00007fff42a5cd25 StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 805
17  com.apple.SwiftUI               0x00007fff42a5d62d specialized ManagedBufferPointer.init(bufferClass:minimumCapacity:makingHeaderWith:) + 349
18  com.apple.SwiftUI               0x00007fff42a5fc29 specialized closure #2 in HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 329
19  com.apple.SwiftUI               0x00007fff42a6208a partial apply for specialized  + 42
20  com.apple.SwiftUI               0x00007fff426a8367 specialized static LayoutComputerDelegate.update<A>(_:maybeInPlace:create:) + 247
21  com.apple.SwiftUI               0x00007fff426b6290 specialized static LayoutComputerDelegate.update<A>(_:maybeInPlace:create:) + 16
22  com.apple.SwiftUI               0x00007fff42a5ac8c specialized HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 220
23  com.apple.SwiftUI               0x00007fff42a5acf0 specialized HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 48
24  com.apple.SwiftUI               0x00007fff4281a9f6 specialized LayoutQuery<>.update(context:) + 358
25  com.apple.SwiftUI               0x00007fff4293c7ea partial apply for protocol witness for static UntypedAttribute._update(_:graph:attribute:) in conformance DynamicLayoutViewChildGeometry + 26
26  com.apple.AttributeGraph        0x00007fff490d55a7 AG::Graph::UpdateStack::update() + 1111
27  com.apple.AttributeGraph        0x00007fff490d5865 AG::Graph::update_attribute(unsigned int, bool) + 377
28  com.apple.AttributeGraph        0x00007fff490d8e6f AG::Graph::input_value_ref_slow(unsigned int, unsigned int, AGTypeID, bool*) + 199
29  com.apple.SwiftUI               0x00007fff425f32b9 LayoutTraitsProxy.layoutTraits() + 41
30  com.apple.SwiftUI               0x00007fff42a5d8e3 accumulateSpacing #1 (ofChild:) in StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 563
31  com.apple.SwiftUI               0x00007fff42a5cd25 StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 805
32  com.apple.SwiftUI               0x00007fff42a5d62d specialized ManagedBufferPointer.init(bufferClass:minimumCapacity:makingHeaderWith:) + 349
33  com.apple.SwiftUI               0x00007fff42a5fc29 specialized closure #2 in HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 329
34  com.apple.SwiftUI               0x00007fff42a6208a partial apply for specialized  + 42
35  com.apple.SwiftUI               0x00007fff426a8367 specialized static LayoutComputerDelegate.update<A>(_:maybeInPlace:create:) + 247
36  com.apple.SwiftUI               0x00007fff426b6290 specialized static LayoutComputerDelegate.update<A>(_:maybeInPlace:create:) + 16
37  com.apple.SwiftUI               0x00007fff42a5ac8c specialized HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 220
38  com.apple.SwiftUI               0x00007fff42a5acf0 specialized HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 48
39  com.apple.SwiftUI               0x00007fff4281a9f6 specialized LayoutQuery<>.update(context:) + 358
40  com.apple.SwiftUI               0x00007fff4293c7ea partial apply for protocol witness for static UntypedAttribute._update(_:graph:attribute:) in conformance DynamicLayoutViewChildGeometry + 26
41  com.apple.AttributeGraph        0x00007fff490d55a7 AG::Graph::UpdateStack::update() + 1111
42  com.apple.AttributeGraph        0x00007fff490d5865 AG::Graph::update_attribute(unsigned int, bool) + 377
43  com.apple.AttributeGraph        0x00007fff490d8e6f AG::Graph::input_value_ref_slow(unsigned int, unsigned int, AGTypeID, bool*) + 199
44  com.apple.SwiftUI               0x00007fff425f32b9 LayoutTraitsProxy.layoutTraits() + 41
45  com.apple.SwiftUI               0x00007fff42a5d8e3 accumulateSpacing #1 (ofChild:) in StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 563
46  com.apple.SwiftUI               0x00007fff42a5cd25 StackLayout.Header.init(layoutContext:proxies:majorAxis:minorAxisAlignment:uniformSpacing:childStorage:capacity:) + 805
47  com.apple.SwiftUI               0x00007fff42a5d62d specialized ManagedBufferPointer.init(bufferClass:minimumCapacity:makingHeaderWith:) + 349
48  com.apple.SwiftUI               0x00007fff42a5fc29 specialized closure #2 in HVStack.updateOutput<A>(attributeContext:layoutContext:children:) + 329
49  com.apple.SwiftUI               0x00007fff42a6208a partial apply for specialized  + 42
50  com.apple.SwiftUI               0x00007fff426a8367 specialized static 

何か私にできることはありますか?

編集:新しいプロジェクトを作成するときに生成されるContentViewコード:

import SwiftUI

struct ContentView: View {
    var body: some View {
        Text("Hello World")
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
トミーC。

プレビューキャンバスはMojaveでは機能せず、Catalinaでのみ機能します。Catalinaの現在のバージョンはBeta9です。Mojaveでは動作しないと思います。Mojaveの場合でも、遊び場を使用したり、デバイスで実行したりすると、SwiftUIの効果を確認できます。

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

PythonのHello World

分類Dev

Spring MVC hello world

分類Dev

PyInstaller newbie: hello world

分類Dev

Spring MVC hello world

分類Dev

Spring MVC hello world

分類Dev

Hello world crashing

分類Dev

Hello World Saxon with Java

分類Dev

Extended Hello World program

分類Dev

Android hello world is not working

分類Dev

gitignore:「hello /」と「hello / *」を理解する

分類Dev

hello-worldサンプルプロジェクトがmicronautで起動するのが遅いのはなぜですか?

分類Dev

PowerShellスクリプトを実行する(Hello World)

分類Dev

cgoを使用してCの「hello world」をargvでラップする方法は?

分類Dev

新しいmaven hello-worldプロジェクトを作成できません

分類Dev

ES6モジュールを使用して単純な(Hello World)node.js TypeScriptプロジェクトを作成するにはどうすればよいですか?

分類Dev

console.log( "hello)がReactフックで6回出力する理由

分類Dev

isNaN( 'Hello World!')vs isNaN( '')

分類Dev

Font anomaly in FLTK Hello World

分類Dev

OpenShift Hello World java vertical

分類Dev

UEFI hello world compile error

分類Dev

React-Typescript Hello World

分類Dev

Hello world minitestcliの例

分類Dev

Prism WPF MVVM Hello World

分類Dev

NGINXキャッシングプロキシがSSL23_GET_SERVER_HELLO:sslv3アラートハンドシェイクの失敗で失敗する

分類Dev

python-devとリンクライブラリのインストール後にCythonのHello Worldプログラムがgccで失敗する

分類Dev

<function prop = "Hello">と{function( "Hello")}の違い

分類Dev

System.outを使用して画面に出力すると、最初のHello World JavaプログラムがVisual Studioでエラーを返すのはなぜですか?

分類Dev

「hello \\ s * world」が「hello world」と一致しないのはなぜですか?

分類Dev

EclipseでJavaFXを使用して「Hello Word」プログラムを実行するとエラーが発生する

Related 関連記事

  1. 1

    PythonのHello World

  2. 2

    Spring MVC hello world

  3. 3

    PyInstaller newbie: hello world

  4. 4

    Spring MVC hello world

  5. 5

    Spring MVC hello world

  6. 6

    Hello world crashing

  7. 7

    Hello World Saxon with Java

  8. 8

    Extended Hello World program

  9. 9

    Android hello world is not working

  10. 10

    gitignore:「hello /」と「hello / *」を理解する

  11. 11

    hello-worldサンプルプロジェクトがmicronautで起動するのが遅いのはなぜですか?

  12. 12

    PowerShellスクリプトを実行する(Hello World)

  13. 13

    cgoを使用してCの「hello world」をargvでラップする方法は?

  14. 14

    新しいmaven hello-worldプロジェクトを作成できません

  15. 15

    ES6モジュールを使用して単純な(Hello World)node.js TypeScriptプロジェクトを作成するにはどうすればよいですか?

  16. 16

    console.log( "hello)がReactフックで6回出力する理由

  17. 17

    isNaN( 'Hello World!')vs isNaN( '')

  18. 18

    Font anomaly in FLTK Hello World

  19. 19

    OpenShift Hello World java vertical

  20. 20

    UEFI hello world compile error

  21. 21

    React-Typescript Hello World

  22. 22

    Hello world minitestcliの例

  23. 23

    Prism WPF MVVM Hello World

  24. 24

    NGINXキャッシングプロキシがSSL23_GET_SERVER_HELLO:sslv3アラートハンドシェイクの失敗で失敗する

  25. 25

    python-devとリンクライブラリのインストール後にCythonのHello Worldプログラムがgccで失敗する

  26. 26

    <function prop = "Hello">と{function( "Hello")}の違い

  27. 27

    System.outを使用して画面に出力すると、最初のHello World JavaプログラムがVisual Studioでエラーを返すのはなぜですか?

  28. 28

    「hello \\ s * world」が「hello world」と一致しないのはなぜですか?

  29. 29

    EclipseでJavaFXを使用して「Hello Word」プログラムを実行するとエラーが発生する

ホットタグ

アーカイブ