rules_xcodeproj icon indicating copy to clipboard operation
rules_xcodeproj copied to clipboard

Feature Request: support App Clip invocation URL in custom schemes

Open luispadron opened this issue 1 year ago • 4 comments

Schemes which have a binary launch target that is also an App Clip can support a new plist property:

appClipInvocationURLString

This is a single URL that will be provided to the app clip during launch. It is useful for teams to set this in their schemes so they do not need to modify the schemes every time the project is generated.

luispadron avatar Apr 02 '24 14:04 luispadron

Planning on implementing this when I get some free time, if someone would prefer to take this up let me know!

luispadron avatar Apr 02 '24 14:04 luispadron

Planning on implementing this when I get some free time, if someone would prefer to take this up let me know!

I would like to give it a shot but need some guidance on where to start.

adincebic avatar Apr 02 '24 16:04 adincebic

Nice!

@adincebic you can take a look at: https://github.com/MobileNativeFoundation/rules_xcodeproj/pull/2785 and https://github.com/MobileNativeFoundation/rules_xcodeproj/pull/2866 which implemented a similar change to the schemes API.

@brentleyjones if you have other suggestions to get them started

luispadron avatar Apr 02 '24 16:04 luispadron

As a workaround for now: using _XCAppClipURL as an environment variable in the run section of the App Clip scheme still works in Xcode 15.x. The scheme UI in Xcode does not show it as the "App Clip Invocation URL" but the app clip still recognized that URL during launch in my testing.

luispadron avatar Apr 09 '24 18:04 luispadron