How to rebuild development pod changes?
I had the same issue with Xcode 10.0 (10A255). Changing back to the legacy build system (in File -> Project/Workspace Settings) worked for me to resolve the issue for now, until this is fixed by either Cocoapds or Xcode.
As a workaround I've been manually "cleaning" out my development pods.
- In the
Pods
project openProducts
select the development pod framework(s) - In the inspector on the right I select the arrow which opens Finder
- Delete the framework(s)
- Build/Run
Hope that helps, and that Apple fixes this soon...
P.S. Will definitely be writing a simple script to do this.
Update 9/25/18
Also seems like sometimes I must delete the Intermediate build(s) as well.
Update 9/23/19
Looks like it was fixed in CocoaPods 1.8.0 (Wow, it been a whole year...)
While Changing back to the legacy build system works, the build time might increase in some large projects. An alternate solution is to add this run script find "${SRCROOT}/Pods" -type f -name *frameworks.sh -exec bash -c "touch \"{}\"" \;
to touch all framework scripts under your project's Build Phases->Embed Pods Framework. This should pickup your new changes until this bug is fixed.
I'm using to below.
Product -> Schemes -> EditScheme -> Build -> Add a development Pods ("+" sign)