dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
577 stars 256 forks source link

POD install FAILS #411

Closed Fenno1974 closed 3 years ago

Fenno1974 commented 3 years ago

I am trying to run the command "pod install" and getting the following error:

Any help to solve would be appreciated.

Stack

   CocoaPods : 1.10.0
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]
    RubyGems : 3.0.3
        Host : macOS 11.0.1 (20B29)
       Xcode : 12.2 (12B45b)
         Git : git version 2.24.3 (Apple Git-128)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : 

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Podfile

platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs.git'

target 'DJISDKSwiftDemo' do
   pod 'DJI-SDK-iOS', '~> 4.13.1'
   pod 'DJIWidget', '~> 1.6.3'
   pod 'DJIFlySafeDatabaseResource', '~> 01.00.01.17'
end

Error


LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle - /Library/Ruby/Gems/2.6.0/gems/ffi-1.13.1/lib/ffi_c.bundle
dji-dev commented 3 years ago

Agent comment from Luce Luo in Zendesk ticket #41599:

Dear Customer,

Thank you for contacting DJI. It's not clear. Can you please send the whole screenshots of the terminal?

Thanks,

Luce Luo DJI Developer Support

Fenno1974 commented 3 years ago

This issue was connected with using new Apple M1 processor (ARM64).