Opening import file for module 'Swift' Permission denied
SO i figured out what was causing this issue. It was the 'Search Paths' under 'Build Settings' that was looking in the wrong location for my frameworks. Similar to the Apple Mach-O linker error fix
It was searching my for the frameworks on my macbook pro, I deleted the 'Framework Search Path' and then re-added my Parse.framework, Bolts.framework and FBSDKCoreKit.framework.
The project now builds and runs just as it should without any issues.
unknown:0: error: opening import file for module 'Swift': File name too long
So I solve the problem. The issue when updated to Xcode7 was that the Framework Search Paths value $(SRCROOT) was set to recursive. For some reason this was not working for me in Xcode7. I have $(SRCROOT) set to recursive in Xcode6.4 where it was working perfectly fine but after the update to Xcode7 it start to show:
:0: error: opening import file for module 'Swift': File name too long
I deleted $(SRCROOT) value and add $(PROJECT_DIR)/... paths for every library and framework used within my app. I tried to just set $(PROJECT_DIR) with recursive value but I would get the same compiling time error so the solution was just to specify the path to every library and framework used.
Hope this helps to other folks that have the same issue.
Related Topics
Cannot Decode Object of Class (Ampathpopupbutton)'
Navigationlink Doesn't Work with New .Searchable Modifier on Swiftui 3.0
How to Create a Single Page Vertical Scrolling Pdfview in Swift
How to Observe Object's Property in Rxswift
Xcode 9.2 Is Not Showing Swift 4.1
Scenekit - Why Scnlight Created Automatically in Scnscene
How to Split a String at The Last Occurence of a Sequence
Converting Cmtime to String Is Wrong Value Return
Is There a Way in Swiftui to Detect If a User Has Larger Text Size Enabled
How to Write to a Variable from Within The Firebase Getdocument Function (Swift)
Converting Scanlocation from Utf16 Units to Character Index in Nsscanner (Swift)
Emitting a Warning for a Deprecated Swift Protocol Method in Implementing Types
Levenshtein Distance in Swift3
Nsdatepicker in Nsstatusbar Nssmenuitem Not Receiving Input
Pause Spritekit Scene When Iad Is Clicked in Swift
Conversion Between Cgfloat and Nsnumber Without Unnecessary Promotion to Double