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

Warning: "Error creating LLDB target at path... using an empty LLDB target which can cause slow memory reads from remote devices" using Xcode and MacBook with Apple M1 processor #535

Open
YaroTs opened this issue Sep 7, 2022 · 1 comment

Comments

@YaroTs
Copy link

YaroTs commented Sep 7, 2022

Device: any Mac device with Apple M1 processor
Xcode 13.4.1

Steps to reproduce:

  1. Create empty project
  2. Add DJI SDK using CocoaPods
  3. Build and run project on iOS simulator
  4. Notice that first message in console is warning "Error creating LLDB target at path... using an empty LLDB target which can cause slow memory reads from remote devices"

That's a content of podfile:

source 'https://cdn.cocoapods.org/'

platform :ios, '13.0'

def pods
  
  pod 'DJI-SDK-iOS', '~> 4.16.1'
  
end

target 'warningLLDB' do
  use_frameworks!
  inhibit_all_warnings!

  pods

  target 'warningLLDBTests' do
    inherit! :search_paths
  end

  target 'warningLLDBUITests' do

  end
end

post_install do |installer_representation|
  installer_representation.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
        config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
    end
  end
end

I have a plenty of other libs in my primary project, but this message appears only if DJI SDK is included.

@DJI-William
Copy link

Unfortunately our iOS MSDK does not supported running on M1 chip Macbook, you have to use Intel chip.

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

2 participants