gpt4 book ai didi

iphone - 编辑 xml 文件时界面生成器 Storyboard编译器错误

转载 作者:行者123 更新时间:2023-12-03 21:03:30 24 4
gpt4 key购买 nike

我在 iPhone/iPad 开发的 Storyboard 文件中手动添加元素。
事实上,我复制 iPad Storyboard中的 View ,并计算 iPhone 的比例尺寸(1024x768 到 480x320)。
它工作正常,但在添加包含多个 ImageView 时出现错误:

*CompileStoryboard iboniaIphoneLGT/LGT_iphone.storyboard
cd /Users/imac/Desktop/WORKSPACE
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 5.1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv XCODE_DEVELOPER_USR_PATH /Applications/Xcode.app/Contents/Developer/usr/bin/..
/Applications/Xcode.app/Contents/Developer/usr/bin/ibtool
--errors
--warnings
--notices
--output-format human-readable-text
--compile
/Users/imac/Desktop/WORKSPACE/build/Debug-iphonesimulator/LGT.app/LGT_iphone.storyboardc
/Users/imac/Desktop/WORKSPACE/iboniaIphoneLGT/LGT_iphone.storyboard
--sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk

Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool
failed with exit code 255*

该消息不明确,该消息的可能原因是什么???

雷克斯

最佳答案

我收到此错误,最终发现当我在项目导航器中选择 xib 中使用的图像之一时,它没有在“目标成员资格”下的文件检查器中检查该项目。一旦我检查了这一点,我就不再收到错误了。

因此,我建议检查 xib 中使用的所有图像和其他资源,并确保它们的目标成员身份正确。

关于iphone - 编辑 xml 文件时界面生成器 Storyboard编译器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11016974/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com