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

unable to compile after the pod install #32

Closed
arunarya111 opened this issue Feb 3, 2016 · 11 comments
Closed

unable to compile after the pod install #32

arunarya111 opened this issue Feb 3, 2016 · 11 comments

Comments

@arunarya111
Copy link

After Pod install my code is not compiling.
Can you please help?
Also tried with a fresh project.
I am using xcode 7
screen shot 2016-02-03 at 6 56 24 pm
screen shot 2016-02-03 at 6 56 27 pm
screen shot 2016-02-03 at 6 56 31 pm

@orkhanalizade
Copy link
Contributor

Did you take a look at this issue?

@OptimisticMonkey
Copy link

Getting the same issue

@orkhanalizade
Copy link
Contributor

@OptimisticMonkey please read carefully the link posted above by me

@arunarya111
Copy link
Author

@orkhanalizade i have gone through the post it has 3 approaches i have tried them all but stuck at last step for each.is there a way i can get correct list of steps?

@OptimisticMonkey
Copy link

I ended up adding the following to the end of the Podfile:

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

@arunarya111
Copy link
Author

@OptimisticMonkey this gives me a syntax error
Should i update cocoapods?

[!] Invalid Podfile file: syntax error, unexpected tCONSTANT, expecting keyword_do or '{' or '('
rm -rf Pods/Headers/Private
^
/Users/arun/ios/testxmpp/Podfile:8: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
find Pods -regex 'Pods/..modulemap' -print0 ...
^
/Users/arun/ios/testxmpp/Podfile:8: syntax error, unexpected tUMINUS_NUM, expecting keyword_do or '{' or '('
...
.modulemap' -print0 | xargs -0 sed -i '' 's/private header...
... ^
/Users/arun/ios/testxmpp/Podfile:8: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
...ap' -print0 | xargs -0 sed -i '' 's/private header.*//'
... ^. Updating CocoaPods might fix the issue.

@OptimisticMonkey
Copy link

Did you include all the following:
post_install do |installer| rm -rf Pods/Headers/Private find Pods -regex 'Pods\/.*\.modulemap' -print0 | xargs -0 sed -i '' 's/private header.*//' end

@orkhanalizade
Copy link
Contributor

I'll check it, soon

@orkhanalizade
Copy link
Contributor

@arunarya111 @OptimisticMonkey I've just downloaded the repository fromGitHub, opened "Example" and on Xcode 7.2.1 it works perfectly. There are some bugs, relative with the OneLastActivity, you can fix these by reading this issue carefully. I already described how to fix it.

2016-02-05 11 45 24

@arunarya111
Copy link
Author

Thanks alot for the help
I ended up upgrading cocoapods adding platform :ios, '8.0' in the begining of the podfile

@orkhanalizade
Copy link
Contributor

you're welcome!

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

3 participants