Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios ld:警告:-饼图被忽略。它仅在链接主可执行文件时使用_Ios_Xcode_Ld - Fatal编程技术网

Ios ld:警告:-饼图被忽略。它仅在链接主可执行文件时使用

Ios ld:警告:-饼图被忽略。它仅在链接主可执行文件时使用,ios,xcode,ld,Ios,Xcode,Ld,如何解决警告 我创建了一个名为“Designable”的框架,其中包含UIView的IBDesignable CustomView子类,该子类具有少量IBInspectable属性,可从其中的Nib文件加载 在一个应用程序的主要目标中,我从可设计框架中将一个视图类设置为CustomView。 在设备或模拟器上一切正常,但我在构建应用程序时收到警告 警告:“ld:Warning:-饼图被忽略。它仅在链接主可执行文件时使用”我也想知道这个问题的答案@SteveBunting您的配置是什么?我用xco

如何解决警告

我创建了一个名为“Designable”的框架,其中包含UIView的IBDesignable CustomView子类,该子类具有少量IBInspectable属性,可从其中的Nib文件加载

在一个应用程序的主要目标中,我从可设计框架中将一个视图类设置为CustomView。 在设备或模拟器上一切正常,但我在构建应用程序时收到警告


警告:“ld:Warning:-饼图被忽略。它仅在链接主可执行文件时使用”

我也想知道这个问题的答案@SteveBunting您的配置是什么?我用xcodegen?我不用xcodegen。这个问题是断断续续的,有时是好的,但有时不是。但似乎每次发生依赖时,我都会得到错误。和您一样,我也有一个可设计的自定义视图。它不会显示在情节提要中,但会显示错误“未能呈现和更新ViewController(BYZ-38-t0r)的自动布局状态:代理崩溃”。运行应用程序时,它工作正常。