skip recursive paths of Swift auto-complete for objc header search paths

Swift auto-complete for objc header search paths: I had a terrible time with the Xcode6-beta2 Swift compiler’s auto-complete, when using objective-c headers and libs in .swift files, and I hear from a colleague that issues remain even with GA versions of Xcode6

For me, the application was compiling ok at build time, but after build, xCode would revert to popping an error for `unknown Type` for the objective-c classes.

I found that switching from a higher-level header search path with recursive search, to multiple specific paths without recursive search, resolved the issue.

Specifically, I could resolve the issue, by switching:

$(PROJECT_DIR)/../../target/headers/$(BUILD_STYLE)-$(PLATFORM_NAME)/**

to:

$(PROJECT_DIR)/../../target/headers/$(BUILD_STYLE)-$(PLATFORM_NAME)/com.sap.smp.client.ios/XScriptParser

$(PROJECT_DIR)/../../target/headers/$(BUILD_STYLE)-$(PLATFORM_NAME)/com.sap.smp.client.ios/ODataAPI

$(PROJECT_DIR)/../../target/headers/$(BUILD_STYLE)-$(PLATFORM_NAME)/com.sap.smp.client.ios/ODataOnline

…usw.

New NetWeaver Information at SAP.com

Very Helpfull

 

 

User Rating: Be the first one !