Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to build projects with CocoaPods - iOS Native bindings

オープン
#88 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp, ios

調査の方向性

まず NewBinding.MaciOS.Binding で失敗を再現し、NewBinding.xcworkspace と NewBinding.xcodeproj のビルドパスを比較します。xcodebuild の呼び出しと、80 行目の Microsoft.MaciOS.Sdk.Xcode.targets を調査し、その後、Binding ビルドがどのプロジェクト形式を使用しているかを判断します。CocoaPods 統合の不一致を特定するか、Binding ビルドを成功させるために必要な不足している構成を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I have an application that uses Cocoapods.
The project builds fine when we build the xcodeproject as a standalone project.
But once we connect it with the MAUI Binding project, and tries to build the Binding project, it fails with following error:

NewBinding.MaciOS.Binding failed with 1 error(s) (5.5s)
    /usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_18.2/18.2.9180/targets/Microsoft.MaciOS.Sdk.Xcode.targets(80,5): error : 
      xcodebuild exited with code 65:
      ** ARCHIVE FAILED **
      
      
      The following build commands failed:
        ScanDependencies /Users/pubuduwijeyaratne/Documents/Work/Maui.NativeLibraryInterop-main/template/macios/NewBinding.MaciOS.Binding/ob
      j/Debug/net9.0-ios/xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/NewBinding/IntermediateBuildFilesPath/NewBindin
      g.build/Release-iphoneos/NewBinding.build/Objects-normal/arm64/NewBinding_vers.o /Users/pubuduwijeyaratne/Documents/Work/Maui.NativeL
      ibraryInterop-main/template/macios/NewBinding.MaciOS.Binding/obj/Debug/net9.0-ios/xcode/DerivedData/Build/Intermediates.noindex/Archi
      veIntermediates/NewBinding/IntermediateBuildFilesPath/NewBinding.build/Release-iphoneos/NewBinding.build/DerivedSources/NewBinding_ve
      rs.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'NewBinding' from project 'NewBinding')
        Archiving project NewBinding with scheme NewBinding
      (2 failures)

Build failed with 1 error(s) in 5.9s
pubuduwijeyaratne@Pubudus-MacBook-Pro NewBinding.MaciOS.Binding % 

Appreciate any help on this.

Could this be because we are using the NewBinding.xcworkspace when building the native project manually(i.e from xcodebuild command). and Community toolkit might be using the NewBinding.xcodeproj file to build the binding.??

主要言語
C#
スター
249
フォーク
48
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommunityToolkit/Maui.NativeLibraryInterop のほかの issue

CommunityToolkit/Maui.NativeLibraryInterop の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。