Skip to content

flutter run fails Xcode 12: fruitstrap_.py, in connect_command process = lldb.target.ConnectRemote(listener, connect_url, None, error) AttributeError: 'NoneType' object has no attribute 'ConnectRemote' #60072

@Seaony

Description

@Seaony

iOS: 14.0 beta

Flutter:

Flutter 1.17.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 1ad9baa8b9 (5 days ago) • 2020-06-17 14:41:16 -0700
Engine • revision ee76268252
Tools • Dart 2.8.4

I try to run 'shuttle run' and the result is

Launching lib/main.dart on Seaony 的iPhone in debug mode...
 
Automatically signing iOS for device deployment using specified development team in Xcode project: ZSLQ5LJNGF
Running Xcode build...                                                  
                                                   
 └─Compiling, linking and signing...                        12.1s
Xcode build done.                                           25.5s
Traceback (most recent call last):                                      
  File "/tmp/D3B5FF15-60C6-4F10-8BC8-18F8236B8048/fruitstrap_00008030_001E31660A82802E.py", line 25, in connect_command
    process = lldb.target.ConnectRemote(listener, connect_url, None, error)
AttributeError: 'NoneType' object has no attribute 'ConnectRemote'      
Traceback (most recent call last):                                      
  File "/tmp/D3B5FF15-60C6-4F10-8BC8-18F8236B8048/fruitstrap_00008030_001E31660A82802E.py", line 45, in run_command
    lldb.target.modules[0].SetPlatformFileSpec(lldb.SBFileSpec(device_app))
AttributeError: 'NoneType' object has no attribute 'modules'            
Traceback (most recent call last):                                      
  File "/tmp/D3B5FF15-60C6-4F10-8BC8-18F8236B8048/fruitstrap_00008030_001E31660A82802E.py", line 74, in safequit_command
    process = lldb.target.process                                       
AttributeError: 'NoneType' object has no attribute 'process'            
Installing and launching...                                            ⣷

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions