I read related topics, but could not find a solution to my problem.
When I start my project, I first saved it in a folder with an empty space in the name (let it be called "My project")
It also allows you to simplify the path through my project as a simple folder: "My path" (yes, there were spaces in the hierarchy).
I had problems creating my project, especially using the library search path in the Build settings, regularly returning with xcode updates and / or duplicating the project to store the historical version.
To solve this, I replaced all spaces with underscores. So now my project folder name is "My_Project" and the path is "My_path". These changes were also made in the build settings of my project.
But today I have a mistake that I can’t get rid of.
When I create my project, each file compiles fine, but during the “copy” process I get this error.
/!\Copy AFNetworking ...in /Users/admin/Desktop/My_path/My Project/Product-name/Sub Folder CpResource /Users/admin/Desktop/My_path/My\ Project/Product-name/Sub\ Folder/AFNetworking /Users/admin/Library/Developer/Xcode/DerivedData/Product-name-gkplyeugxcxhijajdvpxutaodxmz/Build/Products/Release-iphoneos/Product-name.app/AFNetworking cd /Users/admin/Desktop/My_path/My_Project/Product-name export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.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 -strip-debug-symbols -strip-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip -resolve-src-symlinks /Users/admin/Desktop/My_path/My\ Project/Product-name/Sub\ Folder/AFNetworking /Users/admin/Library/Developer/Xcode/DerivedData/Product-name-gkplyeugxcxhijajdvpxutaodxmz/Build/Products/Release-iphoneos/Product-name.app
I do not see in my target settings any field where spaces are not replaced by underscores.
Any help was appreciated.
(I am using Xcode 7.2, OS X El Capitan 10.11.2)
ios build xcode
zbMax
source share