tipsi-twitter icon indicating copy to clipboard operation
tipsi-twitter copied to clipboard

Argument list too long: recursive header expansion failed

Open brocoder86 opened this issue 6 years ago • 2 comments

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/<prokect_name>/src/<project_name>/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?

brocoder86 avatar May 04 '18 11:05 brocoder86

@brocoder86 hi, please provide full error log and screenshot

isnifer avatar May 04 '18 12:05 isnifer

@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: "OBJC_CLASS$_TwitterNetworking", referenced from: objc-class-ref in TwitterKit(TWTRAPIClient.o) "OBJC_CLASS$_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]_block_invoke 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?

brocoder86 avatar May 04 '18 13:05 brocoder86