pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.78k stars 287 forks source link

[BUG] pod install crash #2813

Closed pm100 closed 2 years ago

pm100 commented 2 years ago

What happened?

complete xcode ios dev novice, sorry. m1 mac

dowloaded package from pwabuilder, install xcode and xcode cli

unpack, cd src pod install, no such command, google around . Do

sudo gem install cocoapods

seems to work

do pod install -> boom

pod install
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: warning: Insecure world writable dir /Users/pm100/Documents/EarWorm in PATH, mode 040707
Analyzing dependencies
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x0000000100934000
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0050 p:---- s:0320 e:000319 CFUNC  :attach
c:0049 p:0258 s:0314 e:000313 METHOD /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi/library.rb:275
c:0048 p:0050 s:0294 e:000293 CLASS  /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/libc.rb:17
c:0047 p:0007 s:0291 e:000290 CLASS  /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/libc.rb:7
c:0046 p:0007 s:0288 e:000287 TOP    /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/libc.rb:2 [FINISH]
c:0045 p:---- s:0285 e:000284 CFUNC  :require
c:0044 p:0110 s:0280 e:000279 METHOD /System/Library/Frameworks/Ruby.framework/Versions/2.6

I assume thats a stck trace, there is a lot more.

How do we reproduce the behavior?

see above

What do you expect to happen?

No response

What environment were you using?

Macos 12.2.1 M1 Macbook air

Additional context

No response

ghost commented 2 years ago

Hello pm100, 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 🙌

pm100 commented 2 years ago

BTW I looked for Logs in both places mentioned in the crash report, but found nothing. I have no ~/Library/Logs and /Library/Logs has no files with the correct timestamp

Jaylyn-Barbee commented 2 years ago

For M1 macs there is a different process to install pods. You can find that here in the docs here. In the future we recommend using our community discord for iOS support, check that out here. Let me know if the M1 instructions work for you.

pm100 commented 2 years ago

i did the brew install cocoapods and it fails the same way

Jaylyn-Barbee commented 2 years ago

I recommend checking the community discord. A lot of people there have packaged with iOS and this is one of the areas we rely on community support for help. https://aka.ms/pwabuilderdiscord

paulaegido commented 2 years ago

Im having the same problem, any update to solve it?

pm100 commented 2 years ago

fixed with this https://stackoverflow.com/questions/68553842/error-installing-a-pod-bus-error-at-0x00000001045b8000

Im having the same problem, any update to solve it?