Closed kaknut closed 2 years ago
Hello kaknut, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌
Just tried to build iOS app for my PWA and I have the exact same errors.
Hello, what is the URL you used to generate your files so that I can test on my end?
I was able to build your project and run it on the emulator. I am running the latest version of macOS and did a fresh install of XCode this morning.
I forgot to add that I'm running on MacBook Pro M1, that may be the issue.
I found this: https://github.com/CocoaPods/CocoaPods/issues/10518 and I actually have an error running pod install
@Jaylyn-Barbee can you confirm that generated template from PWABuilder is supposed to work properly on M1 MacBooks without installing Rosseta?
@alex-titarenko Just to verify have you tried sudo gem install cocoapods
per the next steps document?
@alex-titarenko Just to verify have you tried
sudo gem install cocoapods
per the next steps document?
IDK why, but I'm still getting errors (my pod file is empty)
@Jaylyn-Barbee that command sudo gem install cocoapods
was exactly the problem for me. It does not correctly install cocoapods on M1 MacBooks.
You can read more here: https://stackoverflow.com/questions/64901180/how-to-running-cocoapods-on-apple-silicon-m1
The following commands solved the problem for me and now I can build the project!!!!
sudo gem uninstall cocoapods
brew install cocoapods
Basically, you have to install cocoapods with HomeBrew instead to make it working on M1.
@alex-titarenko Thank you for this, i'll make a PR to mention this in the next-steps doc.
Facing issues with iOS build, here's the error I'm getting. (I did installl pods)