ios – 在xcode中可能导致此错误的原因PBXcp Main.storyboardc比filepath缓冲区大小(1025)更长?

前端之家收集整理的这篇文章主要介绍了ios – 在xcode中可能导致此错误的原因PBXcp Main.storyboardc比filepath缓冲区大小(1025)更长?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我的应用程序目标是在设备上成功建立和运行,但是在为我的应用程序运行单元测试目标时我遇到此错误.它特别发生在复印面.

PBXCp
/Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app
/Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app
cd /Users/MyUser/Documents/MyApp-iOSApp
export PATH=”/Users/MyUser/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/MyUser/Downloads/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin”
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -resolve-src-symlinks /Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app
/Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks

error:
‘/Users/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks/MyApp.app/Base.lproj/Main.storyboardc/34u-hk-bLl-view-84B-ld-hA4.nib’
is longer than filepath buffer size (1025).

解决方法

我认为你的故事板大小太大,可以使用故事板引用将您的故事板文件分解成多个故事板

观看本教程的故事板参考:

https://www.youtube.com/watch?v=0xxbflasmOc

希望这是正确的答案,并帮助您

猜你在找的iOS相关文章