Xcode插件模板cocoapods

雅库布

我想创建Xcode插件,然后从Alcatraz选择Xcode插件模板,然后关闭项目并添加Podfile打开工作区,并尝试构建每次都出现错误提示:

ld: library not found for -lDTXcodeUtils
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这是完整的输出:

Ld / Users / jakubmazur / Library / Application \ Support / Developer / Shared / Xcode / Plug-ins / CreateFilesPlugin.xcplugin / Contents / MacOS / CreateFilesPlugin normal x86_64 cd / Users / jakubmazur / Developer / CreateFilesPlugin export MACOSX_GETPURb_10Y。 /Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Users/jakubmazur/Desktop/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/开发人员/SDK/MacOSX10.11。sdk -L / Users / jakubmazur / Library / Developer / Xcode / DerivedData / CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz / Build / Products / Debug -F / Users / jakubmazur / Library / Developer / Xcode / DerivedData / Createqs文件列表/Users/jakubmazur/Library/Developer/Xcode/DerivedData/CreateFilesPlugin-dmzpluimftctcqhbkndjiknqtjnz/Build/Intermediates/CreateFilesPlugin.build/Debug/CreateFilesPlugin.build/Objects-normal/x86_64/Create-FilesP。 ObjC -lDTXcodeUtils -lXcodeEditor -fobjc-arc -fobjc-link-runtime -framework AppKit -framework Foundation -lPods -Xlinker -dependency_info -Xlinker / Users / jakubmazur / Library / Developer / Xcode / DerivedData / CreateFilesPlugin-dmzzzlus CreateFilesPlugin.build/Debug/CreateFilesPlugin。build / Objects-normal / x86_64 / CreateFilesPlugin_dependency_info.dat -o / Users / jakubmazur / Library / Application \ Support / Developer / Shared / Xcode / Plug-ins / CreateFilesPlugin.xcplugin / Contents / MacOS / CreateFilesPlugin

ld:找不到用于-lDTXcodeUtils clang的库:错误:链接器命令失败,退出代码为1(使用-v查看调用)

你知道我应该怎么做吗?

子文件:

source 'https://github.com/CocoaPods/Specs.git'
platform :osx

pod "DTXcodeUtils"
约翰·库蒂

请执行以下步骤。它的工作。

  1. 删除所有方案并单击自动创建方案进行添加。(重新创建pod方案后,将对其进行检查,需要对其进行检查才能工作)。
  2. 然后从复制捆绑软件资源中删除方案文件(它显示错误)。
  3. 深层清洁并运行

它的构建对我来说没有任何错误,不确定它是否显示任何运行时错误/异常

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章