問題タブ [objective-sharpie]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
588 参照

xamarin - Xamarin iOS バインディング プロジェクト

.aXamarin.iOS アプリケーションがあり、自分のプロジェクトでファイルを使用できるようにバインド プロジェクトを参照したいと考えています。しかし、ビルドしようとすると次のエラーが発生します。

リンカー コマンドが終了コード 1 で失敗しました (呼び出しを表示するには -v を使用します) /Users/darius/Mobile-MyApp/Source/MyApp/MyApp.Touch/MTOUCH: エラー MT5216: '/Users/darius/Mobile-MyApp のネイティブ リンクに失敗しました/Source/MyApp/MyApp.Touch/obj/iPhone/Debug/device-builds/iphone7.1-11.0.3/mtouch-cache/arm64/libAcrCloudSdkIosBinding.dll.dylib'. http://bugzilla.xamarin.com (MT5216) (Touchshop.Touch)でバグ レポートを提出してください。

.aこのコマンド ラインで、ファイルがサポートするアーキテクチャを確認しました。

xcrun -sdk iphoneos lipo -info libACRCloud_IOS_SDK.a

そしてそれは出力します:

Architectures in the fat file: libACRCloud_IOS_SDK.a are: armv7 i386 x86_64 arm64

フォルダに入れまし.aた。NativeReferences

これが私のものApiDefinition.csです:

}

そしてStructs.cs

ここにそのソースがあり、.aファイルもそこにあります ( libACRCloud_IOS_SDK.a)。そして、これがココアポッドです。