capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

bug: Pod files generated on Windows caused build to fail on mac

Open kentora opened this issue 3 years ago • 0 comments

Bug Report

Capacitor Version

   Capacitor Doctor

Latest Dependencies:

  @capacitor/cli: 3.4.3
  @capacitor/core: 3.4.3
  @capacitor/android: 3.4.3
  @capacitor/ios: 3.4.3

Installed Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/android: 3.2.5
  @capacitor/core: 3.2.5
  @capacitor/ios: 3.3.2

[error] Xcode is not installed

Platform(s)

Building capacitor iOS on Windows / transfered to mac afterwards

Current Behavior

(some?) Podfile entries have windows style file seperators

Expected Behavior

Podfile entries should always have unix-style seperators

Code Reproduction

Other Technical Details

npm --version output:

node --version output:

pod --version output (iOS issues only):

Additional Context

It seems that the issue can be solved by using convertToUnixPath in cli/src/ios/update.ts:167

kentora avatar Mar 10 '22 14:03 kentora