Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod install - unexpected token #420

Open
devpascoe opened this issue Apr 16, 2024 · 0 comments
Open

Pod install - unexpected token #420

devpascoe opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@devpascoe
Copy link

devpascoe commented Apr 16, 2024

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

@devpascoe devpascoe added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant