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

Incorrect scheme generated for extension target #165

Closed
RikkiGibson opened this issue May 21, 2017 · 3 comments
Closed

Incorrect scheme generated for extension target #165

RikkiGibson opened this issue May 21, 2017 · 3 comments

Comments

@RikkiGibson
Copy link
Contributor

I'm using the extension_for(target) function to create an App Extension target based on my iOS app target. When I try to run one of the generated schemes for the App Extension, I get the error: "App Extension with identifier (bundle identifier) is already installed, so we can't install User App with that same identifier.".

When I simply select New Scheme and pick my App Extension target for the scheme, a working scheme is generated.

The differences I notice between the working and non-working in the UI include:

  1. The working scheme has Executable set to "Ask on Launch"
  2. "Expand Variables Based On" is set to my main app target.
RikkiGibson added a commit to RikkiGibson/Corvallis-Bus-iOS that referenced this issue May 21, 2017
Today Extension scheme needs to be manually added to debug. See igor-makarov/xcake#165
@jcampbell05
Copy link
Collaborator

Are you still able to provide a project file with the working target and the xcake generated one so I can see what it is doing wrong ?

@RikkiGibson
Copy link
Contributor Author

RikkiGibson commented Dec 29, 2017

The error message is different in Xcode, but it's still broken. If you pull down this branch of my project, follow the instructions to build in README.md, and try to run a TodayExtension scheme, you should be able to repro the problem. You can also see in the project the scheme files under .xcake/ and the script I added in the Cakefile to work around it.

https://github.com/rikkigibson/corvallis-bus-ios/tree/XcakeScheme

Let me know if it's excessively cumbersome or anything to deal with my whole project and I can try to just construct a simple project with an extension target for you to experiment with.

@jcampbell05
Copy link
Collaborator

So all other issues for new release fixed except this one - I am looking to see if the bundle identifier is being generated correctly with xcake.

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

2 participants