react-native-oauth icon indicating copy to clipboard operation
react-native-oauth copied to clipboard

iOS build failed on clean install

Open vphong opened this issue 7 years ago • 3 comments

Completed the README instructions, so I'm trying to build and react-native run-ios but:

** BUILD FAILED **


The following build commands failed:
	CompileC .../warble/ios/build/Build/Intermediates.noindex/OAuthManager.build/Debug-iphonesimulator/OAuthManager.build/Objects-normal/x86_64/OAuth2Client.o OAuthManager/OAuth2Client.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

building the .xcworkspace from xcode shows no issues, only react-native run-ios. However, the app opens up fine in simulator.


I found this issue because I was trying to do a simple twitter authentication and the console showed:

TypeError: Cannot read property 'authorize' of undefined
    at promisify.js:11
    at tryCallTwo (core.js:45)
    at doResolve (core.js:200)
    at new Promise (core.js:66)
    at promisify.js:6
    at OAuthManager.authorize (react-native-oauth.js:44)
    at App.js:28
    at loadModuleImplementation (require.js:178)
    at guardedLoadModule (require.js:130)
    at _require (require.js:110)

I'm assuming that if the build error is fixed, this error will be fixed as well. Any suggestions?

vphong avatar Oct 29 '17 17:10 vphong

Experiencing the same issue. Any updates?

appfr3d avatar Jan 31 '18 19:01 appfr3d

Stucked on this me too. Updates?

liqueflies avatar Feb 19 '18 11:02 liqueflies

Was this ever resolved?

raymondjacobson avatar Jan 13 '20 20:01 raymondjacobson