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
YaroTs opened this issue · 1 comments
YaroTs commented
Device: any Mac device with Apple M1 processor
Xcode 13.4.1
Steps to reproduce:
- Create empty project
- Add DJI SDK using CocoaPods
- Build and run project on iOS simulator
- 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 commented
Unfortunately our iOS MSDK does not supported running on M1 chip Macbook, you have to use Intel chip.