Unable to build projects with CocoaPods - iOS Native bindings
还没有人认领这个 Issue。
评估
- 难度
- 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
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommunityToolkit/Maui.NativeLibraryInterop 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
CommunityToolkit/Maui.NativeLibraryInterop#107 · 8 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
CommunityToolkit/Maui.NativeLibraryInterop#106 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
CommunityToolkit/Maui.NativeLibraryInterop#105 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 3-5 天 新手友好度 30/100
CommunityToolkit/Maui.NativeLibraryInterop#101 · 3 条评论 · 4 个 reaction ·
查看 CommunityToolkit/Maui.NativeLibraryInterop 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
fluentassertions/fluentassertions#3353 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 半天 新手友好度 78/100
unoplatform/uno#24769 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
AvaloniaUI/Avalonia#22323 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
microsoft/onnxruntime-genai#2633 ·
维护者通常 1 天内回复