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

XCode 7.1 : No longer builds against a development pod #266

Closed
solomon23 opened this issue Oct 21, 2015 · 11 comments
Closed

XCode 7.1 : No longer builds against a development pod #266

solomon23 opened this issue Oct 21, 2015 · 11 comments
Labels
question General question

Comments

@solomon23
Copy link

If you create a development pod and reference AWSKinesis and AWSCore, the project will no longer build as of XCode 7.1. It previously built clean in 7.0.1. Here's a sample project:

https://www.dropbox.com/s/98h743arecqtwrs/BadPod%202.zip?dl=0

The discussion over on cocoapods:

CocoaPods/CocoaPods#4420

@mikecole20
Copy link

+1

I'm having the same issue with AWSCore and AWSS3. My SDK (my private cocoapod) depends on AWSCore and AWSS3 and compiles fine. My app depends on my SDK (which includes AWSCore and AWSS3 in the podspec). AWSS3 gives the include of non-modular header inside framework module error when trying to compile the app. Everything worked well in Xcode 7.0.1.

@yosuke-matsuda yosuke-matsuda added the bug Something isn't working label Oct 27, 2015
@yosuke-matsuda
Copy link
Contributor

We will look into this. Thanks.

@earulraj
Copy link

earulraj commented Dec 4, 2015

Any update to this issue.. Facing the same :(

@abeeriqbal
Copy link

Try to clean and rebuild your project

@rkawajiri
Copy link

Is this problem solved?

According to this PR #272, this seems to be solved. However, I'm having the same issue on my private pod with 2.3.2.

@mikecole20
Copy link

It's still a problem for me as well.

@mikecole20
Copy link

I wanted to follow up on this. We just updated our SDK to use AWSCore 2.3.2 and AWSS3 2.3.2. Still getting the same issue when importing our SDK into our App.

From AWSBolts.h:

Include of non-modular header inside framework module 'AWSCore.AWEBolts'

There are 8 of those: one for each import. This of course causes another build error in our swift file where we try to use import AWSCore.

Could not build Objective-C module 'AWSCore'

There is a workaround that I found in the previously linked Cocoapods issue.

post_install do |installer|
    `rm -rf Pods/Headers/Private`
    `find Pods -regex 'Pods\/.*\.modulemap' -print0 | xargs -0 sed -i '' 's/private header.*//'`
end

This hasn't seemed to cause any side effects for us, but I'd love to get rid of it. The Cocoapods issue was closed and stated to be fixed, but I'm still needing that workaround to get AWS working.

@yosuke-matsuda
Copy link
Contributor

This issue has not been addressed. #272 is a separate issue.

@Kumuluzz
Copy link

@yosuke-matsuda, are there any updates or progress made on this issue?

@moa7ed
Copy link

moa7ed commented Mar 30, 2016

Any updates??

@yosuke-matsuda
Copy link
Contributor

With CocoaPods 1.0.0, this issue should have been resolved. Please let us know if you keep encountering the issue. Thanks.

@yosuke-matsuda yosuke-matsuda added question General question and removed bug Something isn't working labels May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question
Projects
None yet
Development

No branches or pull requests

8 participants