Now, I am not seeing the A0Auth0 pod installed and linked into my app.
$ pod install
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
[Codegen] Found FBReactNativeSpec
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing DoubleConversion (1.1.6)
Installing FBLazyVector (0.69.0)
Installing FBReactNativeSpec (0.69.0)
Installing RCT-Folly (2021.06.28.00-v2)
Installing RCTRequired (0.69.0)
Installing RCTTypeSafety (0.69.0)
Installing React (0.69.0)
Installing React-Codegen (0.69.0)
Installing React-Core (0.69.0)
Installing React-CoreModules (0.69.0)
Installing React-RCTActionSheet (0.69.0)
Installing React-RCTAnimation (0.69.0)
Installing React-RCTBlob (0.69.0)
Installing React-RCTImage (0.69.0)
Installing React-RCTLinking (0.69.0)
Installing React-RCTNetwork (0.69.0)
Installing React-RCTSettings (0.69.0)
Installing React-RCTText (0.69.0)
Installing React-RCTVibration (0.69.0)
Installing React-bridging (0.69.0)
Installing React-callinvoker (0.69.0)
Installing React-cxxreact (0.69.0)
Installing React-jsi (0.69.0)
Installing React-jsiexecutor (0.69.0)
Installing React-jsinspector (0.69.0)
Installing React-logger (0.69.0)
Installing React-perflogger (0.69.0)
Installing React-runtimeexecutor (0.69.0)
Installing ReactCommon (0.69.0)
Installing Yoga (1.14.0)
Installing boost (1.76.0)
Installing fmt (6.2.1)
Installing glog (0.3.5)
Generating Pods project
^B[/Users/dmitry/dev/auth0-react-native-sample/00-Login/ios/Pods/Target Support Files/Pods-Auth0Samples/Pods-Auth0Samples.release.xcconfig
/Users/dmitry/dev/auth0-react-native-sample/00-Login/ios/Pods/Target Support Files/Pods-Auth0Samples/Pods-Auth0Samples.debug.xcconfig
/Users/dmitry/dev/auth0-react-native-sample/00-Login/ios/Pods/Target Support Files/Pods-Auth0Samples-Auth0SamplesTests/Pods-Auth0Samples-Auth0SamplesTests.release.xcconfig
/Users/dmitry/dev/auth0-react-native-sample/00-Login/ios/Pods/Target Support Files/Pods-Auth0Samples-Auth0SamplesTests/Pods-Auth0Samples-Auth0SamplesTests.debug.xcconfig
Setting REACT_NATIVE build settings
^U
Integrating client project
Pod installation complete! There are 34 dependencies from the Podfile and 33 total pods installed.
[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via `pod repo remove master`. To suppress this warning please add `warn_for_unused_master_specs_repo => false` to your Podfile.
and A0Auth0 is not listed in my Podfile.lock. Here is my podfile:
$ cat Podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.4'
install! 'cocoapods', :deterministic_uuids => false
target 'Auth0Samples' do
config = use_native_modules!
# Flags change depending on the env values.
flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => flags[:hermes_enabled],
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
target 'Auth0SamplesTests' do
inherit! :complete
# Pods for testing
end
post_install do |installer|
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
$ cat ../node_modules/react-native-auth0/ios/A0Auth0.podspec
require "json"
package = JSON.parse(File.read(File.join(__dir__, "../package.json")))
Pod::Spec.new do |s|
s.name = "A0Auth0"
s.version = package["version"]
s.summary = package["description"]
s.homepage = "https://github.com/auth0/react-native-auth0"
s.license = "MIT"
s.license = { :type => "MIT", :file => "../LICENSE" }
s.authors = { "Auth0" => "[email protected]" }
s.platforms = { :ios => "9.0" }
s.source = { :git => "https://github.com/auth0/react-native-auth0.git", :tag => "v#{s.version}" }
s.source_files = "*.{h,m,swift}"
s.requires_arc = true
s.dependency "React"
end