Skip to Content

skip recursive 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.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply