iWatcher-Prefix.pch.pch: No such file or directory - objective-c

I have this warning :
while processing /Users/myName/Desktop/myApp/AppRight.framework/AppRight(GrNativeCrashEvent.o):
warning: /Users/gryphonet/workspace/ios/iWatcher/Build/Intermediates/PrecompiledHeaders/iWatcher-Prefix-clslxlldlvbjdmgkugmxtoospkbr/iWatcher-Prefix.pch.pch: No such file or directory
I try this solution but its not work
Why isn't ProjectName-Prefix.pch created automatically in Xcode 6?
And I try to add iWatcher-Prefix.pch.pch file
but still have this warning.

Related

Bridging File Not Found

The bridging file is added, but keeps showing the error.
My Bridging Header File is correctly setup because the other imports are successful.
I would advise you to use CocoaPods to handle external frameworks. Here is SlackTextViewController. If you still want to use copied version, make sure you add the files to your project. Try copying the files to your project folder using Finder and then use Xcode File -> Add files to "YOUR_PROJECT"

xcode searches for prefix.pch file in wrong directory

i made a xcode project and changed the name of the folder in xcode as well as in finder. then i proceeded to relink them via the method shown here: Renaming xcode 4 project and the actual folder
so originally the folder was weatherScan2 which i renamed to weatherScan and xcode shows that there are no issues. However when i click build, there's a clang error that says:
no such file or directory: '/Users/user/Documents/Xcode/WeatherScan/WeatherScan2(thisis the folder that i renamed to weatherScan)/WeatherScan-Prefix.pch
clearly it should be looking for the pch file in weatherscan as there is no longer any weatherscan2 folder in existence. How should i redirect this?
i already tried deleting the pch file from xcode and then readding it but the same thing happens. what part of xcode is trying to look for the pch file in the old place and not the new renamed folder? all the other files seems to be working fine.
ok, i realized the issue was in the target/build setting section where it still shows my app looking for the info and pch files in weatherScan2 folder. i edit that and everything works.

I have deleted main file from my source file and i got error

In iOS 7 I have deleted my main file from my source file. I replaced it from trash and I got an error like this:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
how to overcome? Thanks for your help.
When you restored the main.m file did you add it to the bundle? Did you add it with the check mark on copy?
Check in Build Phases under Compile Sources that your main.m file is there.
Also make sure the main file isn't twice in your project.

Can't install yiidebugtb extension in Yii application

I have downloaded the yiidebugtb extension and put it in the protected/extensions directory, so the path to the XWebDebugRouter.php file is protected/extensions/yiidebugtb/XWebDebugRouter.php. Then I updated the main.php config file so that I added this line 'application.extensions.yiidebugtb.*', in the 'import' section, so this extension is loaded automatically.
However, when I try to access the main page of my application I am getting this error
include(XWebDebugRouter.php): failed to open stream: No such file or directory
in YiiBase.php(421). Anyone could help? Thanks.
The directory
protected/extensions/yiidebugtb
had incorrect access rights. It only had rwx------, after chmod to rwxr-xr-x it is alright.

Reading File to Frameworks of Xcode

I removed a file from the Framework section of my Xcode application and now I want to add the file back. However when I try to add the file back I get the following alert.
Could not copy /Users/brian/Downloads/iphone-exif-0-9.1(1)/Release-simulator-iphonesimulator/libiphone-exif.a to /Developer/CS193/GraffitiMap/libiphone-exif.a.
What is going on here?
When you add a file in you project, you can either copy it in you project or just reference the file somewhere else on your hard drive.
When you removed the file from you project, you didn't remove it from you project folder. Xcode can't write at that path since there's already a file, and gives you an error.
Just remove the file that's already in your project folder from the Finder.