Pod install - unexpected token
devpascoe opened this issue · 0 comments
Describe the bug?
Having an issue with pod install. I'm getting...
Invalid Podfile
file: 859: unexpected token
from ..../ios/Podfile:10
-------------------------------------------
project './appp.xcodeproj'
config = use_native_modules!
flags = get_default_flags()
-------------------------------------------
However when i run --verbose i see a little more info...
Failed to build the app: No package name found. Found errors in /...../node_modules/@okta/okta-react-native/android/src/main/AndroidManifest.xml.
Which is weird since pod install is for iOS. But regardless a SO thread mentioning something similar references an AndroidManifest.xml missing a package property. https://stackoverflow.com/questions/71573938/react-native-error-package-name-not-found
So i edit the file /node_modules/@okta/okta-react-native/android/src/main/AndroidManifest.xml and add package="com.oktareactnative"
Now running pod install works.
What is expected to happen?
Pods to install.
What is the actual behavior?
Error unexpected token
Reproduction Steps?
pod install
Additional Information?
No response
SDK Version
RN 0.70.6
node 18
Build Information
No response