markohlebar / Import

Xcode extension for adding imports from anywhere in the code ☝️
MIT License
847 stars 40 forks source link

Doesn't seem to install #12

Open RustyKnight opened 7 years ago

RustyKnight commented 7 years ago

OS X 10.11.6 XCode 8.1b3

Import also does not appear in Xcode's Editor menu

ghost commented 7 years ago

Same here on El Capitan. No issue on Sierra though.

Zhangchi0523 commented 7 years ago

Same question

tigrim commented 7 years ago

+ El Capitan

markohlebar commented 7 years ago

@RustyKnight it seems that El Capitan is not a happy camper when it comes to this stuff :) I'd suggest building from source in that case if that's not a problem for you. I will update the Readme to add the steps for building from code.

RustyKnight commented 7 years ago

@markohlebar Yea for El Capitan! I'll have a go at building from the source and let you know ;)

Update: I've cloned the repo and built a version from source, archived it using my developer ID and installed it without success, same issue. I'll see if I can get it to run within xCode itself

MKGitHub commented 7 years ago

Same here, I built the app with my developer id and still nothing.

denniszxxc commented 7 years ago

From my experience in installing Xcode 8 editor extension, there is a hack to make the extension stays in non-debug mode after building from code. (No archive needed)

  1. Build the extension target using developerID
  2. Black icon Xcode shows up.
  3. Force quit the parent Xcode (the blue-icon one)
  4. Quit the black icon Xcode
  5. Launch Xcode normally, the extension will be found in Editor menu. Ready to use. 👏🏽

Ref. from: https://github.com/mapbox/XcodeClangFormat/issues/1 Worked on my system: OSX 10.11.6, Xcode Version 8.0 (8A218a)