react-native-oauth
react-native-oauth copied to clipboard
iOS build failed on clean install
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?
Experiencing the same issue. Any updates?
Stucked on this me too. Updates?
Was this ever resolved?