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

Use readlink -f when 'pod install' on apple M1 #11884

Closed
arnotixe opened this issue Apr 28, 2023 · 2 comments
Closed

Use readlink -f when 'pod install' on apple M1 #11884

arnotixe opened this issue Apr 28, 2023 · 2 comments

Comments

@arnotixe
Copy link

My app is an angular+ionic+capacitor app and npx cap sync ios runs pod install in the end.

Problem is, on M1 architectures it seems readlink -f (instead of just readlink) is required in Pods/Target Support Files/Pods-App/Pods-App-frameworks.sh like

 … 
  source="$(readlink "${source}")"   # breaks
  source="$(readlink -f "${source}")"   # works
 …

I can edit that sh file myself adding -f… but is there an option to toggle that somehow, during the generation of Pods-App-frameworks.sh?

With -f, the fastlane build succeeds, and without it, not.

As you may have noted, I'm not sure exactly what barfs, if it is the Xcode version or the architecture. But at least it seems pod install generates that file: if I edit the .sh file to include -f and then rerun pod install, readlink is back without -f again

@paulb777
Copy link
Member

The issue may be resolved with 1.12.1. If not, please fill out the issue template.

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

3 participants
@paulb777 @arnotixe and others