tipsi / tipsi-twitter

React native module for twitter API
MIT License
29 stars 10 forks source link

Argument list too long: recursive header expansion failed #24

Open brocoder86 opened 6 years ago

brocoder86 commented 6 years ago

react-native version: 0.55.3 react-native-cli version: 2.0.1

I tried all installation methods: manual and automatic but I keep getting this error when I try to build on iOS: Argument list too long: recursive header expansion failed at /Users//Projects//src//node_modules/tipsi-twitter/ios/../../../ios/Pods/React/node_modules/fsevents/node_modules/sshpk/lib.

I also double checked the search header paths on the TPSTwitterModule.xcodeproj and the one on the project Targer they are not that long. Can anyone figure out why am I getting this error?

isnifer commented 6 years ago

@brocoder86 hi, please provide full error log and screenshot

brocoder86 commented 6 years ago

@isnifer Thank you for the fast reply. I just deleted everything and did the whole thing again.. but now I'm getting a different error:

Undefined symbols for architecture x86_64: "_OBJCCLASS$_TwitterNetworking", referenced from: objc-class-ref in TwitterKit(TWTRAPIClient.o) "_OBJCCLASS$_TwitterUserAPIClient", referenced from: objc-class-ref in TwitterKit(TWTRWebAuthenticationViewController.o) objc-class-ref in TwitterKit(TWTRWebAuthenticationTokenRequestor.o) "_TWTRCoreOAuthSigningOAuthEchoHeaders", referenced from: -[TWTROAuthSigning OAuthEchoHeadersForRequestMethod:URLString:parameters:error:] in TwitterKit(TWTROAuthSigning.o) "_TWTRAPIConstantsParamID", referenced from: -[TWTRTweetRepository lookupRequestForTweetIDs:APIClient:additionalParameters:error:] in TwitterKit(TWTRTweetRepository.o) "_TWTRAPIConstantsFieldIDString", referenced from: -[TWTRUser setPropertiesFromValidatedDictionary:] in TwitterKit(TWTRUser.o) _25+[TWTRUser JSONValidator]_blockinvoke in TwitterKit(TWTRUser.o) -[TWTRMyRetweetIDValueTransformer transformedValue:] in TwitterKit(TWTRValueTransformers.o) -[TWTRTweet setPropertiesFromValidatedDictiontary:] in TwitterKit(TWTRTweet.o) 26+[TWTRTweet JSONValidator]_block_invoke in TwitterKit(TWTRTweet.o) +[TWTRTimelineParser hyrdrateTweet:withUserFromUsers:] in TwitterKit(TWTRTimelineParser.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

screen shot 2018-05-04 at 15 28 50 should I open another issue regarding this or has it been opened before?