Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No such module" error for archive with custom configuration in objc project. #664

Closed
greenmood opened this issue Jan 11, 2016 · 1 comment

Comments

@greenmood
Copy link

I have several custom build configurations, which are copies of 'release' configuration. But i can't archive using any of them and if i use default 'release' configuration, it successfully archives it.

i build for iOS 9, Charts.framework is in 'embedded binaries'. Embedded content contains swift - set to yes. It's objc project, so i created an empty swift file. In that file i wrote

    import Foundation
    import UIKit;
    import Charts;

Third line is where i receive an error No such module.
And in my viewcontroller, i have #import "(ProductModuleName)-Swift.h". Any idea why i can't archive for custom configuration?

@greenmood
Copy link
Author

I got it. Charts project should also contain the same build configurations as your project. That's why it couldn't find charts for other configurations and for release it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant