question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow Xcode paths with different patterns

See original GitHub issue

First of all, thank you for the great GH action.

From https://github.com/maxim-lobanov/setup-xcode/blob/f3914cfd8e176f63fe6f27879260510b0bd482fc/src/xcode-utils.ts#L29

it accepts Xcode paths like /Application/Xcode_12.4.app , but not /Application/Xcode12.4.app .

I think both type of paths are popular for maintaining multiple Xcode versions.

It would be nice to accept the second kind of paths. Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maxim-lobanovcommented, Apr 2, 2021

Prepared small PR with fix: https://github.com/maxim-lobanov/setup-xcode/pull/19 Validated that action continue to work as expected on Hosted runners.

@bc-lee , would be appreciate for any testing on self-hosted. You can test PR branch via

steps:
- uses: maxim-lobanov/setup-xcode@improve-xcode-regex
  with:
    xcode-version: '<version>'
0reactions
ffittschencommented, Apr 23, 2021

Perfect, thanks a lot!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build settings reference | Apple Developer Documentation
A detailed list of individual Xcode build settings that control or change the way a target is built.
Read more >
Creating build rules for custom file types - Apple Developer
During a build, Xcode compares the full path of each project file against the specified pattern. When a match occurs, the system executes...
Read more >
Drawing Paths and Shapes — SwiftUI Tutorials
This tutorial takes you through the process of creating a badge by combining paths and shapes, which you then overlay with another shape...
Read more >
Accessing private data - Patterns - Human Interface Guidelines
Here are several examples of the things you must request permission to access: ... Another type of manipulation is using a term like...
Read more >
Build Setting Reference - Apple Developer
Describes the build settings used in the Xcode build system to compile source code and produce binary files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found