Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Perhaps xcodebuild clean should run before xcodebuild #250

Closed
pdcgomes opened this issue Apr 2, 2015 · 2 comments
Closed

Perhaps xcodebuild clean should run before xcodebuild #250

pdcgomes opened this issue Apr 2, 2015 · 2 comments

Comments

@pdcgomes
Copy link

pdcgomes commented Apr 2, 2015

Hey guys,

I've been seeing a weird issue when installing XCActionBar via Alcatraz where the build process will fail to copy over the required nib files.

I doesn't seem like you run xcodebuild clean before re-building the project, and doing so seems to solve the issues I'm seeing - wouldn't it make sense to add that step? Any particular reason why you're not going it?

Thanks.

@benoitsan
Copy link
Contributor

Hi,

have the same issue with my plugin BBUncrustifyPlugin.

Steps to reproduce the issue:

  1. Build the plugin from the sources.
  2. The xib should be copied as expected: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/UncrustifyPlugin.xcplugin/Contents/Resources/XCFPreferencesWindowController.nib
  3. Remove the plugin in Alcatraz.
  4. Reinstall the plugin in Alcatraz.
  5. The xib file is now missing.
  6. If I build again the plugin from the sources, the xib is no more copied. I need to peform a "Clean Build Folder" in Xcode in order to see the xib copied correctly.

As @pdcgomes said, I think that cleaning is needed because Xcode fails to do the incremental copy.

supermarin added a commit that referenced this issue May 22, 2015
clean the build directory when executing xcodebuild for issue #250
@supermarin
Copy link
Collaborator

Fixed in #261

gmdfalk pushed a commit to gmdfalk/Alcatraz that referenced this issue Jul 2, 2015
* upstream/master:
  update changelog
  updated install script for version 1.1.6
  bump version to 1.1.6
  seems like aligning is hard
  Add Xcode 6.4 support
  Fix typo s/proggress/progress/
  Update install.sh
  Added Xcode 7 UUID
  Smooths ATZFillableButton's text color change
  Fixes package thumnails mixups on cell reusal and started sharing the same image cache for both thumbnails and screenshots.
  updated install script for version 1.1.5
  bump version to 1.1.5
  update changelog
  extract string constants
  clean the build directory when executing xcodebuild for issue alcatraz#250
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants