xcode PBXcp Main.storyboardc中可能导致此错误的原因可能是文件路径缓冲区大小(1025)?

时间:2016-08-09 14:23:25

标签: ios xctest

我的应用目标是在设备上成功构建并运行但我在运行应用的单元测试目标时遇到此错误。它特别发生在复制面部。

  

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 /开发人员的/ 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 /编译/产品/调试-iphonesimulator / MyApp.app   /Users/MyUser/Library/Developer/Xcode/DerivedData/MyApp-fxuhlekykqtnhocptuufcbrgmspb/Build/Products/Debug-iphonesimulator/MyApp.app/PlugIns/MyAppTests.xctest/Frameworks

     

错误:   ' /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 。应用程序/插件/ MyAppTests.xctest /框架/ MyApp.app /插件/ MyAppTests.xctest /框架/ MyApp.app /插件/ MyAppTests.xctest /框架/ MyApp.app /插件/ MyAppTests.xctest /框架/ 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.storyboa RDC / 34U-HK-BLL-视图-84B-LD-hA4.nib'   比文件路径缓冲区大小(1025)长。

2 个答案:

答案 0 :(得分:1)

我认为你的故事板尺寸过大会尝试使用故事板参考将故事板文件分成多个故事板

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

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

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

答案 1 :(得分:1)

罗马的答案是为我做的。我有一个循环依赖,其中appname.app在我的副本资源中。我不完全理解为什么删除修复了这个问题,但我想我会在这里发帖。