Bouke / SwiftInitializerGenerator

Xcode Source Code Extension to Generate Swift Initializers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"This target might include its own product" error when archiving

NachoSoto opened this issue · comments

I get this error whenever I archive (using Xcode 8). If I just build, I get #5:

screen shot 2016-10-05 at 5 28 03 pm

I tried disabling "Find Implicit Dependencies" in the scheme, and removing the explicit target dependency in the app target, but nothing helped :/

Go to Build Phases for the target "SwiftInitializerGenerator" and remove the Copy Files phase.

This also solved #5 for me.

I had the same issue. Deleting the Copy Files stage got it to build and archive. However, following the remaining steps in the README still goes get me a functioning extension. It does not appear in the Editor menu.

I've reverted the Copy Files phase, thanks. @rcritz can you try once again? And maybe try and check if there's something logged in the Console app? If it still doesn't work, please open a new issue, as it is not related to the one discussed here.

I had the same issue. Deleting the Copy Files stage got it to build and archive. However, following the remaining steps in the README still goes get me a functioning extension. It does not appear in the Editor menu.

Same here: I managed to build, archive, and install the extension as described in the README. However, it's still not showing up on the Editor menu in Xcode, despite multiple attempts, restarting Xcode, etc.

@NachoSoto @rcritz I had to go to System Preferences -> Extensions -> Xcode Source Editor and enable the extension before it showed up

I have the same problem can you mack a video for this problem please guys help me