I rename my project of Xcode.I got an error of library not found.I do not know what to do.Advance thanks
Asked
Active
Viewed 185 times
-2

Asad Yasin
- 93
- 10
-
Avoid renaming your project this way, it might lead to this kind or errors, because it changes the name of the project's libraries path. Did you follow this https://stackoverflow.com/questions/33370175/how-do-i-completely-rename-an-xcode-project-i-e-inclusive-of-folders ? – Nov 29 '18 at 13:42
-
yes I follow this but I got error – Asad Yasin Nov 29 '18 at 13:44
-
1Probably best to create a new project with the correct name, and then move all your source files, etc over from the old project – koen Nov 29 '18 at 14:59
1 Answers
1
The library path and another path in Xcode build settings seems to be hard coded instead of using $(PROJECT_DIR)
.
You can go to XCode build settings, search for the Library Search path. You need to start the path with:
$(PROJECT_DIR)/your_library_name
Other Build settings you need to search are:
- Check info.plist path
- Header search path
- bridging header path (if using objC and swift)

NSNoob
- 5,548
- 6
- 41
- 54

Ankur Prakash
- 1,417
- 4
- 18
- 31