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

IOS Fail due to recent update: Invalid record_darwin.podspec file: unknown regexp options - rcrd #426

Closed
abdulaziz-mohammed opened this issue Nov 2, 2024 · 6 comments

Comments

@abdulaziz-mohammed
Copy link

Package version

Environment

  • OS: IOS

Describe the bug

After running command in Github action:

  cd ios
  pod install
  cd ..

since yesterday it has been working fine and no new code changes, but today I'm getting:

Analyzing dependencies
firebase_core: Using Firebase SDK version '11.2.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '[11](https://github.com/company/mobile-app/actions/runs/11642407409/job/32421966375#step:12:11).2.0' defined in 'firebase_core'
[!] Failed to load 'record_darwin' podspec: 
[!] Invalid `record_darwin.podspec` file: unknown regexp options - rcrd
../darwin/record_darwin.podspec
         ^~~~~~~
/Users/runner/work/mobile-app/mobile-app/ios/.symlinks/plugins/record_darwin/ios/record_darwin.podspec:1: syntax error, unexpected local variable or method, expecting end-of-input
../darwin/record_darwin.podspec
                ^~~~~~~
.
 #  from /Users/runner/work/mobile-app/mobile-app/ios/.symlinks/plugins/record_darwin/ios/record_darwin.podspec:1
 #  -------------------------------------------
 >  ../darwin/record_darwin.podspec
 #  -------------------------------------------
Error: Process completed with exit code 1.
@KevinSinSH
Copy link

I have this problem as well, any idea to use 1.1.2? I see it is a transitive dependency

@devShakib015
Copy link

Same issue here.. Cannot build app for iOS..

@lukeyuen701
Copy link

Same issue

@llfbandit
Copy link
Owner

record_darwin has been re-uploaded with version 1.2.1 => Simply run flutter pub upgrade.
This should fix the issue (which is a symlink issue). Feedback welcome!

@KevinSinSH
Copy link

record_darwin has been re-uploaded with version 1.2.1 => Simply run flutter pub upgrade. This should fix the issue (which is a symlink issue). Feedback welcome!

After flutter pub upgrade, the issue is gone. Highly appreciated for your speedy fix.

@abdulaziz-mohammed
Copy link
Author

Thank you @llfbandit
Rerunning same command now works as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants