相关疑难解决方法(0)

如何修复ibtool失败,退出代码为255

我以前从未遇到过这个问题.该应用程序过去运行完美,但现在它总是说这个错误.我尝试过清洁和重启.我试过重置IOS模拟器.我试过删除派生数据.

这就是它所说的:

CompileStoryboard YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard
cd /Users/DJ/Desktop/YoungstersTennisApp
setenv IBSC_MINIMUM_COMPATIBILITY_VERSION 6.0
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/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 6.0 --output-format human-readable-text --compile /Users/DJ/Library/Developer/Xcode/DerivedData/YoungstersTennisApp-ftehnuqeslbyekfiszajlixujbqk/Build/Products/Debug-iphonesimulator/YoungstersTennisApp.app/Base.lproj/Main_iPhone.storyboardc /Users/DJ/Desktop/YoungstersTennisApp/YoungstersTennisApp/Base.lproj/Main_iPhone.storyboard
Run Code Online (Sandbox Code Playgroud)

命令/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool失败,退出代码为255

对此的任何帮助都会很棒.我也有很大的故事板.那有关系吗?

提前致谢!

xcode ios ibtool uistoryboard

17
推荐指数
4
解决办法
3万
查看次数

无效的颜色系统,labelColor(仅给出一次警告)

我在nib load(NSWindowController)时在OS X 10.9控制台上收到警告.

Invalid color System, labelColor (warning given only once)
Run Code Online (Sandbox Code Playgroud)

我正在使用Xcode 6和OS X 10.10来编译我的代码.很可能这个警告是因为NSColor在10.10中为静态文本和相关元素公开了新的系统颜色:labelColor,secondaryLabelColor,tertiaryLabelColor和quaternaryLabelColor.

如何修复此警告?

cocoa objective-c xib nstextfield nstextfieldcell

10
推荐指数
1
解决办法
1900
查看次数

运行自定义shell脚本"复制Pod资源"错误

我最近遇到了Xcode构建问题.错误消息:

PhaseScriptExecution Copy\ Pods\ Resources /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Intermediates/XXXX.build/Debug-iphonesimulator/XXXX.build/Script-CD61667E1C3E477BBD8B461C.sh
    cd "/Users/XXX/XXXXX/03_Project/XXXX-ios"
    /bin/sh -c /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Intermediates/XXXX.build/Debug-iphonesimulator/XXXX.build/Script-CD61667E1C3E477BBD8B461C.sh

ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/XXX/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Products/Debug-iphonesimulator/XXXX.app/PTEAdjustLevelsCell.nib /Users/XXX/XXXXX/03_Project/XXXX-ios/Pods/LumberjackConsole/Source/Adjust Levels/PTEAdjustLevelsCell.xib --sdk /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/b03931/Library/Developer/Xcode/DerivedData/XXXX-ctiynisxuxnyspgkmjrwbzdlcppc/Build/Products/Debug-iphonesimulator/detox.app/PTEDashboard.nib /Users/XXX/XXXXX/03_Project/XXXX-ios/Pods/LumberjackConsole/Source/PTEDashboard.xib --sdk /Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk
Command /bin/sh failed with exit code 255
Run Code Online (Sandbox Code Playgroud)

我猜这两个文件有问题:PTEAdjustLevelsCell.xib和PTEDashboard.xib,但不知道如何准确找出错误的点.谁能告诉我如何找到问题的方法?任何提示都受到欢迎和赞赏.

shell xcode objective-c ios

4
推荐指数
1
解决办法
6262
查看次数