I just updated my Xcode to 6.3 and my project which was working fine till xcode 6.2 started giving errors .
Error is <TargetName-Swift.h> file not found
,current path of bridging header is inside subfolder of project ,i.e one level inside .xcodeproj file .
Already tried
Deleting Bridging-Header file and recreating it .
Changing the path under Swift Compiler- Code generation under build settings
Also tried to change header search path ,but I think that was already correct .
Checked for circular reference , but i dont think that can be a problem because it was working fine before updating xcode .
Also somewhere I read it is generated at "$(TARGET_TEMP_DIR)/../$(PROJECT_NAME).build/DerivedSources"
at this path , but didnot work for me .
****Edit *** Checked the log files generated it has error like "Opening import file for module 'Swift': Permission denied". Any idea ?? Of course I am super admin in the mac I am using .
Tried degrading Xcode again to 6.2 an everything worked well .
Any help would be great ..!! Thanks .
This is due to build errors. <TargetName-Swift.h>
is generated when there are no build errors.
Xcode 6.3 includes swift 1.2 which has some breaking changes compared with earlier swift version (distributed with xcode 6.2).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With